Announcement

Collapse
No announcement yet.

[RELEASE vB2.0] New User Mass Mover

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [RELEASE vB2.0] New User Mass Mover

    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

  • #2
    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!

    Comment


    • #3
      just amazing!!

      Great hack!!
      thanks

      Comment


      • #4
        Your are a crazy man Kier

        CONGRATS

        Comment


        • #5
          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

          Comment


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

            Comment


            • #7
              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

              Comment


              • #8
                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..
                Site: -http://www.jazz2online.com-
                Forums -http://www.jazz2online.com/jcf/-

                Comment

                Related Topics

                Collapse

                Working...
                X