Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues
Author Message
jlajax
Ardent RavenCMS Supporter



Joined: Oct 12, 2006
Posts: 244
Location: Jacksonville, Florida

PostPosted: Fri Apr 27, 2007 6:29 am Reply with quote

Greetings good people,

I have modded Deep Blue to my tastes. I renamed the theme and all is good to go. The left block ads are working fine. The top banners however have stopped working. It still works in the deep Blue theme however it does not function in my modded version. I have compared the original theme.php to my modded one and for the life of me I see no differences. Where besides

Code:
/************************************************************/

/* Function themeheader()                                   */
/************************************************************/

function themeheader() {
    global $banners, $sitename;
    echo "<body bgcolor=\"#0E3259\" text=\"#000000\" link=\"0000ff\">"
   ."<br>";
    if ($banners) {
   include("banners.php");
   echo "<br>";
    }


would I look for an error? This segment of code looks identical to the original. I have gone line by line and either have missed or cannot find any other reference to banner diplay. Thanks
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Fri Apr 27, 2007 6:48 am Reply with quote

That code does not look like it came from RavenNuke(tm) 2.10.00 version. Maybe it is an earlier version??? I am looking at themes/DeepBlue/index.php right now and that function and it does not start out like that. Mine has:

Code:


function themeheader() {
    global $banners, $sitename;
    echo '<body bgcolor="#0E3259" text="#000000" link="#0000ff"><br />';
    if ($banners) {
        echo ads(0);
        echo '<br />';
    }



The banner system was upgraded to the Advertising module from PHP-Nuke 8.0/7.9.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
jlajax







PostPosted: Fri Apr 27, 2007 7:06 am Reply with quote

You da man. I had modded and copied/uploaded it from nuke 7.7 which I used to use I compared theme.php from the original which I had copied along with everything else when I started modding. Never considered the code changed in RN version. Many Many thanks for a quick simple solution. It works now.

RavensScripts


Last edited by jlajax on Fri Apr 27, 2007 7:12 am; edited 1 time in total 
montego







PostPosted: Fri Apr 27, 2007 7:11 am Reply with quote

That's what we're here for. Wink Glad to help.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©