Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 07-26-2010, 02:15 AM
sierra513 sierra513 is offline
 
Join Date: Oct 2009
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Temporary Usergroup change for all members

Hi,

First off... let me thank everyone here for all the great info and mods that are available! Its been invaluable to me, a rookie!

I have premium level memberships available at my site. I would like to do some 'Free Weekends' to allow members to play with the premium pkg features. My site is new and small...but I would like to be able to do this on a regular basis.

What I am looking for is, a way to change all members that are in a specific usergroup, to another specific usergroup for a specific amt of time. (could be hours or days) At the end of that time period, I would want them all to return to their original usergroup. Is that possible? They may come from multiple original groups, so being returned to where they started is important.

I have looked and havent seen anything that would do this. If there is something out there that would, if someone could please point me to it, I would appreciate it.

Thanks in advance.
Sierra
Reply With Quote
  #2  
Old 07-27-2010, 07:33 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you will only do this for a few times and for all people of certain usergroups at the same time, then i would just create a new temporary usergroup based on the real premium usergroup, add that to the users of all usergroups you want as a secondary usergroup. After some time just delete the new usergroup.
Reply With Quote
  #3  
Old 08-01-2010, 09:38 PM
sierra513 sierra513 is offline
 
Join Date: Oct 2009
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This sort of thing might work for now, but when I have lots of members, I'm not sure how this will work. It would be very time consuming to access every members profile to remove the temp group, as well as setting them to the temp usergroup to give them access.

I want to do this about once every 6 weeks so it wont be a short term thing.
Reply With Quote
  #4  
Old 08-02-2010, 11:22 PM
DataHero DataHero is offline
 
Join Date: Jun 2009
Location: NL
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't have to access every individual page to change their primary usergroup. Instead, you can mass-move users to a specific usergroup. Go to AdminCP and access the Threads & Posts category. There you'll find an option named 'Prune / Move User'. Perhaps that's what you're looking for?
Reply With Quote
  #5  
Old 08-04-2010, 04:21 AM
sierra513 sierra513 is offline
 
Join Date: Oct 2009
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Datahero, that sounds exactly what I am looking for. However.... is there a way to put them all back?

I guess as long as I just move one level.... that would make it easy to do. Both moving to, and moving back.

Thank you!
Reply With Quote
Reply

Thread Tools
Display Modes

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 03:01 AM.


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.05000 seconds
  • Memory Usage 2,186KB
  • 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