|
|
Joined: Jan 2002
Posts: 266
Member
|
Member
Joined: Jan 2002
Posts: 266 |
I would like to be able to disallow the deletion of posts (regardless of whether or not it has replies) by users. I would still like moderators and administrators to have this option but not regular users. Is there a mod for this that would enable me to turn this function on and off from the admin panel? Thanks in advance... 
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
not currently but I am sure one could be written very easily. you would need to add a check to the deletepost.php
if ( ($user['U_Number'] != $Postedby) && ($user['U_Status'] != "Administrator") && (!$modcheck) ) { $html -> not_right($ubbt_lang['NO_EDIT'],$Cat); }
where if the forum is checked then they can't delete unless a mod or a admin
and then in the admin control panel viewboard.php add a field that allows you to check permissioning for delete by user group...
|
|
|
|
Joined: Sep 2003
Posts: 488
Code Monkey
|
Code Monkey
Joined: Sep 2003
Posts: 488 |
Ok I made a mod for this. Just gimme a few minutes to post it.
|
|
|
|
Joined: Jan 2002
Posts: 266
Member
|
Member
Joined: Jan 2002
Posts: 266 |
Twisty... few minutes???? Take a few hours, if you need it!! I'm just VERY appreciative of your efforts!! THANK YOU!! 
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
looks like she using UBB.threads™ 6.4.1
|
|
|
|
Joined: Sep 2003
Posts: 488
Code Monkey
|
Code Monkey
Joined: Sep 2003
Posts: 488 |
Yeah I just edited my post after I noticed her forum link :-)
|
|
|
|
Joined: Jan 2002
Posts: 266
Member
|
Member
Joined: Jan 2002
Posts: 266 |
Ok... I installed it. Now I wait for the whining to begin...  ... that will tell me how well it's working...  ... I'll let you know what happens... Thanks much!! 
|
|
|
|
Joined: Jan 2002
Posts: 266
Member
|
Member
Joined: Jan 2002
Posts: 266 |
Quick update... Checking the admin log, I see that there have been no post deletions since I installed this little "tweek". And no one has whined yet either... which I kinda half suspected might happen. They didn't want me knowing that they were going around posting and deleting... using that method to bump threads and then causing people to think there are new posts and there's not and they think it's a "software bug" and I'm getting flooded with email and PMs... blahblahblah. They didn't know that I had logging on and knew exactly who was doing what... Anyway... so it's working!! 
|
|
|
|
Joined: Sep 2003
Posts: 488
Code Monkey
|
Code Monkey
Joined: Sep 2003
Posts: 488 |
Ok good to hear 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|