Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
klaasv
New Member
New Member



Joined: Aug 20, 2011
Posts: 6

PostPosted: Wed Jan 16, 2013 3:53 am Reply with quote

How can I put an banner with the advertising module in the header.html of the fisubice theme.

What code must I put after the $showbanners.

I saw it works on this site but I can not get it done. Embarassed
 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Thu Jan 17, 2013 2:19 pm Reply with quote

In the advertising module, you need to add your banner and assign it to position 0
Don't forgtet you also need to turn advertising on within the site preferences.
 
View user's profile Send private message Send e-mail
klaasv







PostPosted: Fri Jan 18, 2013 2:44 am Reply with quote

Guardian when I do this I have a banner at top of the website, I want a banner with the advertising module in the html header.Just like ravenphpscripts.com.

When I change the advertising 0 in 1 I still got a top page banner.
 
Guardian2003







PostPosted: Fri Jan 18, 2013 6:49 pm Reply with quote

OK I will try and look at this for you when I wake up tomorrow (it is 2am here now). I will need to install the theme because I removed all of them except 2 on my website.
Have you made any changes to the theme at all?
 
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Fri Jan 18, 2013 9:12 pm Reply with quote

All you need to do is open theme.php and find:
Code:


if ($banners == 1) {
      echo ads(0);
          }


and change to:
Code:


if ($banners == 1) {
      echo ads(0);
        $showbanners= ads(1);
   }

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
klaasv







PostPosted: Sat Jan 19, 2013 4:07 am Reply with quote

That is the solution, thanks.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

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 ©