vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Adsense after first post (https://vborg.vbsupport.ru/showthread.php?t=96249)

dieselpowered 09-14-2005 09:20 PM

Quote:

Originally Posted by gio~logist
try replacing

HTML Code:

<if condition="!$GLOBALS['FIRSTPOSTID']">
With:

HTML Code:

<if condition="!$GLOBALS['FIRSTPOSTID'] and
$vbulletin->userinfo[usergroupid] != 'x' "
>


Then replace x with the usergroupid that you do NOT want this ad to show for.

Thank you...unfortunately, it still shows for admin??

artonex 09-14-2005 09:22 PM

you must be doing something crazy xtremeoff-road as kirbys code works for me.

Gio~Logist 09-14-2005 09:23 PM

Keep adding
Code:

and  $vbulletin->userinfo[usergroupid] != 'x'
For every usergroup that you do not want to have to see that.

Andreas 09-14-2005 09:23 PM

I think this Code won't work, as $vbulletin is not within the Scope of the Postbit Class.

Gio~Logist 09-14-2005 09:24 PM

I can be wrong though.

dieselpowered 09-14-2005 09:27 PM

Quote:

Originally Posted by artonex
you must be doing something crazy xtremeoff-road as kirbys code works for me.

Don't get me wrong the code does work, however, throws off the formatting.

I will get a screen shot when I get home.

Xplorer4x4 09-23-2005 08:53 PM

I tried a few methods I found at vb.com and vb.org. This one is the only one that would work for me. Just one problem is that after I make a quick reply, the sponsoered link header apears BUT the ads do not show. In other words it hsouldn't show up at all. Oh well it got ads betwen the first and second post so I'm happy!

joeychgo 09-24-2005 08:27 AM

Quote:

Originally Posted by amykhar
What's more fun and challenging - because of ajax issues, is adsense in the last post. ;) That really gets the ad right where the reader's eyes are.

http://www.eaforums.com/forums/364919-post1.html




amy - you might want to check with Google. The way you have the ad placed inside the post may violate their TOS. You can email adsense and ask for a review.

Chad F. 09-26-2005 04:38 AM

<a href="http://img339.imageshack.us/img339/1489/bannerproblem0cy.gif" target="_blank">http://img339.imageshack.us/img339/1...problem0cy.gif</a>

^ Does anyone else get this problem after editing a post?..

Marco van Herwaarden 09-26-2005 04:47 AM

I am not using this hack, but something similar i created myself, and i have the same if using quick reply. Doesn't bother me enough to search for a fix.


All times are GMT. The time now is 11:41 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.01352 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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