Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Disable Usergroups From Deleting Posts Details »»
Disable Usergroups From Deleting Posts
Mod Version: 1.00, by g-force2k2 (Coder) g-force2k2 is offline
Developer Last Online: May 2008 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 3
Released: 08 Jul 2002 Last Update: Never Downloads: 0
Not Supported  

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

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
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  
Old 08 Jul 2002, 03:05
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Smile

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 Enjoy

One 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
Attached Images
File Type: jpg delete.jpg (64.6 KB, 64 views)

Last edited by g-force2k2 : 08 Jul 2002 at 03:07.
Reply With Quote
  #3  
Old 08 Jul 2002, 03:34
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
???

Will this also stop them from deleting threads? That's what the Ghost was looking for, I think.
Reply With Quote
  #4  
Old 08 Jul 2002, 03:36
VeRT3X's Avatar
VeRT3X VeRT3X is offline
 
Join Date: Apr 2002
woot very nice, very helpful hack = ]
Reply With Quote
  #5  
Old 08 Jul 2002, 04:13
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Re: ???

Originally posted by Boofo
Will this also stop them from deleting threads? That's what the Ghost was looking for, I think.
yes it will

g-force2k2
Reply With Quote
  #6  
Old 08 Jul 2002, 04:15
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
One last thing...

Can we get a text version of this, too, please?
Reply With Quote
  #7  
Old 08 Jul 2002, 04:18
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
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 ]
Reply With Quote
  #8  
Old 08 Jul 2002, 04:20
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
ok...

Thanks! Might not be a bad idea to say that in the first message.
Reply With Quote
  #9  
Old 08 Jul 2002, 04:36
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
2 of these...

I have this in 2 places in the editpost.php. Which one do I add the code after?

if ($action=="deletepost") {
Reply With Quote
  #10  
Old 08 Jul 2002, 04:54
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
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 ]
Reply With Quote
  #11  
Old 08 Jul 2002, 05:02
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
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);
Reply With Quote
  #12  
Old 08 Jul 2002, 05:04
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
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 ]
Reply With Quote
  #13  
Old 08 Jul 2002, 05:07
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Re: Way off...

Originally posted by Boofo
Tmakeyesnocode("Can delete own threads by deleting the first post","candeletethread",0);
yeah i know i make some techincal errors ;\ i ain't that great so sorry if a make a few mistakes... i ain't perfect i'll admit that just used to knowing where things are i forget a small thing like usergroup

g-force2k2
Reply With Quote
  #14  
Old 08 Jul 2002, 05:12
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
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?
Reply With Quote
  #15  
Old 08 Jul 2002, 05:16
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
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 ]
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 06:36.

Layout Options | Width: Wide Color: