vBulletin Mods

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

add Google adsense to appear as threads in formdisplay page
by khalled
28 Feb 2010 23:17

i want to add Google adsense to appear as threads in formdisplay page i was doing that in vb3.8 by using the following procedure but it didn't work after upgrading to vb4.0.2 suite

HTML Code:

Open your FORUMDISPLAY template: vBulletin AdminCP > Styles & Templates > Edit Templates > Forum Display Templates > FORUMDISPLAY

(First thread)

Find:
Quote:
<if condition="$show['threads']">
Add below:
Quote:
<tr>
<td align="center" class="alt1">-</td>
<td align="center" class="alt2">-</td>
<td class="alt1">
<div>

Google adsense code
</td>

<td class="alt2 smallfont" align="center">Sponsored Links</td>

<td class="alt1" align="center">00</td>
<td class="alt2" align="center">00</td>
<if condition="$show['inlinemod']"><td class="alt1" align="center">-</td></if>

</tr>

also i will thankful if you guide how to add it after stick threads and as end threads

archet1337 01 Mar 2010 01:14

There is already a mod like this working with vB 4.0.2

http://www.vbulletin.org/forum/showthread.php?t=236313

khalled 01 Mar 2010 05:57

Quote:

Originally Posted by archet1337 (Post 1994145)
There is already a mod like this working with vB 4.0.2

http://www.vbulletin.org/forum/showthread.php?t=236313

i sea this mode it's good but the adsense appear as new post in the threads

but i want the code which make ad appear in formdisplay page as threads

ChopSuey 02 Mar 2010 10:55

Your first post is complete copy & paste, also thats vB3 code not vB4.

khalled 04 Mar 2010 00:38

Quote:

Originally Posted by ChopSuey (Post 1995124)
Your first post is complete copy & paste, also thats vB3 code not vB4.

yes i know that is vb3 code i need vb4 code which make the same function

Leo Brazil 04 Mar 2010 19:22

You guys following this one may be interested in checking this one out: http://www.vbulletin.org/forum/showthread.php?t=237502

khalled 05 Mar 2010 20:17

Quote:

Originally Posted by Leo Brazil (Post 1997184)
You guys following this one may be interested in checking this one out: http://www.vbulletin.org/forum/showthread.php?t=237502

very very thanks

khalled 05 Mar 2010 20:22

Quote:

Originally Posted by Leo Brazil (Post 1997184)
You guys following this one may be interested in checking this one out: http://www.vbulletin.org/forum/showthread.php?t=237502

very thanks but there is some minor differnet about what i mean , and i transfer the discussion to your mod thread
http://www.vbulletin.org/forum/showt...17#post1998017


All times are GMT. The time now is 04:51.

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.