View Single Post
Old 11-22-2005, 01:31 PM   #1 (permalink)
John Scott
Individualist
 
John Scott's Avatar
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 42,311
iTrader: 3 / 100%
John Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster material
Send a message via AIM to John Scott Send a message via Yahoo to John Scott
PHP: Ads in vBulletin

I was looking into ways of putting ads in vBulletin and found a few.

1. Ads after the first post:

Find postbit_legacy and add this to the very bottom of the page:

PHP Code:
<if condition="$post[postcount] == 1">

$spacer_open
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">

<
table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<
tr>
    <
td class="thead" align="left">Sponsored Links</td>
</
tr>
<
tr>
    <
td class="alt1" align="center">
        
Banner Ad Code Here
    
</td>
</
tr>
</
table>

</
div>
$spacer_close

</if> 

But here is another idea I came up with. (I didn't come up with that last one.)

If you go into vBulletin > Admin Control Panel > Languages and Phrases > Phrase Manager >

You'll find all sorts of phrases used in the forum. Now if you want to put a text link or banner ad everywhere you see the copyright text on the archive, you can do that by going into and editing the vbulletin_copyright file in Global Phrases.

Just add the banner code in there, and voila.

Much easier than finding each occurence of it in the individual pages and placing the code there.

Sample here:

http://www.webmaster-forum.net/archive/index.php/

Bottom of page, "Advertise in v7n" banner.

Also, the three banners across the top of the achive pages, those were done by inserting the banner code in the "View Full Version" Phrase.

John Scott is offline   Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links