[2.0.21] Disable User Posting Privileges

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
5
83%
Very Good
0
No votes
Good
0
No votes
Fair
0
No votes
Poor
1
17%
 
Total votes: 6

Throckmorton
Registered User
Posts: 364
Joined: Tue Oct 07, 2003 7:07 pm
Location: Naperville, IL

Post by Throckmorton »

Thanks! :D
-Lance

Come visit The Illuminati-R-Us Forums for all your debunking needs.

I was touched by His Noodly Appendage
frank44
Registered User
Posts: 49
Joined: Wed Sep 27, 2006 2:51 pm

Post by frank44 »

I tried to install this a few times and am getting the same error message
Parse error: syntax error, unexpected '=' in /home/soflaspo/public_html/phpBB/admin/admin_users.php on line 254
Last edited by frank44 on Sat Oct 07, 2006 2:02 am, edited 1 time in total.
Throckmorton
Registered User
Posts: 364
Joined: Tue Oct 07, 2003 7:07 pm
Location: Naperville, IL

Post by Throckmorton »

Line 254 in your file has nothing to do with this mod. It was added by something else.

Perhaps someone more versed in php than I can tell us if this statement is legal:

Code: Select all

!wiley44 = ( !empty($HTTP_POST_VARS['password']) ) ? trim(strip_tags(htmlspecialchars( $HTTP_POST_VARS['password'] ) )) : '';
Is it okay for that to begin with a "!"?
-Lance

Come visit The Illuminati-R-Us Forums for all your debunking needs.

I was touched by His Noodly Appendage
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw »

Throckmorton: That looks very strange. Seems "!wiley44" should be "$password" or something like that...
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three
frank44
Registered User
Posts: 49
Joined: Wed Sep 27, 2006 2:51 pm

Post by frank44 »

I don't what to make of this. I tried to install it a few times but always the same error. Real weird.
Throckmorton
Registered User
Posts: 364
Joined: Tue Oct 07, 2003 7:07 pm
Location: Naperville, IL

Post by Throckmorton »

From the looks of that line, you'll get the same error regardless.
-Lance

Come visit The Illuminati-R-Us Forums for all your debunking needs.

I was touched by His Noodly Appendage
DivaVocals
Registered User
Posts: 26
Joined: Fri Aug 18, 2006 10:02 pm

Post by DivaVocals »

Will this mod also allow me to remove only a few privs from a user.. For example if I want to take away a single user's ability to edit their own posts.
Throckmorton
Registered User
Posts: 364
Joined: Tue Oct 07, 2003 7:07 pm
Location: Naperville, IL

Post by Throckmorton »

This will allow you to disable a single user's ability to post. As a consequence, they cannot edit either. This mod will not allow you to disable just editing, but there is a mod that does that someehere. I have also written a mod that will disable all user's ability to edit any post after a specified time limit has passed. Disable Post Editing After X Hours
-Lance

Come visit The Illuminati-R-Us Forums for all your debunking needs.

I was touched by His Noodly Appendage
DivaVocals
Registered User
Posts: 26
Joined: Fri Aug 18, 2006 10:02 pm

Post by DivaVocals »

Throckmorton wrote: This will allow you to disable a single user's ability to post. As a consequence, they cannot edit either. This mod will not allow you to disable just editing, but there is a mod that does that someehere. I have also written a mod that will disable all user's ability to edit any post after a specified time limit has passed. Disable Post Editing After X Hours
I have a particular user that I need to track his activity to report to his ISP.. Do you know which mod this is that allows me to prevent a specific use from editing their own posts??
Throckmorton
Registered User
Posts: 364
Joined: Tue Oct 07, 2003 7:07 pm
Location: Naperville, IL

Post by Throckmorton »

-Lance

Come visit The Illuminati-R-Us Forums for all your debunking needs.

I was touched by His Noodly Appendage
DivaVocals
Registered User
Posts: 26
Joined: Fri Aug 18, 2006 10:02 pm

Post by DivaVocals »

You ROCK!!!!!!
Seria
Registered User
Posts: 137
Joined: Thu Dec 14, 2006 8:14 am
Location: out havin’ fun

Post by Seria »

thanks for this mod ^_^ I installed it on 2.0.21 and it works perfectly!

thanks again ^_^
¿What do you call it when a blond dies her hair brunette?
Artificial intelligence ^_~ ...yes, im blond :P

I will offer as much help I can on mods that I have installed, just PM me. (i don't use easymod, so I can't help with that.)
Mods installed so far:48 {all manually and on 2.0.22}
Go4u
Registered User
Posts: 64
Joined: Wed Jun 07, 2006 8:22 am

Post by Go4u »

is it possible to add this mod into phpBB/profile.php?mode=viewprofile ?
Throckmorton
Registered User
Posts: 364
Joined: Tue Oct 07, 2003 7:07 pm
Location: Naperville, IL

Post by Throckmorton »

Go4u wrote: is it possible to add this mod into phpBB/profile.php?mode=viewprofile ?

I'm not sure I understand what you want.
-Lance

Come visit The Illuminati-R-Us Forums for all your debunking needs.

I was touched by His Noodly Appendage
SkillinBizkit
Registered User
Posts: 41
Joined: Thu Dec 07, 2006 3:30 am

Post by SkillinBizkit »

Nice...But how can i make it so it disables anyone i choose, including admins and moderators?
Post Reply

Return to “[2.0.x] MOD Database Releases”