vb.org Archive

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

GotWalked 03-10-2009 02:48 AM

I looked through the php of the modcp.php file that was in the upload folder, and i saw "permissions" but what can I add to that to allow a certain usergroup to be able to use this feature?

Mosh 03-10-2009 05:56 AM

Quote:

Originally Posted by GotWalked (Post 1764456)
Mosh-or anyone else for that matter. I'd like the ability to give regular moderators this ability. How hard is that to do?

Quote:

Originally Posted by GotWalked (Post 1764553)
I looked through the php of the modcp.php file that was in the upload folder, and i saw "permissions" but what can I add to that to allow a certain usergroup to be able to use this feature?

It can be done, as the hack (and optional navbar notification) use those specific permissions to check, and they check if a user is in an administrator usergroup or a super moderator group, they can not be used to check if the user is in a moderator group. I would have to rewrite all the permissions, but I am not interested in updating the hack to do it, it works exactly the way I want it to, and apart from the bug I introduced into the last version of this hack (v3.8.001 fixed in v3.8.002), this hack has been working bug free since about December 2006 (I released it here at the end of August 2007).

If I ever need to add permissions for additional usergroups/users for any of my sites, then I will update this hack at that time, but until then I will not be added anything additional on the permissions end of things.

But if you wanted to do it yourself, you would have to alter the permission in user_moderation.php file, and also all 3 plugins associated with this hack.

GotWalked 03-10-2009 06:28 PM

Well as I tried and don't know how to code as well as you, I cannot do it by myself and i'm sure since you built it, changing a line or two of coding in 4 files wouldn't be terribly time consuming or difficult. Oh well, uninstalled and marked 1 star.

Mosh 04-07-2009 12:16 AM

Update: v3.8.003 - Tuesday 7th April 2009
-- Updated: Screenshots
-- Changed: If both ban user and notification features are enabled, Administrators are also taken to the ModCP version of this hack. The AdminCP version does not have the ban user feature.
-- Changed: Redirect in ModCP forces a full page refresh, so that whole ModCP is viewable after moderating new users.
-- Changed: Install/uninstall instructions file
-- Changed: VersionHistory.txt
-- Added: Ban user feature. If enabled extra and a ban usergoup is selected buttons appear when moderating new users.
-- Added: AdminCP Options to turn ban feature on, select ban group selected moderated users are to moved to and ban message.

Mosh 04-07-2009 12:18 AM

Quote:

Originally Posted by IndyWebDesign (Post 1705879)
I like it... is there anyway you could include an option to ban the user instead of deleting it? Reason being is if there is a potential that this user is a spammer by banning the username it prevents the username from being used again as well as using the email address again. If we delete it they can simply re-register.

Quote:

Originally Posted by Mosh (Post 1705880)
Not without extra coding. This is not something I am interested in adding to this hack at the moment, but I may look at it again at a later date.

This feature request has now been added in v3.8.003 :)

TCB 04-09-2009 07:04 PM

Thanks for this addon (Y)

quarum 04-10-2009 10:03 AM

Would it be possible for this mod to allow the Super Moderator to change the Primary or Additional Usergroups of a User?

I would find that to be a very nice addition.

Thanks

Mosh 04-10-2009 11:42 AM

Quote:

Originally Posted by quarum (Post 1788111)
Would it be possible for this mod to allow the Super Moderator to change the Primary or Additional Usergroups of a User?

I would find that to be a very nice addition.

Thanks

Unfortunately not, as the link for Super Moderators to the users profile uses a link the the ModCP version of user.php which does not allow for the editing of users, only administrators have permission to edit users. Adding your request would actually involve creating a brand new hack to move the edit user admin functions out to the ModCP and sorting out Super Moderator permissions to include the ability to edit a uses profile.

zepter 04-14-2009 09:57 PM

Is there any option to email banned members? same as the mail being sent to those who aproved or deleted?

thanks in advance

Mosh 04-15-2009 12:36 AM

Quote:

Originally Posted by zepter (Post 1791351)
Is there any option to email banned members? same as the mail being sent to those who aproved or deleted?

thanks in advance

Not at the moment, but I could probably add the feature if enough people are interested in having it added.


All times are GMT. The time now is 01:51 PM.

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.01037 seconds
  • Memory Usage 1,740KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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