PDA

View Full Version : Restrict Pruning And Forum Deletion By Userid


N9ne
03-05-2003, 10:00 PM
//////////////////////////////////////////////////////////////////////////////
Restrict Pruning And Forum Deletion By Userid
A hack by N9ne, Copyright 2003+.
Created on March 6th, 2003.
//////////////////////////////////////////////////////////////////////////////
Description: This hack will allow you to set userids
in config.php, (just like viewing and pruning the admin log
permissions), which will determine which userids can delete
forums and mass prune threads.
//////////////////////////////////////////////////////////////////////////////
Files to modify:
admin/config.php
admin/forum.php
admin/thread.php
//////////////////////////////////////////////////////////////////////////////
Time taken: 1 minute.
//////////////////////////////////////////////////////////////////////////////
Level of hacking: Easy
//////////////////////////////////////////////////////////////////////////////

afterlab
03-06-2003, 09:48 PM
Ah, nice. Although I won't be a user of this hack, I may recommend it to a friend of mine who is having problems with deletion permissions.

Good job, idea, and creation. Thanks for the share! :D

joeboo
03-06-2003, 10:55 PM
Great job with the invisible attachment file containing the instructions ;)

Erwin
03-06-2003, 11:44 PM
LOL!... I suspect he forgot to attach the text file... :)

Link14716
03-07-2003, 12:24 AM
I would install it: If the file was attached... And if my admins weren't the creaters of most of my forums. ;)Good idea though, but I trust my admins not to prune/delete forums. :)

N9ne
03-07-2003, 05:45 AM
LOL!!!!!!!!!!!!!!!! Ahahaha, sorry about this :D, I completely forgot, it was late when I posted this hack, I was tired, and I forgot, hehe...

Um, *attachs*

edit: ok the first post now has the instructions attached ;).

VeoMorphine
03-07-2003, 02:10 PM
Very nice hack. Does this just disallow other people to delete/prune? Or does it limit them from amking forums to?

assassingod
03-07-2003, 02:16 PM
Very nice hack, I like this alot thanks:)

N9ne
03-07-2003, 02:40 PM
Originally posted by VeoMorphine
Very nice hack. Does this just disallow other people to delete/prune? Or does it limit them from amking forums to?

This will stop them from pruning posts or deleting forums in the adminCP. That's all it restricts.

Note to all: please click install if you use the hack :).

K33nny
03-10-2003, 06:27 AM
Nice hack, thanks.