Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Chris] Mass User Upgrade Details »»
[Chris] Mass User Upgrade
Version: 1.0.0, by Christos Teriakis Christos Teriakis is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.2.0 Rating:
Released: 11-30-2012 Last Update: 11-30-2012 Installs: 12
DB Changes Uses Plugins
Additional Files  
No support by the author.

Mass Usere Upgrade
by ChrisTERiS

This is a minimod, asked from a Member in the community, and I thought that maybe it will be helpful to other members, that's why I'm posting it here.

1.- What it does
  1. Mass Upgarde a selection of users to a specific usergroup
  2. You have the ability to choose between updating the main usergroup, or adding the new usergroup in the user's additional usergroups
  3. Even if wasn't on the original request, I added a feature to rollback an upgrade in case that you did something wrong.
2.- Installation
  1. Download and unzip the file UpgradeUsers.zip
  2. Upload all files from upload folder to your forum installation.
  3. Import the product-upgradeusers.xml
  4. Click on Upgrade Users menu option and start working.
Enjoy it
Chris

PS- If you find it useful I'll appreciate if you Like my Facebook page. Thank you.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-01-2012, 10:34 AM
faisaly.com faisaly.com is offline
 
Join Date: Mar 2007
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

think you forgot something Chris?
Reply With Quote
  #3  
Old 12-01-2012, 10:40 AM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ehhh??........ Unless that I lost my mind, I can swear that I've uploaded 1 file and 3 screenshots. My apologies...
Reply With Quote
  #4  
Old 12-01-2012, 10:43 AM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't think that it was something wrong from my side. When I tried to re-upload the file, the upload folder was the one that I had the files in. So, for sure I've uploaded them. In any case, now everything is ok.

Chris
Reply With Quote
  #5  
Old 12-01-2012, 12:51 PM
faisaly.com faisaly.com is offline
 
Join Date: Mar 2007
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Hi Chris. Upgraded from the version you gave me earlier and got this error when adding members to a test usergroup.

Users were added to the group however I got the following database error. Also it was not added to the history page so I couldn't roll it back.

PHP Code:

Invalid SQL
:
INSERT INTO vbupgradeusers
                            SET usernames 
'3,26,1,24',
                                
usergroupid '34',
                                
usergroup 'testing',
                                
upgradeat '1354379164',
                                
primarygroup '0';

MySQL Error   Unknown column 'primarygroup' in 'field list'
Error Number  1054
Request Date  
SaturdayDecember 1st 2012 04:26:03 PM
Error Date    
SaturdayDecember 1st 2012 04:26:04 PM
Script        
: *****************************upgradeusers_admin.php?do=upgrade
Referrer      
: ****************************upgradeusers_admin.php?do=upgrade&action=insert 
Reply With Quote
  #7  
Old 12-01-2012, 04:52 PM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ochh sorry. I forgo that there was someone who has installed this mod before releasing. There are 2 ways to solve it.
1.- To uninstall the previous one and make a new installation
2.- If you're familiar on using phpMyAdmin connect to database and add to the table:
...prefix..upgradeuser a field:
Name: primarygroup
Type: TINYINT
Size: 1
Default value: 0

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

Quote:
Originally Posted by ChrisTERiS View Post
Ochh sorry. I forgo that there was someone who has installed this mod before releasing. There are 2 ways to solve it.
1.- To uninstall the previous one and make a new installation
2.- If you're familiar on using phpMyAdmin connect to database and add to the table:
...prefix..upgradeuser a field:
Name: primarygroup
Type: TINYINT
Size: 1
Default value: 0

Chris
Uninstalled and reinstalled and its working fine. Thanks for this modification.
Reply With Quote
  #9  
Old 12-04-2012, 07:11 PM
EasyEazy EasyEazy is offline
 
Join Date: Feb 2011
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Request of possible Chris

I know you have done a roll back feature for this but would it be possible to have an option to empty a usergroup as well. I don't want to delete the group just remove all those in that group.

Thanks in advance
Reply With Quote
  #10  
Old 05-04-2013, 08:45 PM
XGC Viper XI XGC Viper XI is offline
 
Join Date: Sep 2007
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I install this on our test site. I encounter two issues. Once I added the user to a new secondary group, the usergroup rank image did not display on their profile. Also, when selecting users, this test site has about 50,000 members. It was extremely slow and lagged a lot. Therefore, this would not work on our actual site that has about 70,000 members. I have few suggestions.

1) Add another option to select users by usergroup (both primary and secondary), then display only the user from that usergroup.

2) When promoting or moving members into another usergroup, provide an option to remove them from the usergroup that was selected in suggestion 1. That way when we move them to one usergroup, we can take them out of the originating usergroup.

3) Regarding the undos, once it has been done and is never to be undone, can you add an option to delete from history? Other wise the list would get extremely long for us very quick.

If this is possible, this would make this mode extremely useful.

THanks
Viper
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 04:07 PM.


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.06819 seconds
  • Memory Usage 2,299KB
  • Queries Executed 26 (?)
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)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (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
  • 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