miniBB Support Forums
|
Forums
|
Register
|
Reply
|
Search
|
Statistics
|
Manual
|
miniBB Support Forums
/
Suggestions
/
give mods ability to ban users
ezkim0x
Registered
#1
|
Posted: 6 Feb 2007 16:22
right now as far as I know the only way to ban a user is to use the admin account.
would it be possible to allow mods to ban users as well?
tom322
Registered
#2
|
Posted: 6 Feb 2007 17:31
You mean ban IP, not user, right? Mods can ban registered users.
ezkim0x
Registered
#3
|
Posted: 6 Feb 2007 21:34
mods having the ability to ban userids
marsbar
Associated Member
#4
|
Posted: 7 Feb 2007 01:25
Moderators have the power to disable/lock member accounts: when logged in as a Mod, one will see at the end of each member's profile a "Member Yes/No" option. "No" disables the member's account, and "Yes" unlocks the account.
- mb
Paul
CEO
#5
|
Posted: 7 Feb 2007 02:34
Banning by IP or user ID is the most "hard" method of ban, and it is currently available only to admin. Mods can block accounts like
marsbar
explained, but I personally finding it a bad idea to give somebody except the admin the rights to ban by IP. It should be done only by experienced person.
Persian
Registered
#6
|
Posted: 24 Jan 2008 14:25
so how can i set this option for some mods only not for all mods ?
for example some mods can ban and edit user profiles,
and some mods can not ban and edit profiles,
or ban but without editing user profile!
anyone has idea?
how about u Mr.Paul ;)
Paul
CEO
#7
|
Posted: 25 Jan 2008 03:33
I don't provide custom solutions for free, but it would be possible if you hardly edit the core scripts.
Persian
Registered
#8
|
Posted: 25 Jan 2008 23:42
I don't provide custom solutions for free, but it would be possible if you hardly edit the core scripts.
OK!
How can I buy ? Could you tell ?! ;-)
I don't have paybal, But I have Master Card ! :-)
Persian
Registered
#9
|
Posted: 26 Jan 2008 01:28
Paul
I succeed to change code in bb_func_usernfo.php
now Mods Can't ban user! and it's ok!
But I want to give ability for 2 of My Mods for Banning users, and For other Mods not!
Thanks :-)
Paul
CEO
#10
|
Posted: 28 Jan 2008 03:05
Condition by $user_id will help you...
$allowed_mods_array=array(12,15);
if(in_array($user_id, $allowed_mods_array)) {
//allow something
}
Prince
Registered
#11
|
Posted: 2 Sep 2011 16:36
I used this condition for File Bank also doesn't show for anyone:
$allowed_mods_array=array(1,2);
if(in_array($user_id, $allowed_mods_array)){
if($action=='storage' and $user_id>0) include($pathToFiles.'addon_storage.php');
}
It worked, just wondering if is that ok to use it like that?
Paul
CEO
#12
|
Posted: 2 Sep 2011 19:22
If it worked, it's fine :)
Guest
#13
|
Posted: 30 Jan 2012 18:52
I've removed this and just made it for admin in
bb_func_usernfo.php
but still Mods can edit other profile with this trick:
if($user>1 and ($user_id==1 or ($isMod==1 and $user_id!=$user and !$blockedMod) ) ){
I've disabled editing profile by Moderators but still they can edit user profile with this trick:
/index.php?action=prefs&adminUser=5
if they edit their own profile and copy the link and just change user id.. then they can simply enter user profile:
/index.php?action=prefs&adminUser=6
Paul
CEO
#14
|
Posted: 31 Jan 2012 12:04
I'm not sure why you are posting in this topic? This topic is about GIVING moderators ability to ban users.
It's not related to the custom questions.
miniBB Support Forums
/
Suggestions
/ give mods ability to ban users
↑
Top
Your Reply
Short link for this topic:
?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.
Before posting, make sure your message is compliant with our
forum posting rules
. If not, it may be locked or deleted with no explanation.
News & Announcements
FAQ
How To
Bugs
The Other
Official Addons and Solutions
Custom Tutorials and Modifications
Master Class
Specific
Re-cycled
Suggestions
Testimonials
qwerty
Features
Requirements
Demo
Download
Showcase
Gallery of Arts
Compiler
Premium Extensions
Premium Support
License
Contacts
Allow your miniBB-forums members communicate with each other
with the
Private Messaging add-on
!