vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=107965

dartworth 05 Mar 2006 17:31

thanks...:)

busybeeburns 06 Mar 2006 16:24

Hi

I seem to be having trouble with the FORUMDISPLAY integration - the code seems to be working as there is a correct layout at the top of the forum, but the google adsense banner does not show.

NeutralizeR 06 Mar 2006 16:31

Quote:

Originally Posted by busybeeburns
Hi

I seem to be having trouble with the FORUMDISPLAY integration - the code seems to be working as there is a correct layout at the top of the forum, but the google adsense banner does not show.

Try removing the google_alternate_ad_url = "http://www.yourwebsite.com/collapsible_ad.html"; line to test...

markbolyard 06 Mar 2006 16:31

Remember however if you have multiple areas for which you are showing adsense on one page, but google doesn't have enough ads to fill all the spots based on your content, then that area will be blank. Give Google a little time to optimize it's ads for your content, then the ads will most likely show unless your forum content is so obscure that there are not many advertisers in that area.

busybeeburns 06 Mar 2006 16:58

Ah thanks Mark, I realised it was because I already had a landscape banner at the top. Removing it allowed the FORUMDISPLAY banner to work. :)

Blaine0002 10 Mar 2006 14:57

i can make as much of it into a plugin as possible if you guys want :)

djr 13 Mar 2006 02:39

Very useful info here, thanks for the tutorial!

m_k 15 Mar 2006 18:20

great information - thanks for sharing this NeutralizeR...

I have tried out most of the ideas, and have settled on using the forumdisplay ads and the two for search results

forumdisplay is working great, but for some reason search results just comes back with collapsible ads all the time - I cut and pasted the code exactly, so can't figure out what isn't working

NeutralizeR 15 Mar 2006 21:23

Quote:

Originally Posted by m_k
great information - thanks for sharing this NeutralizeR...

I have tried out most of the ideas, and have settled on using the forumdisplay ads and the two for search results

forumdisplay is working great, but for some reason search results just comes back with collapsible ads all the time - I cut and pasted the code exactly, so can't figure out what isn't working

:) try different searches... it'll be enough to see the ads once...
Quote:

Originally Posted by markbolyard
Remember however if you have multiple areas for which you are showing adsense on one page, but google doesn't have enough ads to fill all the spots based on your content, then that area will be blank. Give Google a little time to optimize it's ads for your content, then the ads will most likely show unless your forum content is so obscure that there are not many advertisers in that area.


post bit legacy
by raagaswaram
16 Mar 2006 01:27

everything works fine except the postbitlegacy part i inserted the code but itz not displaying?

Reef 16 Mar 2006 02:10

Excellent post NeutralizeR

I have a small problem though.... For some reason no matter what I try, only one add will display on any page.. If I add a second one anywhere it will not appear..

Any idea what that might be?

EDIT: nevermind I just now saw your explaination above... Sorry I missed it before

I will wait to see if they will populate later on

Thanks for the great work with this

hotrod1 19 Mar 2006 02:27

Excellent article, thanks alot!

Adsense - Show Single Post
by NeutralizeR
19 Mar 2006 04:49

If you allow search engines to spider the single versions of your posts (This post, for example... showpost.php), you may want to use adsense ads on this template, too. I think you don't want to miss any possible renevue...

Open your SHOWTHREAD_SHOWPOST template: vBulletin AdminCP > Styles & Templates > Edit Templates > Show Thread Templates > SHOWTHREAD_SHOWPOST

Find:

Quote:

$postbits
Add above:
Quote:

<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="alt1" align="center">
&nbsp;<script type="text/javascript"><!--
google_ad_client = "youradsensecode";
google_alternate_ad_url = "http://www.yourwebsite.com/collapsible_ad.html";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="yourchannelcode";
google_color_border = "F5F5FF";
google_color_bg = "F5F5FF";
google_color_link = "FF0000";
google_color_url = "000000";
google_color_text = "22229C";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>&nbsp;
</td>
</tr>
</table>
(Or just the <script> section if you don't want the table.)

You can also add this code after $postbits if you want a second ad unit.

zkilzz 20 Mar 2006 19:37

Quote:

Originally Posted by Blaine0002
i can make as much of it into a plugin as possible if you guys want :)

Hey!
I really want a plugin! Is it fare away?

Marius

thecool 28 Apr 2006 15:34

Is there a way to place the ads randomly within the ForumDisplay as opposed to the first and last post?

similar to this:
http://www.aywe.com/news-announcements/


All times are GMT. The time now is 13:59.

Powered by vBulletin® Version 3.8.14
Copyright © 2023, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.