View Full Version : Advertisement Box Under Forums
Win2k3xp
10-25-2006, 10:00 PM
This Mod Will Ad a advertisement box under the forums.
There is a live preview Here (http://www.dzgforum.com) just above the whos online box or ive attached a screenshot.
Install
In Template FORUMHOME search for:
$forumhome_markread_script
Under This Add:
<!-- Adverts: -->
<table width="100%" height="100" border="0" align="center" cellpadding="6" cellspacing="1" class="tborder">
<thead>
<tr>
<td height="20" colspan="2" align="center" class="thead">Advertisements
</tr>
</thead>
<tbody>
<tr>
<td colspan="2" align="center" class="alt2">
INSERT AD CODE HERE
</td>
</tr>
</tbody>
</table>
<br />
<!-- Adverts: -->
Where it says INSERT AD CODE HERE place the add code or image there
Remember Click https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=130013)
Win2k3xp
10-26-2006, 02:08 PM
Reserved!
Zowners
10-26-2006, 10:33 PM
very nice simple mod!
Hornstar
10-27-2006, 04:39 AM
Thanks simple but effective.
Win2k3xp
10-27-2006, 07:34 AM
Thanks Guys! :laugh:
dnclub.org
10-27-2006, 08:02 PM
installed !
smoknz28
10-29-2006, 07:23 PM
Installed....thanks for sharing. ;)
tekstylez
11-03-2006, 08:06 PM
can this be conditioned to certain usergroups?
Win2k3xp
11-04-2006, 04:30 PM
To display adds to certain user groups use this code
<if condition="!is_member_of($bbuserinfo, 6,7,7)">
<!-- Adverts: -->
<table width="100%" height="100" border="0" align="center" cellpadding="6" cellspacing="1" class="tborder">
<thead>
<tr>
<td height="20" colspan="2" align="center" class="thead">Advertisements
</tr>
</thead>
<tbody>
<tr>
<td colspan="2" align="center" class="alt2">
INSERT AD CODE HERE
</td>
</tr>
</tbody>
</table>
<br />
<!-- Adverts: -->
</if>
Replace the numbers in BOLD with the usergroups you DO NOT want to see the ads
kollam003
05-25-2007, 10:17 AM
thanks installed
rooban12
05-29-2007, 09:53 AM
not working for my forum
www.lovetack.com
LjubavnaZona
08-05-2007, 01:28 AM
I love it :)
Perfect. Installed.
Alibi
08-10-2007, 11:37 AM
installed and works great Thanks!
bigraph
08-10-2007, 10:50 PM
reserved, thx!
momo2
08-28-2007, 06:17 PM
very nice but is there any way to get rid of the Gap betwen the what's going on there is a like half of inch empty space I like it to be closer so it will look better..
FallenMorgan
09-01-2007, 06:40 PM
Yeah, it looks better than trying to edit templates with the CSS knowledge of a five year old.
thanks
James Argo
09-16-2007, 04:41 PM
very nice but is there any way to get rid of the Gap betwen the what's going on there is a like half of inch empty space I like it to be closer so it will look better..
Just remove
<br />
<br />
below
<!-- /main -->
You can find it below the advert code. You'll get the idea of the use of br code around there.
* James Argo clicked Installed! :up:
James Argo
09-16-2007, 04:55 PM
I find it's also easy to put it above the forum.
Find <body>
$header
$navbar
And paste the code below it.
BTW, thanks alot Win2k3xp!
This mod rocks! :cool:
;)
Jaymz
jacq008
06-23-2008, 07:05 PM
I used the template edit, which is great, but I'm beginner and am not sure what an AD code is. I have tried a few different things (putting the picture in) but it just ended up in writing, not shown as an AD. Can you help?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.