Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help
Author Message
Gabe
Regular
Regular


Joined: Oct 30, 2005
Posts: 62

PostPosted: Sun Dec 18, 2005 11:40 am Reply with quote

ok my site is Only registered users can see links on this board! Get registered or login! and I would like to put a ad image next to my sites banner on the right side of it. How would I do this?
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sun Dec 18, 2005 6:17 pm Reply with quote

well this can be confusing...
your nuke comes with a banner system.
it will show the banner exactly where you want to put your ad.
go to your administration,click banners and create a client,then ad a banner for it....
 
View user's profile Send private message
VinDSL
Life Cycles Becoming CPU Cycles


Joined: Jul 11, 2004
Posts: 614
Location: Arizona (USA) Admin: NukeCops.com Admin: Disipal Designs Admin: Lenon.com

PostPosted: Sun Dec 18, 2005 9:02 pm Reply with quote

What I would do is add the code to my 'theme.php' file. That would probably be the easiest...

This sort of stuff can be a little tricky, depending on the configuration of your site, what theme you're using, and so forth, but you should have a file called:

/themes/[Theme Name]/theme.php

In that file, you should find a function called:

function themeheader()

In that section, you should be about to add code to place an ad next to your logo.

Of course, this will only work for a single theme. If you use multiple themes, then the solution will be more problematic. In that case, I would probably do it through 'header.php', but that would necessitate the use of a bunch of 'if else' statements...

Heh! Does that make sense?

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: Only registered users can see links on this board! Get registered or login! | Only registered users can see links on this board! Get registered or login! ::. 
View user's profile Send private message Visit poster's website ICQ Number
hitwalker
PostPosted: Mon Dec 19, 2005 5:53 am Reply with quote

well vin this is getting confusing...
as he wrote his site is Only registered users can see links on this board! Get registered or login! you could see he uses theme DAJ_Glass.
that works with html files.
looking at his header...he placed an image/banner on the top/left.
so reading what he wants makes me believe....that he wants an ad on the right of that....,that would be the place the banner normaly shows.
So that explains my reply..
but if he wants to put something else there on the right he can use this...
open in themes/DAJ_Glass/header.html and look for..$showbanners
and just before that put this....

<img border="0" src="themes/DAJ_Glass/images/otherimage.gif" align="right">$showbanners
 
Gabe
PostPosted: Tue Dec 20, 2005 12:09 pm Reply with quote

hitwalker wrote:
well vin this is getting confusing...
as he wrote his site is Only registered users can see links on this board! Get registered or login! you could see he uses theme DAJ_Glass.
that works with html files.
looking at his header...he placed an image/banner on the top/left.
so reading what he wants makes me believe....that he wants an ad on the right of that....,that would be the place the banner normaly shows.
So that explains my reply..
but if he wants to put something else there on the right he can use this...
open in themes/DAJ_Glass/header.html and look for..$showbanners
and just before that put this....

<img border="0" src="themes/DAJ_Glass/images/otherimage.gif" align="right">$showbanners

That works but it put it like far to the right, it was coming off the theme a little, and did'nt look good. maybe you guys can help me find a good place, its more of a webdesign decission

I have a affiliates ad wich I can use all different sizes of their ads to pick from ones that are big banners and one that are little box ads tht are 80x80. I want to put the ad somewhere on my homepage, the site is Only registered users can see links on this board! Get registered or login! what do you think it a good spot?
 
hitwalker
PostPosted: Tue Dec 20, 2005 1:27 pm Reply with quote

Huh?..
Whats a good spot?
Wouldnt that be your job to say where?

But you can do it like this:

<table border="0" width="100%">
<tr>
<td>
<a href="index.php"><img src="themes/DAJ_Glass/images/logo.jpeg" border="0" /></a>
</td><td><img border="0" src="youradd.gif"></td>
</tr>
</table>

That will show it perfectly..
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help

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 ©