vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Moderators Functions - Moderate New User Registrations (ModCP Option) (https://vborg.vbsupport.ru/showthread.php?t=156623)

Mosh 08-29-2007 10:00 PM

Moderate New User Registrations (ModCP Option)
 
Hack Support

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored. You can now check out the 3.8.x version of this hack, which is supported for v3.7.x. as well as v3.8.x.

Please click Mark as Installed if you are using this hack.


vBulletin Version Compatibility

This hack can be used with both vBulletin v3.6.x and v3.7.x. But it is highly recommended that you use the new hack with v3.7.x.


What Does This Hack Do?

This is hack gives your Super Moderators the option in the ModCP to now manually approve new user registrations, that before now only Administrators could do from the AdminCP.

This means you can now spread the load of manually approving members with your Super Moderators, leaving you the administrator more time to do other things.

This hack was created because I liked the idea of the request in this thread, and seems to have been requested quite a few times over the years.

There are no file or template changes at all and is fully phrased. You just need to upload 1 file, import 1 product and alter 2 vBulletin Options in the AdminCP.


Installation Instructions
  1. Unzip product-jd_20070831.zip
  2. Upload /upload/modcp/user_moderation.php to your <forum root>/modcp folder (overwrite existing uploaded file if upgrading).
  3. Import product-jd_20070831.xml into vB using the AdminCP Product Manager (set Allow Overwrite to Yes if upgrading).
  4. Under the User Registration Options section of vBulletin Options in the AdminCP:
    • Ensure Moderate New Members is set to Yes
    • Ensure Verify Email address in Registration is set to Yes


Version History

v1.1.0 - Friday 7th September 2007
-- Final Release
-- Fixed: File Access permissions

v1.0.1 - Friday 7th September 2007
-- Fixed: Link Access permissions

v1.0.0 - Friday 31st August 2007
-- Initial Release


NOTE: Portions of the code are (c) Jelsoft Enterprises Ltd.


Show Your Appreciation

Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

radarhunter 08-30-2007 02:28 PM

<font color="Red">*Reserved*</font>

simunaqv 08-30-2007 03:51 PM

Hi jdsinclair,

Thank you very much for this mod. It has shown me an example of moving admin functions towards the moderators. My biggest headache after moving to vBulletin from phpbb (+category hierarchy mod) is that it has put the complete load of usergroup management on me (the admin) :(. I liked the way group moderators worked in the older setup where group moderators could add or remove users to from usergroups. Could you please also consider this as a mod request, i.e. a mod for giving some moderator permissions to add or remove users to from usergroups? ;)

Hornstar 08-31-2007 06:41 AM

Question: can my other admin currently (without this hack) approve people? because it seems like im the only one who approves people, not sure if they have that power or not.

Mosh 08-31-2007 07:17 AM

Quote:

Originally Posted by hornstar1337 (Post 1329328)
Question: can my other admin currently (without this hack) approve people? because it seems like im the only one who approves people, not sure if they have that power or not.

As long as they have the Can Administer Users permission in the Administrator Permissions Manager, then yes they can.

They will see Users to Moderate in the Welcome to the vBulletin Admin Control Panel on the Control Panel Homepage.

djilou 08-31-2007 12:04 PM

with this MOD simple moderator can approve membres!

djilou 09-06-2007 12:18 PM

Did you at least make a try with a moderator account?!!
Moderators CAN approuve new members :(
I do make some change to this MOD to avoid this!

Mosh 09-06-2007 01:29 PM

Quote:

Originally Posted by djilou (Post 1333538)
Did you at least make a try with a moderator account?!!
Moderators CAN approuve new members :(
I do make some change to this MOD to avoid this!

I have been able to duplicate this. I never checked as moderators do not have a link to the ModCP as standard, so should never access it, as they do not know that it is there, but can access it if they know the url.

Version 1.0.1 will fix this issue.

djilou 09-06-2007 05:57 PM

This is not a real fix,
this conditional : is_member_of($vbulletin->userinfo,5,6) is just hide the link from moderators,
but they can still access to the page: http://www.site.com/modcp/user_moderation.php
myabe you should check permissions on user_moderation.php file.

Mosh 09-06-2007 11:38 PM

Quote:

Originally Posted by djilou (Post 1333741)
This is not a real fix,
this conditional : is_member_of($vbulletin->userinfo,5,6) is just hide the link from moderators,
but they can still access to the page: http://www.site.com/modcp/user_moderation.php
myabe you should check permissions on user_moderation.php file.

Fixed now, Use v1.1.0.

djilou 09-07-2007 02:28 PM

Thanks ;)
Quote:

Originally Posted by djilou (Post 1333538)
I do make some change to this MOD to avoid this!


ski diva 09-07-2007 02:58 PM

Followed your instructions, but can't seem to find Moderate New Users in VB Options in the AdmnCP. Did I do something wrong, or am I looking in the wrong place?

Edited later: Oops, I just found it in the User Registration Options, and I already had it turned on. So no problem after all.

dagummit 10-20-2007 02:14 AM

works like a charm! Installed! :)

m1thr0s 11-04-2007 03:16 AM

thank you soo much jdsinclair! I had nearly given up hope anybody was even listening to this issue...

I'll give this a spin immediately and get back to you with any pertinent results although I am guessing it's going to work just great...

passing it onto Supermoderators instead of moderators was a smart call btw and no skin off of anyone's nose who really wants to implement this protocol on a regular basis...
-------------------------------------------------------------------------------------------

followup: piece of cake...works perfectly. marked as installed, rated excellent and voted MOTM. Thanks again for taking the time to attend to this. It may not be the glitziest mod of all time but it's going to make a big difference to some of us...moreso as time goes on I think...

m1thr0s

imahawki 12-06-2007 12:05 AM

I've had a consistent glitch with this. Often I'll see a couple registrations come through and I'll go to this area of the mod panel and it will say "no matches found". When I go to the usergroup manager and select "Users Awaiting Email Confirmation" it shows me the users Ids that have registered. What's the issue?

Mosh 12-06-2007 12:14 AM

Quote:

Originally Posted by imahawki (Post 1395829)
I've had a consistent glitch with this. Often I'll see a couple registrations come through and I'll go to this area of the mod panel and it will say "no matches found". When I go to the usergroup manager and select "Users Awaiting Email Confirmation" it shows me the users Ids that have registered. What's the issue?

That is because it is actually the (COPPA) Users Awaiting Moderation group that is moderated, you are looking at the wrong usergroup.

If you require anymore help or support, then click Mark as Installed as you are obviously using this hack.

imahawki 12-06-2007 12:26 AM

That doesn't make sense though, because it works part of the time. I have COPPA registration system set to disabled. Do you think it would fix the issue if I enabled that? BTW, I clicked on mark as installed. Thank you.

Mosh 12-06-2007 12:40 AM

Quote:

Originally Posted by imahawki (Post 1395844)
That doesn't make sense though, because it works part of the time. I have COPPA registration system set to disabled. Do you think it would fix the issue if I enabled that? BTW, I clicked on mark as installed. Thank you.

Verify Email address in Registration has to be set to Yes, as well.

You do not have to enable the COPPA Registration System.

imahawki 12-06-2007 01:40 AM

That was already set to yes as well. Any way, I'm not sure I'm clear on what you were saying. Today I had two new users register. Both emails came through to my account before I had a chance to check in. So I go to the link that leads to the moderator control panel and click on "new user registrations". It says "no matches found". If I then go to the admin control panel and go to usergroup manager, I can see that there are two users in the usergroup "Users Awaiting Email Confirmation" There are no users in the usergroup "(COPPA) Users Awaiting Moderation" If I view the primary users of the awaiting email confirmation group, it is indeed the two new registrants. But they don't show up in the mod control panel under "new user registrations". And perhaps what isn't clear is that this is not consistent. Sometimes the "new user registrations" DOES work. Its completely random.

Mosh 12-06-2007 06:00 AM

Quote:

Originally Posted by imahawki (Post 1395892)
That was already set to yes as well. Any way, I'm not sure I'm clear on what you were saying. Today I had two new users register. Both emails came through to my account before I had a chance to check in. So I go to the link that leads to the moderator control panel and click on "new user registrations". It says "no matches found". If I then go to the admin control panel and go to usergroup manager, I can see that there are two users in the usergroup "Users Awaiting Email Confirmation" There are no users in the usergroup "(COPPA) Users Awaiting Moderation" If I view the primary users of the awaiting email confirmation group, it is indeed the two new registrants. But they don't show up in the mod control panel under "new user registrations". And perhaps what isn't clear is that this is not consistent. Sometimes the "new user registrations" DOES work. Its completely random.

It just means that they had not clicked the confirmation link in their confirmation emails, as they when they do, they will be moved to the (COPPA) Users Awaiting Moderation after that. That is when your mods can also approve registrations.

If you are moving people from the Users Awaiting Email Confirmation usergroup to the Registered Members usergroup, then you do not know if they have valid email addresses.

It may be that you do not understand how registration is meant to work, once you do, you will realise that this hack works exactly the way it should.

What I would advise you to do is register a test user yourself and follow through from signup to being a registered member.

How it works:
When you signup using the registration form, you are sent an email to the email address that you registered with. At this point your user is in the Users Awaiting Email Confirmation group. Once you have clicked on the confirmation email link to confirm your email address is valid (with this hack he is now added to the (COPPA) Users Awaiting Moderation group, without it they are now a registered member). Once they are in the (COPPA) Users Awaiting Moderation group, then you and your super moderators will have Users Awaiting Moderation, and not before then.

That was a quick lesson on how this hack works, I wrote this for my forum, and my staff (admins and super mods) have been using for months without any problems at all, and it runs succesfully for over 25 other sites.

imahawki 12-06-2007 12:03 PM

OH, see, that explains it. So these people haven't clicked on the validation links then. Gotcha.

Mosh 12-06-2007 08:46 PM

Quote:

Originally Posted by imahawki (Post 1396126)
OH, see, that explains it. So these people haven't clicked on the validation links then. Gotcha.

The whole registration process is automatic until you, other admins and super mods have people who have confirmed their emails, then you will have users to moderate ;)

Enjoy your new feature :)

brfrankl 12-13-2007 03:58 PM

Is there any way to make it such that I can have a user in a certain usergroup instead of a super moderator. I want to have others ONLY moderate the user registrations and not be able to do anything else. Thus I don't want them to have full super moderator perms just to use this moderate user ability.

Mosh 12-13-2007 05:46 PM

Quote:

Originally Posted by brfrankl (Post 1400513)
Is there any way to make it such that I can have a user in a certain usergroup instead of a super moderator. I want to have others ONLY moderate the user registrations and not be able to do anything else. Thus I don't want them to have full super moderator perms just to use this moderate user ability.

AFAIK, no.

Mosh 12-18-2007 06:59 AM

WORKS WITH UN-MODIFIED v3.7.0 Beta 2

wpeloquin 01-18-2008 04:18 PM

Quote:

Originally Posted by simunaqv (Post 1328935)
My biggest headache after moving to vBulletin from phpbb (+category hierarchy mod) is that it has put the complete load of usergroup management on me (the admin) :(. I liked the way group moderators worked in the older setup where group moderators could add or remove users to from usergroups.

i'm with simunaqv on this. If we could have a usergroup management function similar to the one in phpbb, where you can assign a certain user as the "manager" of that 1 usergroup, that person would then be in charge of who gets added and deleted.

Example: i run a website for a gaming community. we have multiple groups set up for the various servers, and for our server admin staff. while i run the site, i am not in charge of the admins or the individual groups. but as of right now, the people who DO run those groups have to continually PM me who to add and who to remove. is there a way to allow a single user to be able to manage a single usergroup, like can be done in phpbb?

Mosh 01-19-2008 06:05 AM

Quote:

Originally Posted by wpeloquin (Post 1423870)
i'm with simunaqv on this. If we could have a usergroup management function similar to the one in phpbb, where you can assign a certain user as the "manager" of that 1 usergroup, that person would then be in charge of who gets added and deleted.

Example: i run a website for a gaming community. we have multiple groups set up for the various servers, and for our server admin staff. while i run the site, i am not in charge of the admins or the individual groups. but as of right now, the people who DO run those groups have to continually PM me who to add and who to remove. is there a way to allow a single user to be able to manage a single usergroup, like can be done in phpbb?

Nope, not without a custom hack and probably changes to vBulletin's core code to do it.

Mosh 02-02-2008 04:35 AM

Moderate New User Registrations (ModCP Option) for v3.7.x is available here.

NEW: Uses v3.7.x's notification system to let you know how many new users need moderating, and vastly improved permissions.

KeyStalker 02-06-2008 10:19 PM

There is something weird. I installed this, but users are joining without a moderator accepting or denying them. I also have Invitation System, maybe that is a factor?

Mosh 02-07-2008 12:49 AM

Quote:

Originally Posted by KeyStalker (Post 1437722)
There is something weird. I installed this, but users are joining without a moderator accepting or denying them. I also have Invitation System, maybe that is a factor?

Try testing it with the Invite System disabled (it may bypass normal registration routines), see if there are any issues then, my staff have been using this for over 6 months without any problems, but then we do not have an invite system installed.

Also please click Mark as Installed, as you are currently using my hack.

KeyStalker 02-07-2008 11:08 AM

Okay, it works well without the invite system. Is there a way you can help me making them work together with the invite system and this system? :erm:

Mosh 02-07-2008 07:27 PM

Quote:

Originally Posted by KeyStalker (Post 1438110)
Okay, it works well without the invite system. Is there a way you can help me making them work together with the invite system and this system? :erm:

Unfortunately not, as it seems to be the case that the Invite system bypasses the normal registration process, and my hack strictly adheres to vBulletin's registration process.

z0diac 02-15-2008 09:59 PM

I was on vbulletin.com complaining about the fact that Moderators could use the function Moderate Users but someone finally replied with a link to this thread. Thanks!!!

Installed, voted as exellent!

midsinga 02-26-2008 06:11 PM

Just wanted to let you know that I've installed the mod on my new forum and it works like a charm. The mods like it and I get some time to ride my mountainbike again!:) Thanks!

tim356 02-27-2008 09:54 AM

Perfect, just what we've been looking for. Marked as installed and nominated for MOTM.

pedro84 04-06-2008 07:02 AM

Got problem.

Moderate New Users is turned on. Verify e-mail address too. But my SuperMods are not able to see Moderate New Users link in ModCP. I as admin can.

Any suggestions?

Mosh 04-10-2008 09:49 PM

Quote:

Originally Posted by pedro84 (Post 1484147)
Got problem.

Moderate New Users is turned on. Verify e-mail address too. But my SuperMods are not able to see Moderate New Users link in ModCP. I as admin can.

Any suggestions?

Administrators see the options in the AdminCP and SuperMods in the ModCP (that is why you have to upload user_moderation.php your modcp folder, and that is what gives the option for SuperMods to see the users requiring moderation.

There is not much that can go wrong with this have, and my staff have been using this for well over 8 months with no issues what so ever.

[s]If you are sure you have double checked that you have done everything correctly and if you want me to take a look then feel free to PM me your site address, a temp admin user (with permissions to set vBulletin Options) a temp super mod and an temp ftp account with the appropriate permissions for your vBulletin installation,as without these I cannot help you. I will look at the problem when I have time, and even if I have a look, I can not guarantee that I will be able to fix it, but should be able to, so it is up to you what you want to do.[/s]

tqj 04-29-2008 12:24 PM

I changed the code to allow for regular mods to mod new users.
.xml file
<phpcode><![CDATA[if ($vbulletin->options['moderatenewmembers'] AND is_member_of($vbulletin->userinfo,5,6,7))

.php file

if (!is_member_of($vbulletin->userinfo,5,6,7))

Mosh 04-29-2008 08:41 PM

Quote:

Originally Posted by tqj (Post 1502236)
I changed the code to allow for regular mods to mod new users.
.xml file
<phpcode><![CDATA[if ($vbulletin->options['moderatenewmembers'] AND is_member_of($vbulletin->userinfo,5,6,7))

.php file

if (!is_member_of($vbulletin->userinfo,5,6,7))

As long as it works, cool :)

But please click Mark as Installed, as it seems you are using this hack.

m1thr0s 05-27-2008 10:27 PM

hey Mosh - how can I tweak this a bit so that the default is set to ignore instead of accept?

A couple of moderators have had trouble accidentally accepting when they were only intending to go over the profile. If the default were set to ignore, they would have to manually accept for the new member to be admitted.

I'm guessing it's in the php file but I don't know this stuff well enough to screw around with it.

thanks,

m1thr0s


All times are GMT. The time now is 11:30 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.01470 seconds
  • Memory Usage 1,852KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete