PDA

View Full Version : Forum Home Enhancements - Custom Ad Box


mac-warez
10-06-2008, 10:00 PM
This mod was custom made by our other admin.
https://vborg.vbsupport.ru/attachment.php?attachmentid=87846&d=1223410203

It is a custom advertisement placement ad. Use with any other ad management software for vbulletin. We made this code by displacing some of the built in AD hooks in the teplates.

Place this code anywhere in any of your templates you would like to display it in. In this code we use the ad hook for the header.
<!-- ADVERTISEMENT TABLE -->
<br>
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="33" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="33" height="27" alt=" " border="0" /></td>
<td width="22" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/text_ls.gif" width="22" height="27" alt=" " border="0" /></td>
<td width="50%" class="tcat" style="background-image:url($stylevar[imgdir_misc]/cat_top_text_bk.gif)" align="left">


<div align="left" class="smallfont">
<b>Advertisement</b></div>


</td>
<td width="30" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_text_end.gif" width="30" height="27" alt=" " border="0" /></td>
<td width="50%" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_back.gif" width="50%" height="27" alt=" " border="0" /></td>







<td width="10" height="27" align="left" valign="middle"><a style="float:$stylevar[right]" href="#top" onClick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a></td>

<td width="20" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="20" height="27" alt=" " border="0" /></td>
</tr>
</table>
<!-- End top category table setup -->





<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead" width="100%" align="$stylevar[left]">

<!-- content table -->
<center><!--AD Code Here--!>

<!--End Ad Code--!>
</center>
<!-- / content table --></td>
</tr>


</tbody>

</table>
<!-- bottom table setup -->
<div class="ftr_bdr">
<table width="100%" class="thead" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="9"><img src="$stylevar[imgdir_misc]/btm_base.gif" width="100%" height="9" alt=" " border="0" /></td>
</tr>
</table>
</div>

<!-- End bottom table setup -->
<br>
<!-- / ADVERTISEMENT TABLE -->

When you install place this code anywhere. Then replace the <!--AD Code Here--!>

<!--End Ad Code--!>
With your raw ad code. The reason for this is that when you update vbulletin it erases the moved ad hooks. This way you don't have to add the ad hook again.
Please Mark as INSTALLED (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=192952)

This is compatible with vbulletin 3.6x also

Screenshots Added

xxalexkimxx
10-07-2008, 12:30 PM
NO Demo at all?

mac-warez
10-07-2008, 02:08 PM
hold on i'll set up my test board

azyya
10-07-2008, 02:17 PM
demo plz

mac-warez
10-07-2008, 02:22 PM
Hold on i am setting up my test board

mac-warez
10-07-2008, 02:43 PM
OK demo board added

Nikke
10-07-2008, 02:49 PM
No offence but that doesn't look good.

mac-warez
10-07-2008, 02:50 PM
OK look now. It doesn't look good on the default style

Forum Lover
10-07-2008, 05:30 PM
Nice try.. :)

mac-warez
10-07-2008, 05:31 PM
Thanks. Any more people want to install?

Brandon Sheley
10-07-2008, 06:17 PM
no ads on the demo of the warez site either...

worthless

mac-warez
10-07-2008, 06:20 PM
I don't get what your saying

I will put an ad in the box for display purposes only.

Brandon Sheley
10-07-2008, 07:02 PM
I said there was no ads on your demo.
this is an ad placement hack right?

no ads, therefor it's a worthless hack

show some ads or your saying there is no point is adding it..

mac-warez
10-07-2008, 07:08 PM
I just placed a screenshot of it in use with the ads. I had to remove content from them but that is what the box looks like when there would be an ad in it

Adam21
10-08-2008, 01:55 AM
u did not include the cat_top_text_bk.gif and a few others in your attached,u just copy and paste your style codes over only

SEOvB
10-08-2008, 03:39 AM
thats not even the correct code to get vBulletin tables to show correctly, less time pirating and more time reading about vbulletin will help you i beleive.

mac-warez
10-19-2008, 07:55 PM
Code Updated

mac-warez
11-30-2008, 11:50 PM
I recommend using the raw ad code for this. Because when you update vbulletin it erases the hook.

macbooking
07-07-2009, 06:17 PM
lol it's useless