Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Moderate New User Registrations (ModCP Option) Details »»
Moderate New User Registrations (ModCP Option)
Version: 3.7.003, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.7.x Rating:
Released: 02-01-2008 Last Update: 06-24-2008 Installs: 87
Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

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, as it also works with v3.7.5 (and maybe even earlier versions).

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


vBulletin Version Compatibility

This hack can only be used with vBulletin v3.7.x.

This hack is not compatible with v3.6.x (due to fact that notifications in the welcome block were not introduced until v3.7.0), but fear not, you can use the unsupported v3.6.x version of this hack instead.



What Does This Hack Do?

It is a update of my v3.6.x hack available here, with new stuff added.

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.

New to v3.7.x is a notification in your welcome block in the navbar being displayed (if the notification option is enabled in the AdminCP) when there are new user registrations to be moderated. This is displayed to both Administrators and Super Moderators. The notification will only generate 1 extra query per page load (only if the notification is enabled, and then the extra query is only for Administrators and Super Moderators, so if you want to save a query then disable the option).

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 (or 3) vBulletin Options in the AdminCP, and then it will work from then on.


Installation Instructions
  1. Unzip product-ms_20080202.zip
  2. Upload /upload/modcp/user_moderation.php to your <forum root>/modcp folder (overwrite existing uploaded file if upgrading).
  3. Import product-ms_20080202.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
  5. Under the Moderate User Registrations (ModCP Option) section of vBulletin Options in the AdminCP:
    • Ensure Enable Notification ? is set to Yes if you want the notification to be displayed.

Uninstall Instructions
  1. Delete the user_moderation.php file from your /modcp folder.
  2. Uninstall the product in vB using the AdminCP Product Manager.


Version History

v3.7.003 - Wednesday 25th June 2008
-- Final Release
-- Changed: Product name
-- Changed: Version numbering
-- Added: AdminCP Option to display the notification or not

v2.1.0 - Thursday 7th February 2008
-- Changed: Install code

v2.0.0 - Saturday 2nd February 2008
-- Initial Release


Thanks

Thanks go out to Paul M who gave me permission to use some of his install code.

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.


Donations

I would like to thank the following people for their kind donations:

Show Your Support

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

Comments
  #12  
Old 02-10-2008, 07:15 PM
KeyStalker KeyStalker is offline
 
Join Date: Jan 2008
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

https://vborg.vbsupport.ru/showthread.php?t=137007
Reply With Quote
  #13  
Old 04-30-2008, 06:00 PM
m1thr0s's Avatar
m1thr0s m1thr0s is offline
 
Join Date: Oct 2006
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the upgrade...this is the best little mod of its kind and a must-have for manual reg forums!!!
Reply With Quote
  #14  
Old 05-22-2008, 11:50 AM
IvyKeepMommy IvyKeepMommy is offline
 
Join Date: Sep 2007
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I installed, but the supermoderators can't access...

The error message they get is
Quote:
Sorry, you don't have permission to access the administrative controls on this page.

If you need to access this page, ask your lead administrator to enable your permissions for this page using the Administrator Permissions section of the control panel.
The problem is that I do NOT want my Supermoderators to have unlimited access to the Administer Users section (for one thing, when they do, they can change their own permissions to see areas only for our donors, can make themselves a member of the Admin group, etc.)

I'd like them to be able to review a new user and moderate them (accept their membership or not) but not change any other permissions for the member.
Reply With Quote
  #15  
Old 05-22-2008, 11:55 AM
IvyKeepMommy IvyKeepMommy is offline
 
Join Date: Sep 2007
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To clarify, the issue is the link on the notifications menu, since it takes the Supermod to the link in the admin cp that they don't have permission to see. If they go into the ModCP then it works for them.

Can/Should the notification link be changed so that it goes to the ModCP approval rather than the AdminCP panel?
Reply With Quote
  #16  
Old 05-22-2008, 12:41 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by IvyKeepMommy View Post
Ok, I installed, but the supermoderators can't access...

The error message they get is

The problem is that I do NOT want my Supermoderators to have unlimited access to the Administer Users section (for one thing, when they do, they can change their own permissions to see areas only for our donors, can make themselves a member of the Admin group, etc.)

I'd like them to be able to review a new user and moderate them (accept their membership or not) but not change any other permissions for the member.
Quote:
Originally Posted by IvyKeepMommy View Post
To clarify, the issue is the link on the notifications menu, since it takes the Supermod to the link in the admin cp that they don't have permission to see. If they go into the ModCP then it works for them.

Can/Should the notification link be changed so that it goes to the ModCP approval rather than the AdminCP panel?
It should not happen at all, because the permissions are specifically checked to see if the person using the link is either an admin or super mod.

If you are an admin, you get the link to the AdminCP, if you are a supermod then you will get the link to the ModCP.

The only possible way super mods will see the link to the AdminCP instead of the ModCP is if both Can Moderate All Forums (is Super Moderator) and Can Access Control Panel (is Administrator) are set to Yes in the Super Moderator usergroup (which they should not be, if they are both set, then they are counted as admins and not super mods).

Can Access Control Panel (is Administrator) should be set to No for super mods, and Yes for admins, and this is what it is by default.

If it is not the above, I have not got a clue, as the only way I could recreate your problem was by setting Can Access Control Panel (is Administrator) to Yes for super mods.
Reply With Quote
  #17  
Old 05-24-2008, 10:53 PM
IvyKeepMommy IvyKeepMommy is offline
 
Join Date: Sep 2007
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, the supermoderator in question does have AdminCP access to manage some notices, but I don't want them to have user access.

I'll figure out a work around... thanks for your help!
Reply With Quote
  #18  
Old 06-23-2008, 05:30 PM
iRO Wiki iRO Wiki is offline
 
Join Date: Sep 2007
Location: Colorado
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, this is an awesome update to the 3.6.8 version, which I was able to merge into my changes (allow mods to approve people needing email verify).

Thanks a bunch!
Reply With Quote
  #19  
Old 06-23-2008, 05:41 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mosh just a question: with the askimet enabled onto my board sometimes i've got a new user into my moderation queue, but i don't receive any notification when it happens ... so my question is: can you improve this hack also (and only) for the admins? maybe an option that can give us the possibility to choose what UG can use this feature should be really great ...
Reply With Quote
  #20  
Old 06-24-2008, 10:17 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KURTZ View Post
Mosh just a question: with the askimet enabled onto my board sometimes i've got a new user into my moderation queue, but i don't receive any notification when it happens ... so my question is: can you improve this hack also (and only) for the admins? maybe an option that can give us the possibility to choose what UG can use this feature should be really great ...
You do not receive notifications when new user registrations are being moderated as standard.

I have added the notification into this hack (it adds 1 query), which it is why it is a feature.

This hack is an admin function I opened up to Super Moderators and it was originally created for the Super Moderators on my forum (v3.5.x) to use and after about eight months of them using it bug free I decided to release it here for v3.6.x for all to use (and now it is in it's v3.7.x incarnation).

I will not be adding any features that diverts away from this functionality and am not willing to add extra stuff to it, so unfortunately there will be no admin only option to chose which usergroups use this, as that would require quite a bit of additional code and I am actually really happy with this hack as it is and it has been totally bug free for about a year and a half as far as I am aware.
Reply With Quote
  #21  
Old 06-25-2008, 07:39 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update: v3.7.003
  • Changed product name
  • Added option to display the notification or not
Reply With Quote
Reply


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 05:30 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05311 seconds
  • Memory Usage 2,319KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete