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)

almightyone 06-25-2007 08:44 PM

it didnt work for me i will do it on my test board later and post the error but it said a conditional error was there and none of my posts showed on my forums when viewing them

almightyone 06-25-2007 08:52 PM

works fine without using the forums conditions

elpadrecito 06-26-2007 02:14 AM

Thank you much! Wow, almost spiritual!:)

ayoko555 06-26-2007 04:39 AM

Thank you so much! Could anyone teach me how to not show ads to members at all please?

StarBuG 06-27-2007 04:04 AM

Quote:

Originally Posted by ayoko555 (Post 1276670)
Thank you so much! Could anyone teach me how to not show ads to members at all please?

Remove all the code after:

<!-- Google AdSense in Posts for Members -->

siliconfinance 08-29-2007 07:00 AM

Anybody know whether this works on 3.6.8, I have the following code at the end of the postbit legacy template:

Code:

<if condition="$post['userid'] AND $show['member']">
        <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
        </if>
        $template_hook[postbit_user_popup]
        </table>
</div>
<!-- / post $post[postid] popup menu -->

When I insert the adcode, it displays after every post.

siliconfinance 08-29-2007 09:01 AM

Ok, I got your code to work. I have always used this expression in the past to exclude certain groups from seeing the ads:

Code:

<if condition="!is_member_of($bbuserinfo, 6, 7)">
Unfortunately, when I replace your conditional code with the above conditional code, then it displays ads after every post.

StarBuG 08-29-2007 02:15 PM

You can't replace it, you need to ADD it to my condition ;)

Kaelon 09-15-2007 04:23 AM

I saw that the avatar image for the Advertising post (for guests) is a Firefox emblem.

Is that served by Google? Are there any valid 125 x 125 ad units that would ever be served there? Are there other 125 x 125 items that I can use? And, do you know of any way to customize the google_cpa_choice parameter?

StarBuG 09-15-2007 08:05 AM

Yes, there are lots of Referral Images in all sizes and for numerous products.
I did not made the FF banner myself ;)

What do you mean by "google_cpa_choice parameter"?


All times are GMT. The time now is 06:09 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.01255 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
  • (2)bbcode_code_printable
  • (1)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