Author |
Message |
Gabe
Regular


Joined: Oct 30, 2005
Posts: 62
|
Posted:
Sun Dec 18, 2005 11:40 am |
|
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? |
|
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Sun Dec 18, 2005 6:17 pm |
|
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.... |
|
|
|
 |
VinDSL
Life Cycles Becoming CPU Cycles

Joined: Jul 11, 2004
Posts: 614
Location: Arizona (USA) Admin: NukeCops.com Admin: Disipal Designs Admin: Lenon.com
|
Posted:
Sun Dec 18, 2005 9:02 pm |
|
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! ::. |
|
 |
 |
hitwalker

|
Posted:
Mon Dec 19, 2005 5:53 am |
|
well vin this is getting confusing...
as he wrote his site is www.alloutcomputers.net 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

|
Posted:
Tue Dec 20, 2005 12:09 pm |
|
hitwalker wrote: | well vin this is getting confusing...
as he wrote his site is www.alloutcomputers.net 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

|
Posted:
Tue Dec 20, 2005 1:27 pm |
|
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.. |
|
|
|
 |
|