Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-21-2010, 03:43 PM
lubbie lubbie is offline
 
Join Date: May 2010
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Donors don?t get advertising

Hello. I am running some advertisment to my forum and want to add Paypal donations to it. All donors should be moved to a group wich wont see the advertising anymore.
Problem is, that there is no configuration in vbulletin 4. Thats why i wanted to ask if any of you could help me?
Reply With Quote
  #2  
Old 06-21-2010, 07:30 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Subscriptions system is built into vB... When a user pays for a subscription they can be moved to a new usergroup- and you can do various things to not show ads to that usergroup- as well as give them other benefits like bigger avatars and PM boxes and such, all of this is controlled by usergroup options.

Usually subscriptions are monthly or yearly and you can choose if they are automatically recurring or not... if you just want '1 time' donations then set your subscription length to the max (like 30 years or such) and any 1 time donation will put people in the 'donors' usergroup.

Most people who have subscriptions have different 'levels' of membership.
Reply With Quote
  #3  
Old 06-22-2010, 10:01 AM
lubbie lubbie is offline
 
Join Date: May 2010
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello BirdOPrey5.
Is it possible to use the build in system with a Paypal addon from here?
I wanted to give VSA´s addon a try
Reply With Quote
  #4  
Old 06-22-2010, 03:28 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not familiar with that add-on so I don't know... If it was compatible I'd bet he or she would mention that in the mod description.
Reply With Quote
  #5  
Old 06-22-2010, 05:32 PM
lubbie lubbie is offline
 
Join Date: May 2010
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, I tried the Subscription and moving to usergroups, what is working quit well.
The problem I have is, that I can not find anything for turning ads of, for this special usergroup.

Just read the description, where it says

Quote:
Move or add confirmed donors to your VIP/Donor usergroup
Reply With Quote
  #6  
Old 06-22-2010, 07:27 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No the ads don't shut off by default, you have a few options though... The easiest I think would be wrap your ads in "If" statements and not show them to your premium usergroups...

For example in the navbar template find:
Code:
$ad_location[ad_navbar_below]
Replace with:
Code:
<if condition="is_member_of($vbulletin->userinfo, 20, 21)">
<else />
$ad_location[ad_navbar_below]
</if>
That code will display nothing (no ad) to members of usergroups # 20 and 21, but show the add to everyone else. In my example group numbers 20 and 21 are paid membership groups, for your forum the numbers will be different. Go to your usergroup manager to get the number of each group.

Put those IF statements around all/any ads you want to block... You can add or remove as many group numbers as you want, just keep a comma between them... so the following are all valid:
<if condition="is_member_of($vbulletin->userinfo, 20, 21)">
<if condition="is_member_of($vbulletin->userinfo, 21)">
<if condition="is_member_of($vbulletin->userinfo, 5, 6, 7, 20, 21)">
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:55 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.04141 seconds
  • Memory Usage 2,205KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete