Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 11-30-2012, 07:08 AM
EasyEazy EasyEazy is offline
 
Join Date: Feb 2011
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Usergroup Management

I'm looking for some help with Usergroups. Id like to be able to add members to a specific usergroup without the need of doing them one by one. Basically like a mass add of certain members. I don't want to use the promotion system as its not what I need.

Any help would be appreciated.

thanks
Reply With Quote
  #2  
Old 11-30-2012, 08:47 AM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you know the userids or you'll use a multiple selection droplist to select users?

Edit: Also do you want to change the primary usergroup for these members, or just add this usergoup in user's additional usergroups?

Chris
Reply With Quote
  #3  
Old 11-30-2012, 09:11 AM
EasyEazy EasyEazy is offline
 
Join Date: Feb 2011
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChrisTERiS View Post
Do you know the userids or you'll use a multiple selection droplist to select users?

Edit: Also do you want to change the primary usergroup for these members, or just add this usergoup in user's additional usergroups?

Chris
Yes the user id's will be the profile ID's so i have got them. I want to add them to additional groups if I can.

Thanks for the quick reply.
Reply With Quote
  #4  
Old 11-30-2012, 09:33 AM
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Location: Belfast
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How many user do you need to move?

This is very easy to do, would only take 10mins to set up the new user group.
Reply With Quote
  #5  
Old 11-30-2012, 12:02 PM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EasyEazy View Post
Yes the user id's will be the profile ID's so i have got them. I want to add them to additional groups if I can.

Thanks for the quick reply.
Ok. I'll try to find 1-2 hours later today to make a normal puroduct xml file, which will do this work. It will be an menu option in your admincp in case that you want to reuse it at a later time. If not, then just unistall the product file after finishing your job.

Chris
Reply With Quote
  #6  
Old 11-30-2012, 12:08 PM
EasyEazy EasyEazy is offline
 
Join Date: Feb 2011
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChrisTERiS View Post
Ok. I'll try to find 1-2 hours later today to make a normal puroduct xml file, which will do this work. It will be an menu option in your admincp in case that you want to reuse it at a later time. If not, then just unistall the product file after finishing your job.

Chris
that would be amazing if you could.

I regular move members into different groups for a variety of reasons. If I could have a way of mass moving them in one go that would save me loads of time.

Thanks again Chris
Reply With Quote
  #7  
Old 11-30-2012, 06:53 PM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, here you go. I added some more features to make it more valuable. What left out is the rollback function in case that you want to remove an upgrade. This will be ready tomorrow. I also added a list of all your upgrades to have them as history (or to rollback one).

Download and unzip the file. Upload all files from folder uload to your vb installation. Import the product-upgradeusers.xml. Now you'll be able to find a menu option "Upgrade User(s)". Click there and start adding TESTING UPGRADES !!!. I've tested it before, but do the same.

Chris
PS- I'll reply to your PM tomorrow. I'm too tired now.
Attached Images
File Type: jpg EasyEazy1.jpg (137.3 KB, 0 views)
File Type: jpg EasyEazy2.jpg (80.4 KB, 0 views)
Attached Files
File Type: zip EasyEazy.zip (4.2 KB, 4 views)
Reply With Quote
2 благодарности(ей) от:
EasyEazy, vibethemes
  #8  
Old 11-30-2012, 10:17 PM
EasyEazy EasyEazy is offline
 
Join Date: Feb 2011
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChrisTERiS View Post
Ok, here you go. I added some more features to make it more valuable. What left out is the rollback function in case that you want to remove an upgrade. This will be ready tomorrow. I also added a list of all your upgrades to have them as history (or to rollback one).

Download and unzip the file. Upload all files from folder uload to your vb installation. Import the product-upgradeusers.xml. Now you'll be able to find a menu option "Upgrade User(s)". Click there and start adding TESTING UPGRADES !!!. I've tested it before, but do the same.

Chris
PS- I'll reply to your PM tomorrow. I'm too tired now.
Fantastic mod that works brilliantly. Thank you very much for your time and effort.
Reply With Quote
  #9  
Old 12-01-2012, 08:00 AM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've added the rollback feature, plus the ability to select if you want the upgrade to be on changing the primary usergroup, or adding it as additional.

You can find the files at: https://vborg.vbsupport.ru/showthread.php?p=2387176

Chris
Reply With Quote
  #10  
Old 12-01-2012, 03:21 PM
EasyEazy EasyEazy is offline
 
Join Date: Feb 2011
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChrisTERiS View Post
I've added the rollback feature, plus the ability to select if you want the upgrade to be on changing the primary usergroup, or adding it as additional.

You can find the files at: https://vborg.vbsupport.ru/showthread.php?p=2387176

Chris
Brilliant work mate and thanks again.
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 02:11 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.05732 seconds
  • Memory Usage 2,276KB
  • Queries Executed 14 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete