vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   embeded adsense in thread topics (https://vborg.vbsupport.ru/showthread.php?t=93602)

thecool 08-04-2005 04:04 PM

embeded adsense in thread topics
 
Is there a way to embed adsense into the actual topics (i already have the one that displays random banner ads in threads)

but i was wondering if there was something more along the lines of this that was available.

check it out, i think its ingenus

http://movietalk.blisspark.com/forum5.html

tm3500 08-14-2005 05:53 PM

very cool, I would like that too! :)

slim cutty 08-15-2005 01:25 PM

wow.. that seems as if it would be soo annoying...

and it looks so out of place... isn't google in the footer enough? lol

thecool 08-18-2005 01:45 AM

ad revenue by any (legal) means possible

bigcurt 08-18-2005 02:11 AM

Just put the code in your footer or header 0_o

~curt

artonex 09-12-2005 12:07 PM

Yeah i would like to give this a try if someone haves the code.

italks 09-15-2005 04:42 PM

Code:

<if condition="$post[postcount] == 1">
<if condition="$bbuserinfo[usergroupid] == 1 || $bbuserinfo[usergroupid] == 2 || $bbuserinfo[usergroupid] == 6">
<center>
***** PLACE YOUR ADSENSE CODE HERE *****
<br>
<if condition="$bbuserinfo[usergroupid] == 2"><span class="smallfont">These ads suck... Why dont you become a <a href="http://www.your-domain.com/donating-members">donating member</a>?</span><br></if>
</center>
</if>
</if>

Place this in your postbit or postbit_legacy template, at the VERY BOTTOM.

The first if statement will place that ad below the first post in showthread.

The second if statement will show ads to all in thoes usergroups. I have it set to show ads to guests, registered members, and admins. My donating members and moderators dont see the ads.

The third if statement is only shown to my registered members. Its a reminder for them to donate to the forums and become ad free.

(Orginally created by a member steel)


All times are GMT. The time now is 04:07 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.01056 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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