PDA

View Full Version : Assign Physical Delete Function to Specific Usergroups


AnhTuanCool
10-02-2004, 10:00 PM
Assign Physical Delete Function to Specific Usergroups by AnhTuanCool
---------------------------------------


Functions and Description:
Sometimes, I have problems with my members about their posts had been deleted by moderator and couldn't recall for some serious events, unfortunately, if a moderator can moderate a forum, then he can use physical del, so I think to a solution - let them be moderator but physical delete function will be controlled by Administrators. And that's this hack all about, you now can assign this function to the usergroups that you want to have this function, if you switch to Yes for Banned usergroup, there will be no problem cause this permission goes within the can_moderate function so only who can moderate forum and is in usergroup that have phy del func can access this function. My board is 3.0.3, should works on > 3.0.0.

Note: As default, I changed it to No which is no one can use phy del. You must have to enable to your usergroup first and then to the one that you want to have too.

Using: ACP(admincp) Usergroup Manager > [usergroup] GO > These 2 options located in the Post / Thread Permissions section.

Instruction and Screenshot:
In Attachment.

And if you use this hack then don't forget to click INSTALL. Thank you ;)

gwhooooey
10-04-2004, 03:39 AM
You need to fix the phrases, but apart from that I see no problems. Good hack, thanks

AnhTuanCool
10-04-2004, 04:41 AM
Oh sorry, my bad, it's fixed now ;)

msimplay
10-05-2004, 07:10 PM
excellent indeed should be default by though :D

Computer Mutt
10-05-2004, 07:27 PM
I needed something like this. Good Job!

*Clicks Install*

Revan
10-09-2004, 11:09 AM
* Revan clicks install :)
This is damn useful, I dont want anyone but admins to have Phys Del.
Thanks pal :)

msimplay
10-30-2004, 07:13 AM
i'm getting error where i can't normally delete a post only physical delete and somehow people can delete there own threads

this is the error i get when i try to delete a post normally


Database error in vBulletin 3.0.0:

Invalid SQL:
REPLACE INTO deletionlog
(primaryid, type, userid, username, reason, deldate)
VALUES
(, 'post', 1, 'wAmbAm',
'', '1099124008')

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'post', 1, 'wAmbAm',
'', '1099124008')' at line 4

mysql error number: 1064

Date: Saturday 30th of October 2004 01:13:29 AM
Script: http://www.wambam.net/vbulletin/editpost.php
Referer: http://www.wambam.net/vbulletin/editpost.php?do=editpost&p=4504
Username: wAmbAm
IP Address: 82.37.24.63

AnhTuanCool
11-06-2004, 12:02 PM
Maybe you have another hack and it gets conflict with this one. You can edit the query shown above a bit to make it work out though. :)

msimplay
11-06-2004, 02:44 PM
Maybe you have another hack and it gets conflict with this one. You can edit the query shown above a bit to make it work out though. :)
thanks its fixed now i replaced functions_databuild with a default copy and it worked great :)

j_86
01-08-2005, 05:06 PM
This hack is VB 3.05 compatiable.

Abe1
07-03-2005, 02:18 AM
Any plans on updating this hack for vb3.5?

Carnage
07-04-2005, 03:05 PM
just a Q but isn't there already a moderator permisison that controls physical delete perms? cause i seem to remember removing it from all my mods...

nighteyes
07-04-2005, 04:11 PM
just a Q but isn't there already a moderator permisison that controls physical delete perms? cause i seem to remember removing it from all my mods...

for mods yes.... super mods no. right now i can't have supermods on my board because the vb devs feel it's unecessary for global mods not to have the ability to physically delete posts and threads.

Celtic_Mad
05-26-2006, 08:58 AM
Can this be updated to 3.5?

Id like this because I don't want admins to physically delete either, but none of the hacks made for 3.5 let me do this.

cmwg
09-09-2006, 04:32 PM
bump once again.... can this be used with 3.6.0 ?

tazB.ca
09-11-2006, 11:15 PM
Ya I Want Ths For 3.6...can It Be Dun?