vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Show Thread Enhancements - Adsense as second post. 2 Sizes - Big for guests, small for members - Legacy Version (https://vborg.vbsupport.ru/showthread.php?t=139093)

StarBuG 03-15-2007 04:01 PM

@jmw: heute means "Today" and you don't need to create a user for this hack. I simply missed to translate the german phrase (it's fixed now ;))

@Volvoholic:
1) no it should work in the child style if you changed it in that postbit. Did you switch your forum view to that specific style?

2) yes. Google adsense is content based and it will show different ads for different threads.
read google help or visit webmaster communities like www.theadminzone.com or www.digitalpoint.com for more infos and tips about adsense

3) that is generaly a bad idea because google is a guest too. If you block guest views google can't index your forum (you lose new visitors) and can't deliver targeted ads (you lose money).

replace the condition at the beginning of my code with:
Code:

<if condition="THIS_SCRIPT == 'showthread' AND $post[postid] == $GLOBALS['qrfirstpostid'] AND ($show[member]) AND $bbuserinfo['usergroupid'] == 'X'">
and the X in $bbuserinfo['usergroupid'] == 'X' with the ID of the usergroup you want to see the ad

Volvoholic 03-15-2007 08:51 PM

StarBug

thanks, i was not getting google targeted ads because my forum view is closed for guests. Thanks for that info.

Cheers
V

Atakan KOC 03-26-2007 08:23 AM

Thanks........

AzaDiyaR 03-26-2007 09:38 AM

nice thank you so much :D

Lars-Christian 04-02-2007 09:06 PM

I don't know if this is because I have some other modifications installed, but this breaks the multiquote feature on my boards for the posts below the AdSense ad. Can anyone else with it installed check to see if it's just on my board?

Edit: Nevermind. I managed to fix it - It had something to do with my postbit_wrapper template being screwed, but I figured it out :)

jmw 04-17-2007 08:59 PM

Quote:

Originally Posted by StarBuG (Post 1204223)
@jmw: heute means "Today" and you don't need to create a user for this hack. I simply missed to translate the german phrase (it's fixed now ;))

lol, thanks Starbug. What if I want to show the same ads to all users? To members and guests...

Mrdby 04-17-2007 09:50 PM

starbug can you help me?

HeRmAn'S 04-18-2007 12:44 PM

*Installs* ...and good working :D StarBug :up:

Mrdby 04-18-2007 12:47 PM

Quote:

Originally Posted by HeRmAn'S (Post 1230387)
*Installs* ...and good working :D StarBug :up:

can i see how your looks?

StarBuG 04-18-2007 03:38 PM

@Mrdby: That totally depends on your problem. First step would be to tell me where I should help you ;)
Edit: Wrong thread. Check my reply in the other thread ;)

@jmw: remove the condition "AND (!$show[member])" and the whole 2nd part (either the member or guest part), depending on which advertising you want to show.


All times are GMT. The time now is 03:10 PM.

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.01055 seconds
  • Memory Usage 1,735KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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