Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Sponsored Reviews   High Bandwidth Dedicated Servers   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 11-22-2005, 01:31 PM   #1 (permalink)
CEO, V7 Inc
 
John Scott's Avatar
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 42,618
iTrader: 2 / 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.

__________________
Buy Permanent Contextual Links - V7N Web Directory

Questions? Call V7 toll free @ 1.888.876.8762
John Scott is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 08-22-2006, 01:02 AM   #2 (permalink)
Inactive
 
reteep's Avatar
 
Join Date: 03-20-06
Location: Germany
Posts: 526
iTrader: 0 / 0%
reteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to all
Send a message via ICQ to reteep
Funny, I found this in Google via ' vbulletin banner after first post '.
reteep is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-29-2007, 05:34 PM   #3 (permalink)
Inactive
 
Join Date: 03-29-07
Posts: 1
iTrader: 0 / 0%
Latest Blog:
None

mhbernheim is liked by many
this is awesome, thanks!
mhbernheim is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-30-2007, 04:05 PM   #4 (permalink)
Contributing Member
 
exam's Avatar
 
Join Date: 04-20-06
Posts: 333
iTrader: 0 / 0%
Latest Blog:
None

exam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web pro
Just be sure the phrase you're editing isn't used anywhere else in the forums, or else you'd get some unexpected results. I've always done this by editing the templates and adding the advert code there.
exam is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-17-2007, 06:14 AM   #5 (permalink)
Contributing Member
 
Join Date: 04-16-07
Location: 3rd Planet from the Sun
Posts: 65
iTrader: 0 / 0%
Latest Blog:
None

bin_asc is liked by many
I would still use vBulletin`s custom coding...if I start messing variables, who knows what can go wrong if a mod uses that phrase...
bin_asc is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-20-2007, 11:36 AM   #6 (permalink)
Moderator
 
ToddW's Avatar
 
Join Date: 01-11-04
Location: Folsom
Posts: 2,635
iTrader: 0 / 0%
ToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest orderToddW is a web professional of the highest order
Send a message via AIM to ToddW
A lot of forums have adopted this now and it works good, also works good for the large rectangle adsense ads too.
__________________
Learn about Bear Grylls, Les Stroud, Man Vs. Wild & SurvivorMan at Survival TV Shows
Order Exciting Inspirational Posters from Inspirational Posters at great value.
ToddW is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
vBulletin John Scott Forum Lobby 140 09-21-2004 02:38 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 04:39 AM.
© Copyright 2008 V7 Inc