vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   add Google adsense to appear as threads in formdisplay page (https://vborg.vbsupport.ru/showthread.php?t=237136)

khalled 02-28-2010 10:17 PM

add Google adsense to appear as threads in formdisplay page
 
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 03-01-2010 12:14 AM

There is already a mod like this working with vB 4.0.2

https://vborg.vbsupport.ru/showthread.php?t=236313

khalled 03-01-2010 04:57 AM

Quote:

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

https://vborg.vbsupport.ru/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 03-02-2010 09:55 AM

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

khalled 03-03-2010 11:38 PM

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 03-04-2010 06:22 PM

You guys following this one may be interested in checking this one out: https://vborg.vbsupport.ru/showthread.php?t=237502

khalled 03-05-2010 07:17 PM

Quote:

Originally Posted by Leo Brazil (Post 1997184)
You guys following this one may be interested in checking this one out: https://vborg.vbsupport.ru/showthread.php?t=237502

very very thanks

khalled 03-05-2010 07:22 PM

Quote:

Originally Posted by Leo Brazil (Post 1997184)
You guys following this one may be interested in checking this one out: https://vborg.vbsupport.ru/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
https://vborg.vbsupport.ru/showthrea...17#post1998017


All times are GMT. The time now is 04:48 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00955 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete