PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
silicastorm
New Member
New Member


Joined: Jan 15, 2010
Posts: 22
Location: Abu Dhabi, UAE

PostPosted: Wed Feb 03, 2010 11:16 pm Reply with quote Back to top

Currently in a production environment utilizing the phpnuke 8.0 with phpBB 2.0.20.

Now in test environment have a clean install of RN 2.4.0 and need to convert the production database for the forums to Raven.

Please any guidance or assistance would be greatly appreciated.

Best regards,
View user's profile Send private message Visit poster's website
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1364
Location: Texas, USA

PostPosted: Thu Feb 04, 2010 12:14 am Reply with quote Back to top

try this for starters
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
silicastorm
New Member
New Member


Joined: Jan 15, 2010
Posts: 22
Location: Abu Dhabi, UAE

PostPosted: Thu Feb 04, 2010 7:48 am Reply with quote Back to top

Went to the link provided,,, very helpful however the link for downgrade tool is not active:

Quote:
http://www.nukescripts.net/modules.php?name=Downloads&op=getit&lid=100270


Anyone have the link?

Cheers,
View user's profile Send private message Visit poster's website
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1364
Location: Texas, USA

PostPosted: Fri Feb 05, 2010 12:01 pm Reply with quote Back to top

<BUMP>

there are a lot files here
Only registered users can see links on this board!
Get registered or login to the forums!


I took a quick look around but couldn't find it.

anyone know where to get their hands on the downgrade tool (broken link in RN wiki)?
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Fri Feb 05, 2010 12:24 pm Reply with quote Back to top

You could try this. It is for 7.9 to 7.6. Before you do ANYTHING please make sure you have a backup of the database.
Code:

<?php

########################################################
# File to Downgrade from PHP-Nuke 7.8 to PHP-Nuke 7.6  #
# After you used this file, you can safely delete it.  #
########################################################
#            -= WARNING: PLEASE READ =-                #
#                                                      #
# NOTE: This file uses config.php to retrieve needed   #
# variables values. So, to do the upgrade PLEASE copy  #
# this file in your server root directory and execute  #
# it from your browser.                                #
########################################################
#     Made By Platinum @
Only registered users can see links on this board!
Get registered or login to the forums!
      #
#                for Php Nuke Evolution                #
#               
Only registered users can see links on this board!
Get registered or login to the forums!
              #
#                                                      #
########################################################

require_once(dirname(__FILE__) . '/mainfile.php');

$module_name = basename(dirname(__FILE__));

include(dirname(__FILE__) . "/header.php");

global $admin;

if (!is_admin($admin)) {
   OpenTable();
   echo "<center>Access Denied</center>";
   CloseTable();
} else {
   $index = 0;
   
   // Table Removal and alteration for Moderated Comments to drop the karma system
   $db->sql_query("ALTER TABLE ".$user_prefix."_users Drop karma ");
   $db->sql_query("DROP TABLE IF EXISTS ".$prefix."_comments_moderated");
   $db->sql_query("DROP TABLE IF EXISTS ".$prefix."_pollcomments_moderated");
   $db->sql_query("DROP TABLE IF EXISTS ".$prefix."_reviews_comments_moderated");
   
   // News Comments table alteration for moderation system
   $db->sql_query("ALTER TABLE ".$prefix."_comments DROP last_moderation_ip ");
   
   // Surveys Comments table alteration for moderation system
   $db->sql_query("ALTER TABLE ".$prefix."_pollcomments DROP last_moderation_ip ");
   $db->sql_query("ALTER TABLE ".$prefix."_poll_desc DROP comments ");
   
   // Articles rating system Backdate
   $db->sql_query("ALTER TABLE ".$prefix."_stories DROP rating_ip ");
   
   // Topic image field length Decreased
   $db->sql_query("ALTER TABLE ".$prefix."_topics CHANGE topicimage topicimage varchar(20) default NULL");
   
   // Forums Table Backdate *
   $db->sql_query("UPDATE ".$prefix."_bbconfig SET config_value='.0.10' WHERE config_name='version'");
   $db->sql_query("DROP TABLE IF EXISTS".$prefix."_bbsessions session_admin tinyint(2) DEFAULT '0' NOT NULL");
   $db->sql_query("CREATE TABLE ".$prefix."_bbsessions (session_id char(32) NOT NULL default '', session_user_id mediumint(8) NOT NULL default '0', session_start int(11) NOT NULL default '0', session_time int(11) NOT NULL default '0', session_ip char(8) NOT NULL default '0', session_page int(11) NOT NULL default '0', session_logged_in tinyint(1) NOT NULL default '0', PRIMARY KEY  (session_id), KEY session_user_id (session_user_id), KEY session_id_ip_user_id (session_id,session_ip,session_user_id))");
   
   
   // Banners Table Alteration
   $db->sql_query("DROP TABLE IF EXISTS ".$prefix."_banner_positions");
   $db->sql_query("DROP TABLE IF EXISTS ".$prefix."_banner_terms");
   $db->sql_query("DROP TABLE IF EXISTS ".$prefix."_banner_plans");
   $db->sql_query("ALTER TABLE ".$prefix."_banner_clients RENAME nuke_bannerclient");
   $db->sql_query("ALTER TABLE ".$prefix."_banner DROP ad_class , DROP ad_code , DROP ad_width , DROP ad_height ");
   $db->sql_query("ALTER TABLE ".$prefix."_banner CHANGE type position INT( 10 ) DEFAULT '0' NOT NULL");
   $db->sql_query("ALTER TABLE ".$prefix."_banner DROP name");
   $db->sql_query("ALTER TABLE ".$prefix."_banner CHANGE type tinyint(1) NOT NULL default '0'");
   
   
   
   // Tables user field length defixes
   $db->sql_query("alter table ".$prefix."_stories change informant informant varchar(20) NOT NULL default ''");
   $db->sql_query("alter table ".$prefix."_stories change aid aid varchar(30) NOT NULL default ''");
   $db->sql_query("alter table ".$prefix."_autonews change informant informant varchar(20) NOT NULL default ''");
   $db->sql_query("alter table ".$prefix."_autonews change aid aid varchar(30) NOT NULL default ''");
   $db->sql_query("alter table ".$prefix."_reviews change reviewer reviewer varchar(20) default NULL");
   $db->sql_query("alter table ".$prefix."_reviews_add change reviewer reviewer varchar(20) not null default ''");
   
   
   // Countries and Cities Table Drop
   // It's used in the banners system and will be used in the future. Very useful for some modules developers
   
   $db->sql_query("DROP TABLE IF EXISTS nuke_cities");
   
   // PHP-Nuke copyright notice modification. (c) year changed.
   $db->sql_query("UPDATE ".$prefix."_config SET copyright='<a href=\"http://phpnuke.org\"><font class=\"footmsg_l\">PHP-Nuke</font></a> Copyright &copy; 2006 by Francisco Burzi. This is free software, and you may redistribute it under the <a href=\"http://phpnuke.org/files/gpl.txt\"><font class=\"footmsg_l\">GPL</font></a>. PHP-Nuke comes with absolutely no warranty, for details, see the <a href=\"http://phpnuke.org/files/gpl.txt\"><font class=\"footmsg_l\">license</font></a>.'");
   
   
   // PHP-Nuke Version Number Update
   $db->sql_query("UPDATE ".$prefix."_config SET Version_Num='7.6'");
   
   OpenTable();
   
   echo "<br />PHP-Nuke Update finished!<br /><br />"
       ."Your Php Nuke Version is now 7.6<br /><br />"
       ."You should now delete this Downgrade file from your server.<br /><br />";

   CloseTable();
}

include(dirname(__FILE__) . "/footer.php");

?>
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum