PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
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 Back to top

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 to the forums!
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 Back to top

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);
View user's profile Send private message Visit poster's website
prophet_dna
New Member
New Member


Joined: Oct 02, 2005
Posts: 15

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

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.
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 9:06 pm Reply with quote Back to top

man i'm sorry i was thinking you were just trying to ad a banner there, i was not thinking about the banner system.
View user's profile Send private message Visit poster's website
Nukeum66
Life Cycles Becoming CPU Cycles


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

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

hang on for a few mins. and i'll see if i can help you out.. Smile
View user's profile Send private message Visit poster's website
Nukeum66
Life Cycles Becoming CPU Cycles


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

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

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

Code:
$showbanners &nbsp;
View user's profile Send private message Visit poster's website
prophet_dna
New Member
New Member


Joined: Oct 02, 2005
Posts: 15

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

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....
View user's profile Send private message
prophet_dna
New Member
New Member


Joined: Oct 02, 2005
Posts: 15

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

Uploaded fisubice that came with the package and still no go.... am I the only one with this problem?
View user's profile Send private message
Nukeum66
Life Cycles Becoming CPU Cycles


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

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

you're using fiapple theme
View user's profile Send private message Visit poster's website
Nukeum66
Life Cycles Becoming CPU Cycles


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

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

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
View user's profile Send private message Visit poster's website
prophet_dna
New Member
New Member


Joined: Oct 02, 2005
Posts: 15

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

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!
View user's profile Send private message
Nukeum66
Life Cycles Becoming CPU Cycles


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

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

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.
View user's profile Send private message Visit poster's website
prophet_dna
New Member
New Member


Joined: Oct 02, 2005
Posts: 15

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

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?
View user's profile Send private message
prophet_dna
New Member
New Member


Joined: Oct 02, 2005
Posts: 15

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

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...
View user's profile Send private message
Nukeum66
Life Cycles Becoming CPU Cycles


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

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

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?
View user's profile Send private message Visit poster's website
montego
Site Admin


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

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

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...
View user's profile Send private message Visit poster's website
prophet_dna
New Member
New Member


Joined: Oct 02, 2005
Posts: 15

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

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.
View user's profile Send private message
prophet_dna
New Member
New Member


Joined: Oct 02, 2005
Posts: 15

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

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....
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

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

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

$showbanners = ads(0);
View user's profile Send private message Visit poster's website
prophet_dna
New Member
New Member


Joined: Oct 02, 2005
Posts: 15

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

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?
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

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

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
View user's profile Send private message Visit poster's website
prophet_dna
New Member
New Member


Joined: Oct 02, 2005
Posts: 15

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

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....
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

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

Where is the $showbanners variable placed in your themes header template: header.html
View user's profile Send private message Visit poster's website
prophet_dna
New Member
New Member


Joined: Oct 02, 2005
Posts: 15

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

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>
View user's profile Send private message
prophet_dna
New Member
New Member


Joined: Oct 02, 2005
Posts: 15

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

Anyone else have any ideas?
View user's profile Send private message
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum