Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Bug Fixes
Author Message
DOH_Angler
New Member
New Member


Joined: Oct 31, 2005
Posts: 13

PostPosted: Fri Dec 25, 2009 6:08 pm Reply with quote

I'm using RN 2.4 and the advertising module that comes with it and I would like to add a block on the left that also displays ads

I have spent a lot of time trying to make this happen with no success

Now I’ve tried placing the “echo ads(0);” in the source of a blank block
<?php
echo ads(0);
?>
AS WELL AS
<?php
if ($banners) {
echo ads(0);
}
?>
With no luck

I have seen some post talking about placing this in the theme but all my attempts have failed

I’ve spent a lot of time looking through the forums here as well as many other sites and most posts on this are many years old and are no help this seems like an easy fix but the answer escapes me
 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


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

PostPosted: Fri Dec 25, 2009 6:39 pm Reply with quote

There is already an ads block included with RavenNuke. It uses the ads(1) setting which is the other option in the advertising module admin.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
DOH_Angler
PostPosted: Fri Dec 25, 2009 6:50 pm Reply with quote

I feel like a complete idiot!

I used the block for ads midway down the page and never considered copying it to create another block

Thank you so much for answering so quickly and Merry Christmas!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Bug Fixes

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 ©