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.


All times are GMT. The time now is 03:08 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.01200 seconds
  • Memory Usage 1,742KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete