Results 1 to 8 of 8

Thread: [RELEASE vB2.0] New User Mass Mover

  1. #1
    Former Lead Developer, vBulletin Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier's Avatar
    Join Date
    Sep 2000
    Location
    Reading, UK
    Posts
    8,228
    Blog Entries
    6
    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
    Meh. | Twitter: @KierDarby | Web: KierDarby.com
     

  2. #2
    Senior Member tubedogg has disabled reputation tubedogg's Avatar
    Join Date
    Feb 2001
    Location
    Medina, OH
    Age
    28
    Posts
    13,647
    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!
     

  3. #3
    New Member n3n is on a distinguished road
    Join Date
    Mar 2001
    Location
    Korea
    Age
    35
    Posts
    28
    just amazing!!

    Great hack!!
    thanks
     

  4. #4
    Senior Member jojo85 is on a distinguished road
    Join Date
    Jan 2001
    Location
    FRANCE
    Age
    24
    Posts
    916
    Your are a crazy man Kier

    CONGRATS
    Best Regards,
    Geoffrey 'G3oW0RK' BALDET.
     

  5. #5
    Senior Member mjames is on a distinguished road mjames's Avatar
    Join Date
    Nov 2000
    Location
    Charlotte, NC
    Age
    23
    Posts
    1,066
    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?
    Marc James
    Sports Central — Beyond the Scores
    Sports Central Message Boards
     

  6. #6
    Former Lead Developer, vBulletin Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier's Avatar
    Join Date
    Sep 2000
    Location
    Reading, UK
    Posts
    8,228
    Blog Entries
    6
    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.
    Meh. | Twitter: @KierDarby | Web: KierDarby.com
     

  7. #7
    Senior Member mjames is on a distinguished road mjames's Avatar
    Join Date
    Nov 2000
    Location
    Charlotte, NC
    Age
    23
    Posts
    1,066
    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?
    Marc James
    Sports Central — Beyond the Scores
    Sports Central Message Boards
     

  8. #8
    Senior Member Fquist is on a distinguished road Fquist's Avatar
    Join Date
    Apr 2000
    Posts
    228
    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..
     

Similar Threads

  1. [RELEASE vb2.0.3]Colored Online User Hack -> colored Buddies
    By Xenon in forum Releases: Version 2.x
    Replies: 0
    Last Post: Sat 27th Oct '01, 9:00pm
  2. [release vb2.0.3] In-Link User Integration
    By wajones in forum Releases: Version 2.x
    Replies: 10
    Last Post: Thu 18th Oct '01, 9:30am
  3. [RELEASE vB2.0] User Selectable Post Order
    By leadZERO in forum Releases: Version 2.x
    Replies: 11
    Last Post: Wed 10th Oct '01, 1:01pm
  4. Replies: 35
    Last Post: Sat 6th Oct '01, 7:30am
  5. Replies: 0
    Last Post: Wed 9th May '01, 7:18pm

Bookmarks

Posting Permissions

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts