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 08-26-2004, 03:51 PM
RCSwap RCSwap is offline
 
Join Date: Aug 2004
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Force people to Subscribe..

I want to have my board setup so that people cannot do anything until they have subscribed to a yearly membership. I setup the subscription and did the Paypal thing. How do I make it so the people know that they have to subscribe? Can I build it right into the sign up form? Or direct them to the subsription page after they register? So they would register, then be placed in the waiting group. and once I recieve the money they will be allowed to post.
Reply With Quote
  #2  
Old 08-26-2004, 05:23 PM
sblum sblum is offline
 
Join Date: Jul 2004
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change the name of Registered Users and give them no permissions. So when they join, they are in a usergroup that essentially can't do anything. Then you can make it so when they subscribe, they enter a different usergroup that can post and stuff. You can let the unpaid members know that they have to join by putting a message on forumhome with a conditional that will only show it to them.

<if condition="$bbuserinfo[usergroupid] == 8">insert message here</if>

Pretty simple.
Reply With Quote
  #3  
Old 08-26-2004, 06:09 PM
RCSwap RCSwap is offline
 
Join Date: Aug 2004
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I did all that except where do I put that code in? I'm new to vBulletin. I'm used to editing php files then uploading them but vBulletin has it all intergrated.

Also how do I get to the area to edit these:

################### postbit, postbit_legacy, MEMBERINFO ###################

- Add somewhere:

<if condition="$post['userid']"><div>Trader Rating: (<a href="traderratings.php?$session[sessionurl]u=$post[userid]">$post[ratetradetotal]</a>)</div></if>

################### Optional Display Changes ###################

NOTE: The forumid code should only be placed in the postbit templates,
however you can use the is_member_of in the MEMBERINFO template too.

NOTE: If you only want specific user groups to use the ratings, you will also
need to modify the traderratings.php code to prevent users from getting
to the feedback page through manual URLs (unlikely, but possible). This feature will
be fully implemented in the next version (if you don't want to modify the php file).

- For specific member group (or sub-groups), change 11 to whatever group:

<if condition="is_member_of($post, 11)">
(trader ratings row)
</if>

- For specific forum section, again change 200 to your forumid:

<if condition="$thread[forumid] == 200">
(trader ratings row)
</if>

- For multiple forum sections:

<if condition="in_array($thread[forumid],array(200,201))">
(trader ratings row)
</if>

- Combining the two together:

<if condition="is_member_of($post, 11) && in_array($thread[forumid],array(200,201))">
(trader ratings row)
</if>

################################################## #######

I think I did the first one. But where can I find the second area?
Reply With Quote
  #4  
Old 08-26-2004, 06:16 PM
RCSwap RCSwap is offline
 
Join Date: Aug 2004
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sblum - I'm assuming this is where - Customize Template: FORUMHOME?

Can I just put in anywhere?
Reply With Quote
  #5  
Old 02-22-2007, 04:45 PM
Stoneyreef Stoneyreef is offline
 
Join Date: Oct 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check this out!

https://vborg.vbsupport.ru/showthrea...91#post1188391
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 01:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03939 seconds
  • Memory Usage 2,196KB
  • 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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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