The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
could I put this in my header template to randomize adsense+my own banner .gif?
I want to randomly display my adsense script and a banner or two. Could I insert something like this into my header template:
Code:
<?php $number=mt_rand(1, 2); if ($number==1) { include "http://www.volconvo.com/adsense.txt"; } else { include "http://www.volconvo.com/banners.txt"; } ?> Or would you do something else? |
#2
|
|||
|
|||
Placing Google ads in your header will cause them to appear on every page of your site including the registration and control panel pages. Google frowns on that. They emailed me and told me to remove the code from those pages. The reason they found out about it is that I sent out a mass mailing from Vb to all registered users with at least 1 post. Someone couldn't remember their password to unsubscribe themselves from my email list so they became irate and emailed Google saying I was sending unsolicited email.
I wish I could tell you how we coded the ads in without displaying them on those pages, but my server admin took care of that for me. I just noticed your thread and thought I would chime in with the news I had recieved from Google. Good luck. |
#3
|
|||
|
|||
anyone?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|