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)
-   -   Mini Mods - Adsense Inside the Post (https://vborg.vbsupport.ru/showthread.php?t=140664)

kpascal 04-06-2007 12:18 PM

I understand your directions and have used the following:
Code:

<if condition="(($post[postcount] % $vboptions[maxposts] == 1)) and !is_member_of($bbuserinfo,10,11,12,14)">
I have tested with a user subscribed to the 'Custom Usergroup' 12 and they were able to see the ads. I thought it might be because four group IDs were separated by commas so I tried this:
Code:

<if condition="(($post[postcount] % $vboptions[maxposts] == 1)) and !is_member_of($bbuserinfo,12)">
The user was still able to see the ads. Does the code you have provided only work for 'Default Usergroups'? If so, would it be possible to do this with 'Custom Usergroups'?

kpascal 04-06-2007 12:26 PM

My baad.. I did not provide clear direction to the user that was testing for me and they were looking at an ad in the header and reporting that it was still visible. The last code I posted is working well and I am now testing the multiple usergroup version. I will report once it is tested.

Very sorry for the confusion an inconvenience.

kpascal 04-06-2007 12:30 PM

Your posted code suggestions work perfectly. Thank you for your help and again please accept my apologies for the confusion.

ggiersdorf 04-07-2007 10:58 AM

has a fix for images and quotes been made? I would love to use this but almost all my first posts consist of images being a gaming forum. We heavly use images and quotes

kpascal 04-07-2007 11:21 AM

I changed the placement of this mod when I applied it. (link to example) With the ad placed under the post, instead of beside it, I have not experienced an [img] or [quote] problem.

notrious 04-10-2007 01:00 AM

s.s pha jee

i want to use this mod as adsance in all posts

unitedpunjab 04-10-2007 08:24 AM

Quote:

Originally Posted by notrious (Post 1223726)
s.s pha jee


i want to use this mod as adsance in all posts

SSA,
Adsense doesn't allow more than three Ads on a page,So that wont work.

notrious 04-13-2007 08:30 PM

but still on soem sites i have seen this they have adsance in header like 2 sets and adsance in posts also

may be they are more smarter kid then me

NightShado 04-13-2007 11:34 PM

nice :) Thanx man :)

popowich 04-15-2007 12:06 AM

If this is targeted for guests what about adding text under the ad such as "Register today to remove this ad!" with the Register being a link to the forums registration page?

-Raymond


All times are GMT. The time now is 07:27 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.02406 seconds
  • Memory Usage 1,733KB
  • 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