Problem Mortgage - Mortgage - Cheap Flights - Credit Cards - Loans

PDA

View Full Version : vBulletin & other forums serving Adsense


Dominic
Sep 11th 2004, 7:16 am
vBulletin donated some licenses for us to use on our charitable sites (yay).

Anyway my question is - NOTE: I don't know a line of .php

I want to add adsense in the top right corner (same as Digital Point), or
Had considered adding a skyscraper on the left.

Does anyone know:

1. Which file to change in vBulletin
2. Where to add the adsense code
3. If any other changes are required

From what I have read in this forum, skyscrapers on the left have a higher click through - has anyone actually implemented 'skyscrapers on the left' in a forum though?

GuyFromChicago
Sep 11th 2004, 7:28 am
Go into your style manager - edit templates - header

Drop in your Adsense code and you should be up and running

joeychgo
Sep 11th 2004, 9:46 am
Google complained when I added it there cause it will be on registration pages and other........


If you want to pm me Dominic, I would be happy to help you out with getting it placed....

digitalpoint
Sep 11th 2004, 10:36 am
You can put it in the header, just make sure you check for the PHP file in use and don't show it on the registration or login pages.

Dominic
Sep 11th 2004, 10:57 am
Thanks - I followed GuyFromChicago's instructions and have PM'd joeychgo for some help ensuring I address the issues raised by DigitalPoint.

This really is the best forum online - thanks for your quick reply and help.

NewComputer
May 9th 2005, 8:12 pm
I know this thread is really old, but I could use some help getting the adsense placed after the first post in a thread and not on the registration pages. I will keep hunting on Google. Someone has to have the code somewhere, don't they?

Blogmaster
May 9th 2005, 8:30 pm
I know this thread is really old, but I could use some help getting the adsense placed after the first post in a thread and not on the registration pages. I will keep hunting on Google. Someone has to have the code somewhere, don't they?
Please post it in here, I want to know as well :)

Rik
May 9th 2005, 8:32 pm
Edit this template:

Admin CP -> Styles & Templates -> Style Manager -> « » -> Postbit Templates -> postbit or postbit_legacy (depending on which layout you are using)

Add this code to the very bottom of the template:


<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">Advertisement</td>
</tr>
<tr>
<td class="alt1" align="center">
Your Adsense Code HERE
</td>
</tr>
</table>

</div>
$spacer_close

</if>


Replace the Red part with your own adsense code.

NewComputer
May 9th 2005, 8:44 pm
I was actually just perusing the web as well and heard that if you can integrate it into your archive, the click through is way higher. I have seen a few ideas, this one seems to be the best so far:

http://www.theadminzone.com/forums/showthread.php?t=3776

I have tried it out, seems decent. One of the mods is not working for 3.0.7... so if someone wants to take a crack at it...

noppid
May 9th 2005, 8:50 pm
I posted the code to use adsense in the header on vbwebmaster. It's a template conditional.

Gede
May 10th 2005, 4:13 am
After reading this thread I had to dive into phpBB to solve the registration and login page adsense problem.

Here is the result:


Adsense and phpBB (http://www.vierstra.com/forum/forum-subject.php/t/2754)

I know its doesn't help you vb users.. but anyway....

joeychgo
May 10th 2005, 12:15 pm
Making the most of Google Adsense (http://www.vbwebmaster.com/forums/showthread.php?t=519)



-

NewComputer
May 10th 2005, 12:20 pm
I love your forum Joey. I just found it last night, but it fantastic. I am going to spread the word (starting now! :) )

joeychgo
May 10th 2005, 1:23 pm
I hope you do!

Im really trying to build a forum specific to vBulletin (http://www.vbwebmaster.com) admins to help them learn about things like SEO, Adsense, marketing, etc. The more advanced stuff.

We have a few hundered members but need more and need everyone active. We;re running a contest right now where you can Win A Free Year of Hosting (http://www.vbwebmaster.com/forums/showthread.php?p=3543#post3543).

Not some cheapo hosting either - 1000 Meg Storage and 25 Gig Bandwidth a month for a whole year!


-

paymentapprovaltooslow
May 11th 2005, 9:39 am
I hope you do!

Im really trying to build a forum specific to vBulletin (http://www.vbwebmaster.com) admins to help them learn about things like SEO, Adsense, marketing, etc. The more advanced stuff.

We have a few hundered members but need more and need everyone active. We;re running a contest right now where you can Win A Free Year of Hosting (http://www.vbwebmaster.com/forums/showthread.php?p=3543#post3543).

Not some cheapo hosting either - 1000 Meg Storage and 25 Gig Bandwidth a month for a whole year!


-

Yea, that is some good advice. Good luck there.

noppid
May 11th 2005, 11:27 am
Yea, that is some good advice. Good luck there.

Do you care to elaborate or are you just trying to be a dick?

Because if you're trying to be a dick, say what you mean, mean what you say, and sign it. Don't make a pussy insinuation and walk away without elaborating.

joeychgo
May 11th 2005, 12:07 pm
Yea, that is some good advice. Good luck there.



Whats good advice? Or is noppid right?

paymentapprovaltooslow
May 11th 2005, 12:22 pm
No ipod.. i wasn't try ot start shit

joeychgo
May 11th 2005, 1:21 pm
Ok, so what did you mean, cause I didnt really understand then?

alang
May 12th 2005, 8:31 am
@ delong - where are you from? I read all your post, entertaining but I don't get a point of it

Cyclops
May 12th 2005, 5:34 pm
With his limited English he is trying to say that Joeys vBulletin forum is good, that it is full of excellent advice for those running a vBulletin Forum....even I read that in his post :)

noppid
May 12th 2005, 5:37 pm
With his limited English he is trying to say that Joeys vBulletin forum is good, that it is full of excellent advice for those running a vBulletin Forum....even I read that in his post :)


Thanks for clearing that up. Language barriers are a pain.

BTW anyone want a free ipod? :D