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
prophet_dna
New Member
New Member



Joined: Oct 02, 2005
Posts: 15

PostPosted: Sat May 19, 2007 6:56 pm Reply with quote

Well after much searching and reading on the forum I still am not able to get my banners to do what they need to do. Right now it is smack dab in the middle and I can not get it to align to the right of the logo. Any help please!!!
[ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message
Nukeum66
Life Cycles Becoming CPU Cycles



Joined: Jul 30, 2003
Posts: 551
Location: Neurotic, State, USA

PostPosted: Sat May 19, 2007 8:29 pm Reply with quote

try moving this
Code:
<a href="index.php?op=ad_click&amp;bid=1" target="_blank"><img src="http://www.magnumforums.net/images/banners/advertisbanner.jpg" border="0" alt="Advertise Today!" title="Advertise Today!" /></a></center>


down to here
Code:
=ads(0);

_________________
Scott Johnson MIS Ubuntu/Linux 11.10 
View user's profile Send private message Visit poster's website
prophet_dna







PostPosted: Sat May 19, 2007 8:53 pm Reply with quote

Nukeum66 wrote:
try moving this
Code:
<a href="index.php?op=ad_click&amp;bid=1" target="_blank"><img src="http://www.magnumforums.net/images/banners/advertisbanner.jpg" border="0" alt="Advertise Today!" title="Advertise Today!" /></a></center>


down to here
Code:
=ads(0);


Thanks that might work but won't it only be a temp. fix? I am also trying to get the banners to rotate.
 
Nukeum66







PostPosted: Sat May 19, 2007 9:06 pm Reply with quote

man i'm sorry i was thinking you were just trying to ad a banner there, i was not thinking about the banner system.
 
Nukeum66







PostPosted: Sat May 19, 2007 9:08 pm Reply with quote

hang on for a few mins. and i'll see if i can help you out.. Smile
 
Nukeum66







PostPosted: Sat May 19, 2007 9:19 pm Reply with quote

open your theme/header.php and place this in the area I pointed out in the first post

Code:
$showbanners &nbsp;
 
prophet_dna







PostPosted: Sun May 20, 2007 11:13 am Reply with quote

Nukeum66 wrote:
open your theme/header.php and place this in the area I pointed out in the first post

Code:
$showbanners &nbsp;


Thank you but no go.... that was what the orginal code had. I changed it after searching this forum for solutions. I am going to upload one of the orginal themes from the package and see if it is the theme....
 
prophet_dna







PostPosted: Sun May 20, 2007 11:32 am Reply with quote

Uploaded fisubice that came with the package and still no go.... am I the only one with this problem?
 
Nukeum66







PostPosted: Sun May 20, 2007 1:00 pm Reply with quote

you're using fiapple theme
 
Nukeum66







PostPosted: Sun May 20, 2007 1:03 pm Reply with quote

Zip and send me the theme you are using on your site, so I can see whats going on.... Smile I'll pm you my email
 
prophet_dna







PostPosted: Sun May 20, 2007 3:27 pm Reply with quote

Nukeum66 wrote:
Zip and send me the theme you are using on your site, so I can see whats going on.... Smile I'll pm you my email


Thanks... info sent!
 
Nukeum66







PostPosted: Sun May 20, 2007 4:37 pm Reply with quote

You are using the default banner module ....... right?
If you are I found the problem just replace the theme.php with the original theme.php.

If not please tell me what banner module you are trying to use.
 
prophet_dna







PostPosted: Sun May 20, 2007 4:46 pm Reply with quote

Nukeum66 wrote:
You are using the default banner module ....... right?
If you are I found the problem just replace the theme.php with the original theme.php.

If not please tell me what banner module you are trying to use.


Yup using the original banner module. I will replace it with the orginal I sent you. What was the problem?
 
prophet_dna







PostPosted: Sun May 20, 2007 4:48 pm Reply with quote

prophet_dna wrote:
Nukeum66 wrote:
You are using the default banner module ....... right?
If you are I found the problem just replace the theme.php with the original theme.php.

If not please tell me what banner module you are trying to use.


Yup using the original banner module. I will replace it with the orginal I sent you. What was the problem?


Done... still no banners... I am stuck... have no idea what is wrong...
 
Nukeum66







PostPosted: Sun May 20, 2007 5:00 pm Reply with quote

well at least there not in the middle of the header now! ... lol!

Did you create a client for this banner in banners admin area?
Are the banners active in the banners admin area?
 
montego
Site Admin



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

PostPosted: Sun May 20, 2007 5:24 pm Reply with quote

The banner module that is in RavenNuke(tm) 2.10.00 is from PHP-Nuke 7.9 or 8.0 (cannot remember which). It was more advanced than the original 7.6 version so a command decision was made to replace it.

You simply place the ads using the ads() function. For example, for ads that are for position '0', you would use ads(0). For position '1' ads, use ads(1). Etc...

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







PostPosted: Sun May 20, 2007 7:39 pm Reply with quote

Nukeum66 wrote:
well at least there not in the middle of the header now! ... lol!

Did you create a client for this banner in banners admin area?
Are the banners active in the banners admin area?


Banners are active. When I put them in the left block they show up. For whatever reason they will not show up in the header.
 
prophet_dna







PostPosted: Sun May 20, 2007 7:47 pm Reply with quote

montego wrote:
The banner module that is in RavenNuke(tm) 2.10.00 is from PHP-Nuke 7.9 or 8.0 (cannot remember which). It was more advanced than the original 7.6 version so a command decision was made to replace it.

You simply place the ads using the ads() function. For example, for ads that are for position '0', you would use ads(0). For position '1' ads, use ads(1). Etc...


So in header.html should I change?

$showbanners &nbsp;

to

ads(0);

I just want to make sure....
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun May 20, 2007 8:41 pm Reply with quote

No, $showbanners is correct. But in theme.php, the code to generate that variable needs to be replaced with
Code:


$showbanners = ads(0);

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
prophet_dna







PostPosted: Thu May 24, 2007 10:21 pm Reply with quote

evaders99 wrote:
No, $showbanners is correct. But in theme.php, the code to generate that variable needs to be replaced with
Code:


$showbanners = ads(0);


In theme.php I replaced...

Code:
$showbanners = "<a href=\"banners.php?op=click&bid=$bid\" target=\"_blank\"><img src=\"$imageurl\" border=\"0\" alt='$alttext' title='$alttext'></a>&nbsp;"; 


With...

Code:
$showbanners = ads(0); 


and still no go. Was this correct?
 
evaders99







PostPosted: Fri May 25, 2007 7:19 am Reply with quote

That should be all if you're using the latest RavenNuke, your theme uses the $showbanners variable in the header.html template, and you've set a banner using the Advertising module to position 0
 
prophet_dna







PostPosted: Fri May 25, 2007 9:43 am Reply with quote

evaders99 wrote:
That should be all if you're using the latest RavenNuke, your theme uses the $showbanners variable in the header.html template, and you've set a banner using the Advertising module to position 0


I am using RVN v2.10.0 is this the latest version?

The advertising module is set to zero and working. If you visit the site you can see under the center block titled test the banner shows up there. I just can't seem to make it work in the header right next to the logo... this is getting frustrating....
 
evaders99







PostPosted: Fri May 25, 2007 9:12 pm Reply with quote

Where is the $showbanners variable placed in your themes header template: header.html
 
prophet_dna







PostPosted: Fri May 25, 2007 11:32 pm Reply with quote

evaders99 wrote:
Where is the $showbanners variable placed in your themes header template: header.html


This forum doesn't allow me to post the complete tags. Here is part in the header.html file..

Code:
<td width="40%">$showbanners &nbsp;</td>
 
prophet_dna







PostPosted: Sun May 27, 2007 12:43 am Reply with quote

Anyone else have any ideas?
 
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 ©