Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
Details »»

Version: , by Kier Kier is offline
Developer Last Online: May 2011 Show Printable Version Email this Page

Version: 2.0.x Rating:
Released: 04-10-2001 Last Update: Never Installs: 2
 
No support by the author.

This little hack enables you to look for new registered users and quickly bulk-move them into a custom usergroup of your choosing.



Installation is as simple as it possible could be: just download the attachment to this post, unzip it and place it in your admin folder.

If you have a particular custom usergroup that you are likely to be using often, you will find a variable at the top of the script called $default_selected_usergroup_id which you can set to equal the usergroupid of the usergroup you want to be selected by default when you open the page.

Then open it with a web browser pointing at http://yoursite.com/forums/admin/moveusers.php. You could add a link to the main control panel navbar, but that's simple HTML so I won't go into any details here.

Enjoy

Show Your Support

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

Comments
  #2  
Old 04-11-2001, 02:33 AM
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
Location: Brisbane, Australia
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool

something for 2.1 i suppose ?
Reply With Quote
  #3  
Old 04-11-2001, 03:50 AM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, as usual, Kier.

Someone the other day told me now that you've joined the dev team, I have to take your place making cool hacks. Good to know I have some more time before I have to learn that much PHP and MySQL. God knows I need it!
Reply With Quote
  #4  
Old 04-11-2001, 03:56 AM
n3n
Guest
 
Posts: n/a
Default

just amazing!!

Great hack!!
thanks
Reply With Quote
  #5  
Old 04-11-2001, 10:11 AM
jojo85
Guest
 
Posts: n/a
Default

Your are a crazy man Kier

CONGRATS
Reply With Quote
  #6  
Old 04-11-2001, 07:16 PM
M. James
Guest
 
Posts: n/a
Default

Looks great, Kier, glad I suggested this!

Quick question. I followed your instructions and it worked, but when I played with the drop down menu, it didn't display any users. Will this only work for users who register after the hack was installed?
Reply With Quote
  #7  
Old 04-11-2001, 08:42 PM
Kier Kier is offline
 
Join Date: Oct 2001
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It ~should~ display all users who registered at any time, before or after the hack was installed.

Bear in mind that the users it displays are only those in the 'Registered' usergroup.
Reply With Quote
  #8  
Old 04-13-2001, 05:39 PM
M. James
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Kier

Bear in mind that the users it displays are only those in the 'Registered' usergroup.
Oh really? That won't help me then, all new users to my boards are put into the Users Awaiting Email Confirmation group. Is there a way to change this?
Reply With Quote
  #9  
Old 04-21-2001, 05:08 PM
FQuist FQuist is offline
 
Join Date: Mar 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Find:

$users = $DB_site->query("SELECT userid,username,joindate FROM user WHERE usergroupid=2 $datecut ORDER BY userid DESC");

To change the group it displays, change the bolded number into the group you want to load the users from..
Reply With Quote
  #10  
Old 11-05-2001, 06:47 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This one still works. in 2.2

Amy
Reply With Quote
Reply

Thread Tools

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:19 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.04124 seconds
  • Memory Usage 2,270KB
  • Queries Executed 23 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (6)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_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