vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   New User Mass Mover (https://vborg.vbsupport.ru/showthread.php?t=13687)

Kier 04-10-2001 09:00 PM

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

http://kier.3dfrontier.com/vbhacks/moveusers.gif

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 :)

eva2000 04-11-2001 01:33 AM

cool :D

something for 2.1 i suppose ?

tubedogg 04-11-2001 02:50 AM

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. :eek: God knows I need it! ;)

n3n 04-11-2001 02:56 AM

just amazing!!

Great hack!!
thanks :D

jojo85 04-11-2001 09:11 AM

Your are a crazy man Kier :rolleyes:

CONGRATS

M. James 04-11-2001 06:16 PM

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?

Kier 04-11-2001 07:42 PM

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.

M. James 04-13-2001 04:39 PM

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?

FQuist 04-21-2001 04:08 PM

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..

amykhar 11-05-2001 06:47 PM

This one still works. in 2.2 :)

Amy


All times are GMT. The time now is 01:27 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.01521 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete