![]() |
|
|
Mod Options |
Disable Usergroups From Deleting Posts Details »»
|
|||||||||||
|
Disable Usergroups From Deleting Posts
Developer Last Online: May 2008
This modification is in the archives.
As requested [ Here ] by The Ghost
![]() +++++++++++++++++++++++++++++++++++++++++++++++++ // +++++++ What to do? +++++++ // +++++++ Queries to Run (1) +++++++ // +++++++ File Modifications (7) +++++++ // +++++++ Templates To Add (1) +++++++ +++++++++++++++++++++++++++++++++++++++++++++++++ What does this do? It restricts usergroups from deleting posts, pertaining mainly to Super Moderators and Moderators. If you don't trust you moderators when it comes to deleting certain posts or trust their judgement then editing should be suffice enough. Here you can disable those usergroups from deleting any posts. Enjoy. ![]() Edit: big thanks to Boofo for helping me sort some issues out and getting things back on track ![]() g-force2k2 Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
|||||||||||
Similar Mod
|
||||
| Mod | Developer | Type | Replies | Last Post |
| Disable sendmessage.php For Specified Usergroups | ConqSoft | vBulletin 3.6 Add-ons | 4 | 23 Jul 2009 04:03 |
| Disable Scheduled Task (crontab) in AdminCP without deleting | mtha | vBulletin 3.0 Full Releases | 10 | 08 Oct 2005 14:16 |
| Comments |
|
#2
|
|||
|
|||
|
I thought this hack was cool myself i'll probably be installing it on my own forum
![]() Here's a screenshot of the added permission thanks to The Ghost for confirming that an option like this didn't exist ![]() Though i know you can restrict by forums but thats a much bigger task EnjoyOne more quick note if you disable administrators from deleting posts then they won't have access either... for security reasons all usergroups were set to no... so you have to activate the users you want to have permission regular members wont' have access either way ![]() g-force2k2 No members have liked this post.
Last edited by g-force2k2 : 08 Jul 2002 at 03:07. |
|
#3
|
||||
|
||||
|
???
Will this also stop them from deleting threads? That's what the Ghost was looking for, I think.
No members have liked this post.
|
|
#4
|
||||
|
||||
|
woot very nice, very helpful hack = ]
No members have liked this post.
|
|
#5
|
|||
|
|||
|
Re: ???
![]() g-force2k2 No members have liked this post.
|
|
#6
|
||||
|
||||
|
One last thing...
Can we get a text version of this, too, please?
![]() No members have liked this post.
|
|
#7
|
|||
|
|||
|
Boofo it is a text version
just open the file in word pad i just have a tendency to write all my hacks on php files ![]() g-force2k2
__________________
Custom vBulletin Hacker => Making Ideas Into Working Programs => No Idea Can Ever Be A Bad Idea -- My vb3 Hacks -- [ Posting Required Before Poll Voting ] | [ vb3 Font Color Hack ] | [ vb3 User Forum Activeness Hack ] | [ vb3 Postbit Style Option ] | [ vb3 User Ratings Hack ] No members have liked this post.
|
|
#8
|
||||
|
||||
|
ok...
Thanks! Might not be a bad idea to say that in the first message.
![]() No members have liked this post.
|
|
#9
|
||||
|
||||
|
2 of these...
I have this in 2 places in the editpost.php. Which one do I add the code after?
if ($action=="deletepost") { No members have liked this post.
|
|
#10
|
|||
|
|||
|
sorry boofo ;\ totally missed that... i tested it on the first one but failed to see the second one... but correct me if i am wrong but if you place it on the first one can you edit the post then or does it give you an error?
g-force2k2
__________________
Custom vBulletin Hacker => Making Ideas Into Working Programs => No Idea Can Ever Be A Bad Idea -- My vb3 Hacks -- [ Posting Required Before Poll Voting ] | [ vb3 Font Color Hack ] | [ vb3 User Forum Activeness Hack ] | [ vb3 Postbit Style Option ] | [ vb3 User Ratings Hack ] No members have liked this post.
|
|
#11
|
||||
|
||||
|
Way off...
This line is in the usergroup.php not the user.php. You need to edit your instructions.
makeyesnocode("Can delete own threads by deleting the first post","candeletethread",0); No members have liked this post.
|
|
#12
|
|||
|
|||
|
i made an error
i will fix the changes and update tomarrow ;\ don't have a forum to test with at the moment so i'll re add later... sorry about that...g-force2k2
__________________
Custom vBulletin Hacker => Making Ideas Into Working Programs => No Idea Can Ever Be A Bad Idea -- My vb3 Hacks -- [ Posting Required Before Poll Voting ] | [ vb3 Font Color Hack ] | [ vb3 User Forum Activeness Hack ] | [ vb3 Postbit Style Option ] | [ vb3 User Ratings Hack ] No members have liked this post.
|
|
#13
|
|||
|
|||
|
Re: Way off...
![]() g-force2k2 No members have liked this post.
|
|
#14
|
||||
|
||||
|
editpost
After adding it after the first occurrance, I can still edit posts so that looks good. You haven't tested this yet? Shouldn't it be in the beta section until it is fully tested at least once?
![]() No members have liked this post.
|
|
#15
|
|||
|
|||
|
I did test it boofo
just didn't notice that there were two differen't if ($action=="deletepost") {my friend allows me to test on his forum but hes not on right now ;\ i tested it but after you stated the issue about two different actions that got me... so i'll do another final test tomarrow... and i'll have to take into consideration the editing perms... but i did test and it didn't allow for deletion but better sure to make sure there isn't anything added before reattaching something that is...g-force2k2
__________________
Custom vBulletin Hacker => Making Ideas Into Working Programs => No Idea Can Ever Be A Bad Idea -- My vb3 Hacks -- [ Posting Required Before Poll Voting ] | [ vb3 Font Color Hack ] | [ vb3 User Forum Activeness Hack ] | [ vb3 Postbit Style Option ] | [ vb3 User Ratings Hack ] No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 06:36.








