UBB.Dev
Posted By: Dave_L_dup1 [6.2] User Privileges - 02/07/2003 8:42 PM
NAME: User Privileges
VERSION: 1.0.0
DESCRIPTION: Allows limiting of certain user privileges.
WORKING UNDER: UBB.threads 6.2.2
PREREQUISITES: none
AUTHORS: Dave_L
CREDITS: none
DEMO: none
FILES ALTERED: addpost.php, doratethread.php, dorateuser.php, editpost.php,
mess_handler.php, newpost.php, newreply.php, sendprivate.php,
ubbt.inc.php
DATABASE ALTERED: yes
NEW FILES: none

HISTORY:
2003-02-07 Dave_L - 1.0.0 Original release

********
ABSTRACT
********

The following columns are added to the Banned table for limiting certain user privileges:

B_X_NoEditPost - do not allow editing of posts
B_X_NoEditProfile - do not allow editing of profile (basic section only)
B_X_NoMessage - do not allow sending or receiving of private messages
B_X_NoPost - do not allow posting
B_X_NoRate - do not allow rating of users or threads

Each of these columns is set to 1 to deny the privilege, and 0 to allow the privilege.

There is no user interface provided for changing these privileges. That can only be done with MySQL queries, phpMyAdmin or an equivalent.

If a user name or IP address is added to the Banned table via the Admin page, each of the above columns is set to 1 by default, denying all the privileges.

Attached File
Posted By: JustDave Re: [6.2] User Privileges - 02/07/2003 10:25 PM
Sounds great Dave

Perhaps the banning page could pass some check box variables so that the new field values could be set 1 or 0 at the time of banning?

Just a thought.
Posted By: Astaran Re: [6.2] User Privileges - 02/07/2003 10:28 PM
It is my intention to include this in the ban interface.
That's why i forced Dave_L to post it.
Posted By: JustDave Re: [6.2] User Privileges - 02/07/2003 10:31 PM
Ahh... ok.

Looking forward to seeing the end result.
Posted By: JoshPet Re: [6.2] User Privileges - 02/07/2003 10:55 PM
Great work Dave_L. (As always)
Posted By: smilesforu Re: [6.2] User Privileges - 02/08/2003 3:24 AM
Excellent tool
Posted By: Astaran Re: [6.2] User Privileges - 02/20/2003 10:16 AM
Forgot to mention it here.
I created a GUI for this nice hack and expanded it a bit.

See details

© UBB.Developers