vBulletin Mods

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

NeutralizeR 25 Aug 2006 15:23

Quote:

Originally Posted by bbcentral
Great tutorial!
I will use some of the info, but no matter how much money NeutralizeR is making off his forum, nothing will convince me to make my members suffer like that. Sorry man, the site is plain shocking. I care about my members far too much to make them go through an epileptic-fit-inducing experience like your site. My browser struggled to scroll down!
Anyway, at least you've given us lots of examples to check out, very much appreciated! :D

You are welcome :)

Yes, i don't know who visits and registers my web site but they are really insistent on that :P Google likes me...

doushx 26 Aug 2006 18:56

greatly thanks

J-TEK 02 Sep 2006 01:10

Nice work, seems great.

Klaymen TK 02 Sep 2006 23:27

Really [for 1000] great tutorial. Really [for others 1000] thanks!

And your members doesn't even notice your ads anymore?
by NeutralizeR
11 Sep 2006 10:35

And your members doesn't even notice your ads anymore?

Then change the ad colors while keeping the default colors for the visitors.

Quote:

google_color_border = <if condition="$show['guest']">"CDE7FF";<else />["CDE7FF","FFFF00","011160","FF0000"];</if>
google_color_bg = <if condition="$show['guest']">"CDE7FF";<else />["CDE7FF","011160","FFFFE1","FFFFFF"];</if>
google_color_link = <if condition="$show['guest']">"FF0000";<else />["FF0000","FFFF00","FF0000","FF0000"];</if>
google_color_url = <if condition="$show['guest']">"000000";<else />["000000","FFFFFF","000000","000000"];</if>
google_color_text = <if condition="$show['guest']">"0000A0";<else />["0000A0","FFFFFF","0000A0","0000A0"];</if>
Quote:

<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>
Example:
Quote:

<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 = <if condition="$show['guest']">"CDE7FF";<else />["CDE7FF","FFFF00","011160","FF0000"];</if>
google_color_bg = <if condition="$show['guest']">"CDE7FF";<else />["CDE7FF","011160","FFFFE1","FFFFFF"];</if>
google_color_link = <if condition="$show['guest']">"FF0000";<else />["FF0000","FFFF00","FF0000","FF0000"];</if>
google_color_url = <if condition="$show['guest']">"000000";<else />["000000","FFFFFF","000000","000000"];</if>
google_color_text = <if condition="$show['guest']">"0000A0";<else />["0000A0","FFFFFF","0000A0","0000A0"];</if>
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Visitors will always see the ads in their default colors.

Members will see them in four rotating color combinations.


Test Account @ My forum:
Username: Tester
Password: asd123

http://www.msxlabs.org/forum/

VBUsers 11 Sep 2006 23:13

how can i put my google adsense after every first post of a page? when i add it it shows under every post instead of just the first one on that page.

dougeetx 11 Sep 2006 23:21

Quote:

Originally Posted by AR Forums
how can i put my google adsense after every first post of a page? when i add it it shows under every post instead of just the first one on that page.


There's another thread that tells how to do that. Look on my site at http://www.RealityTVFriends.com/forum and you'll see how it works.

VBUsers 11 Sep 2006 23:27

Quote:

Originally Posted by dougeetx
There's another thread that tells how to do that. Look on my site at http://www.RealityTVFriends.com/forum and you'll see how it works.

do you happen to know where the thread is? nice site by the way. hope it goes good for you.

NeutralizeR 12 Sep 2006 05:14

Quote:

Originally Posted by AR Forums
how can i put my google adsense after every first post of a page? when i add it it shows under every post instead of just the first one on that page.

Open your postbit(legacy) template: vBulletin AdminCP > Styles & Templates > Edit Templates > Postbit Templates > postbit(legacy)

(First post and last shown post)

Find:
Quote:

<!-- / message -->
Add below:
Quote:

<if condition="(($post[postcount]==1) and !$GLOBALS['vbulletin']->GPC['ajax'])">
<center>
<script type="text/javascript"><!--
google_ad_client = "youradsensecode";
google_alternate_ad_url = "http://www.yourwebsite.com/collapsible_ad.html";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_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>
</center>
</if>
Save.
http://www.vbulletin.org/forum/showp...30&postcount=7

VBUsers 12 Sep 2006 19:54

Quote:

Originally Posted by NeutralizeR
Open your postbit(legacy) template: vBulletin AdminCP > Styles & Templates > Edit Templates > Postbit Templates > postbit(legacy)

(First post and last shown post)

Find:

Add below:


Save.
http://www.vbulletin.org/forum/showp...30&postcount=7

great post and it works some what but i really wanted to look like a post and on every page in the thread. is there a way to do that?

IngoPan 13 Sep 2006 11:50

Quote:

Originally Posted by AR Forums
great post and it works some what but i really wanted to look like a post and on every page in the thread. is there a way to do that?


maybe try this: http://www.vbulletin.org/forum/showt...ghlight=banner

R.Solutions 16 Sep 2006 07:25

anyway any of this can be converted into 3.6.0?

NeutralizeR 16 Sep 2006 09:17

Quote:

Originally Posted by R.Solutions
anyway any of this can be converted into 3.6.0?

You can use this guide on vb 3.6, too.

R.Solutions 16 Sep 2006 19:44

I tried it, it expands my forums badly. Any way around this.

NeutralizeR 16 Sep 2006 19:50

Quote:

Originally Posted by R.Solutions
I tried it, it expands my forums badly. Any way around this.

Which template did you edit? Which part of the guide did you apply?

Please paste the code here...


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

Powered by vBulletin® Version 3.8.14
Copyright © 2021, 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.