vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Ad removal options (https://vborg.vbsupport.ru/showthread.php?t=172374)

jhightman 03-07-2008 03:53 PM

Ad removal options
 
Hello all

I am currently using Red Tyger ad management.

I would likeee to find an ad management solution where members can pay to have ads removed for the month or for the year. Are there any options out there for this:confused:

Thanks!
Jason

RetroDreams 03-07-2008 04:28 PM

Subscription system.

jhightman 03-10-2008 01:13 PM

has anyone done this with the subscription system before? Seems like all I can do is allow users to see certain forums or have more storage etc..

Thanks,
Jason

punchbowl 03-10-2008 01:38 PM

You can add them to a subscribed group and then wrap your ads in a template conditional that will show the ads to all but subscribers, mods and admin e.g. something like

Code:

<if condition="is_member_of($vbulletin->userinfo, 20, 6, 7)">
ads here
</if>

that's not specific to Red Tyger though which I believe is no longer supported. Should still work though.

jhightman 03-10-2008 02:00 PM

awesome.. thats gets me going in the right direction!

Thanks!

punchbowl 03-10-2008 02:10 PM

some helpful stuff on this thread too

https://vborg.vbsupport.ru/showthrea...hlight=adsense

jhightman 03-11-2008 02:24 AM

Ok all... thanks for all the help thus far. Feel I am getting close.

I made a new subscription and associated it with a new usergroup with an ID of 12

given that info, the following should work...?

Code:

<if condition="is_member_of($vbulletin->userinfo, 12)">
blank data goes here... so not to show ads to users with id of 12
</if>

ads go here


SEOvB 03-11-2008 02:43 AM

Code:

<if condition="is_member_of($vbulletin->userinfo, 12)">
&nbsp;
<else />
Ads here, will show to everyone but usergroup 12
</if>


MoT3rror 03-11-2008 03:17 AM

If you are doing this in the template it needs to be $bbuserinfo like this
Code:

<if condition="is_member_of($bbuserinfo, 12)">
&nbsp;
<else />
Ads here, will show to everyone but usergroup 12
</if>


jhightman 03-11-2008 01:02 PM

Thanks for all the help.

the $bbuserinfo made the difference


All times are GMT. The time now is 07:00 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.01056 seconds
  • Memory Usage 1,725KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete