Author |
Message |
mike63740
Worker
Joined: Jun 21, 2010
Posts: 102
|
Posted:
Sat Jan 25, 2014 5:12 am |
|
I might be asking questions that has already been answered in the RNWiki or RNForums.
Can I convert RavenNuke v2.50.00 database files to RavenNuke v2.51.00? Will the conversion filter out all deprecated codes?
These database files were created under the following environment:
phpMyAdmin 4.1.5
MySQL 5.1.55
PHP 5.3.6
My goal is to do a new installation, by deleting the RavenNuke database and all files and folders on the remote server. Then ftp all files and folders under the RavenNuke v2.51.00 html directory, and create a new database.
Before uploading, RavenNuke v2.51.00 config.php and rnconfig.php files will be updated, but not replaced.
My local copy of RavenNuke v2.50.00 will be safe. There will be files and folders I expect to ftp for the converted database files.
Thank you. |
|
|
|
|
nuken
RavenNuke(tm) Development Team
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Sat Jan 25, 2014 3:06 pm |
|
The upgrade script only updates the database. You have to manually upload the files to your site. Just follow the upgrade instructions here [ Only registered users can see links on this board! Get registered or login! ] |
_________________ Tricked Out News |
|
|
|
mike63740
|
Posted:
Sat Jan 25, 2014 11:19 pm |
|
I followed the information in my first post above. My first mistake was deleting the ravennuke database. I should had run the /INSTALLATION/rndb_upgrade.php file instead.
So, I imported my original ravennuke database back, and then ran rndb_upgrade.php. It was an error free upgrade. I know I’ve done this before.
Everything looks normal and well except the header. The header has the RavenNuke logo and the advertising ads are above the header.
I’m thinking there is a file I did not edit or move over from my local copy of RavenNuke v2.50.00 to 2.51.00.
What have I not done?
Thank you. |
|
|
|
|
mike63740
|
Posted:
Sun Jan 26, 2014 12:38 am |
|
I’ve notice in Advertising Administration all ads Type is 0 - Page Top, and if I set it to 1 - Page Header ads will not show.
I'm using the same theme as before.
* Theme: Fisubice
In the meantime, I’m looking here for answers:
[ Only registered users can see links on this board! Get registered or login! ] |
|
|
|
|
mike63740
|
Posted:
Sun Jan 26, 2014 3:20 am |
|
This fixed the logo:
[ Only registered users can see links on this board! Get registered or login! ]
It looks the same, It looks good. |
|
|
|
|
mike63740
|
Posted:
Sun Jan 26, 2014 4:02 am |
|
I created a new ad and gave it the 1 - Page Header type. It let me down, no show.
Then I changed the type to 0 - Page Top. It appeared on top nice and neat, but not for me. |
|
|
|
|
neralex
Site Admin
Joined: Aug 22, 2007
Posts: 1774
|
Posted:
Sun Jan 26, 2014 4:50 am |
|
mike63740, for sure because in your theme.php, function themeheader, is ads(0) defined. Sou you need only change the value from 0 to 1.
php Code: if ($banners == 1) {
echo ads(1);
}
|
|
_________________ Github: RavenNuke |
|
|
|
mike63740
|
Posted:
Sun Jan 26, 2014 5:00 am |
|
All ads are appearing on top of the header. |
|
|
|
|
neralex
|
Posted:
Sun Jan 26, 2014 5:09 am |
|
try this:
php Code: if ($banners == 1) {
echo ads(0);
$showbanners = ads(1);
}
|
|
|
|
|
|
mike63740
|
Posted:
Sun Jan 26, 2014 5:15 am |
|
Yes, it works just fine.
Thank you. |
|
|
|
|
mike63740
|
Posted:
Sun Jan 26, 2014 5:29 am |
|
I notice that my old theme.php file don’t have echo ads(0);, but $showbanners= ads(0); instead.
Thanks again. |
|
|
|
|
|