vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Google Adsense after first post (or other advertisements) (https://vborg.vbsupport.ru/showthread.php?t=231857)

bugzy 04-22-2010 11:56 PM

Quote:

Originally Posted by thinkfast (Post 2020213)
found some my self

just add this before and after the code

Code:

<vb:if condition="!is_member_of($bbuserinfo, 5)">

code

<vb:if condition="$adsshown[] = 9"></vb:if></vb:if>

cheers ;)

what is the "9" for?

Markos 05-03-2010 07:29 PM

Quote:

Originally Posted by bugzy (Post 2025667)
what is the "9" for?



i just used this as well and was wondering what the 9 was for lol

ShawneyJ 05-04-2010 02:43 AM

this is great thanks.

how would i go about adding the google ad inside the first post only please?


EDIT: i worked it out to put google inside first post of every page

find in postbit_legasy
Code:

<div class="content">
add under that:
Code:

<vb:if condition="(THIS_SCRIPT == showthread) AND !$GLOBALS['FIRSTPOSTID']">
 
YOUR ADSENSE CODE HERE
<BR><BR>
     
</vb:if>

hope this helps anyone.

Endurer 05-04-2010 07:55 AM

Hi,

I want to show different ads (two networks) for different forums. Is this possible?

Boko577 05-04-2010 02:06 PM

This would be better as a mod so that I could make it to where only certain people see it and not my premium members.

casper04 05-22-2010 03:11 AM

I want it displays above the list users say thank because I use thank you mod. Can you help me pls?

tommac3 05-25-2010 11:02 PM

Is there a way to limit this only to guests ?

Seb@ 08-05-2010 09:34 PM

how can exclude some forums

ChaFF 08-25-2010 09:20 PM

no files to download ;(

The_Big_K 09-09-2010 02:41 PM

Can someone fix this for vBulletin 4.0.6? The ad_showthread_first template was removed from it and it's a confirmed bug.

I tried the above code but it does not display the block properly. :( (Overlaps with the first post).


All times are GMT. The time now is 01:43 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.01096 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete