PDA

View Full Version : Lock Post Moderation v1.0


Zero Tolerance
04-05-2005, 10:00 PM
Description
This will allow moderators of the forums, s.mods and admins to "Lock" posts. By locking a post, the original member who posted that post is then unable to edit/delete that post (unless that member has moderation permissions).

Pointless you may think? Perhaps, but some staff want to keep posts intact after editing them for whatever reason, and instead of locking the thread, just stop the member from editing out whatever the staff member has modified/added, this can be accomplished by using this modification.

Features:
- Uses Phrases (I know!! I finally used them!! =O)
- Ability To "Lock/Unlock" Posts via "Edit Post" page.
- Error Message Returned If Post Is Locked & No Moderation Permissions Upon Trying To Edit/Delete The Post

It's a simple addition, but affective, maybe it will come in handy, who knows, screenshots below, enjoy :)

- Zero Tolerance

Rambo
04-06-2005, 05:51 PM
Woo,

I'm the first to install this, anyway installed, work's perfectly and no flaws =D.

Another cracking mod ZT.

Bolas
04-06-2005, 06:08 PM
Damn! Another perfect Zero hack! :D

marcel-ea
04-06-2005, 06:15 PM
wow your nick is the program or?

| -- Installation Requirements -- |
- Note:
If you do not meet any of the requirements or understand them,
close this document, unplug your computer, and go shoot yourself.
Just kidding, post in the topic and help will be at hand.

LOL :D

Zero Tolerance
04-06-2005, 06:17 PM
wow your nick is the program or?

Sorry i was either too tired or retarded to understand the exact intension of divine communication, care to break it down into terms i may understand? Thanks :p

- Zero Tolerance

Lionel
04-06-2005, 06:50 PM
I am currently using vb builtin option that disappears the edit after x days except for mods. How is yours different?

Zero Tolerance
04-06-2005, 06:52 PM
I am currently using vb builtin option that disappears the edit after x days except for mods. How is yours different?
Uhm, correct me if im wrong, but this doesn't make posts disapear, or anything in such relation? Theres this bit in my main post which is entitled "Description", i advise you read it :)

- Zero Tolerance

Lionel
04-06-2005, 06:55 PM
I meant by that the edit button. With that gone, it's like post is locked, no?


Uhm, correct me if im wrong, but this doesn't make posts disapear, or anything in such relation? Theres this bit in my main post which is entitled "Description", i advise you read it :)

- Zero Tolerance

Zero Tolerance
04-06-2005, 06:57 PM
Well without the edit button or access, you can't do anything yes, but this doesn't activate after x days, it allows staff at any time to lock/unlock posts.

- Zero Tolerance

lasto
04-06-2005, 07:05 PM
has got some good uses this ZT esp when threads get out of order or you know someone is gonna go back and edit there post/thread and u want to stop them.

Lionel
04-06-2005, 07:08 PM
Well without the edit button or access, you can't do anything yes, but this doesn't activate after x days, it allows staff at any time to lock/unlock posts.

- Zero Tolerance

I see. Nice idea.

Challenge
04-06-2005, 07:19 PM
Can i do so when a post is locked it is only the Admin who can edit the post and not the Mods?

Zero Tolerance
04-07-2005, 07:11 AM
Can i do so when a post is locked it is only the Admin who can edit the post and not the Mods?
I suppose i could integrate usergroup perms for v2?

- Zero Tolerance

RMS-Chef
04-07-2005, 07:43 AM
I suppose i could integrate usergroup perms for v2?

- Zero Tolerance
Yes, a "Can use Post Lock yes|no" in group options would be great.

moley
04-07-2005, 08:59 AM
Another great hack. THe Master Coder title has to be coming your way soon.

Marky
04-07-2005, 10:44 AM
Very cool hack dude :)
Great work :D

Challenge
04-07-2005, 04:51 PM
I suppose i could integrate usergroup perms for v2?

- Zero Tolerance
Would be nice!
Nice hack anyway!

ZombieAndy
04-09-2005, 10:21 AM
very cool. quick and flawless install.

i been looking for something like this for a while now, good work! :D

BarHopper
04-10-2005, 02:15 PM
Is there anyway, is a s. admin locks the post, no mods/admins can post ijn it aswell?

Aurous
04-11-2005, 05:23 PM
Two features I would definitely like to see in this hack:

1. Lock all posts in a thread option for mods/admins in "Thread Tools". So all posts in a thread and future threads are locked automatically. This is very helpful for competitions where users are asked to answer a question, or to predict a result of the game, etc.

2. "Save Changes" button doesnt work right now when you click on "Lock post" option. You have to click on the "Lock the Post" button. If we can get it to work with "Save Changes" button, it will definitely save me time. Right now, I have to click on edit message, clear out the bad stuff, click on "Save Changes" button, then click on edit again to Lock the post. So have to click twice.

I hope to see these options in the future versions. Great hack, keep it up.

j_86
04-17-2005, 06:26 PM
After installing this, any edits I make to posts do not take effect (even when unlocked) - any idea what is up?

Q-v-n-s-Q
04-23-2005, 07:48 AM
this is useless, close post = same as lock, so what the point of use it

Marco van Herwaarden
04-23-2005, 09:00 AM
this is useless, close post = same as lock, so what the point of use itClose = close a thread.
Lock = "close" a post.

Zero Tolerance
04-28-2005, 04:52 AM
this is useless, close post = same as lock, so what the point of use it
Helps if you read the main post:

Pointless you may think? Perhaps, but some staff want to keep posts intact after editing them for whatever reason, and instead of locking the thread, just stop the member from editing out whatever the staff member has modified/added, this can be accomplished by using this modification.

- Zero Tolerance

Lionel
04-28-2005, 05:07 AM
I think this would be great for admin, to use after edit button is gone, to prevent mods from editing post.

ZombieAndy
09-03-2005, 03:55 PM
one question, is it possible to make this a feature you can use while editing like the close thread/pin thread (where you just tick a box and it does it) instead of having to edit the post, save changes, come back to the edit screen, lock the post, save again.

you know what i mean?

i had a crack at adding this myself but failed.. if anyone wants to suggest anything (im not much of a coder)

i just simply added this to the newpost_threadmanage template.

<if condition="$show['lockpostoption']">
<div><label for="rb_lock_change"><input type="checkbox" name="lock_change" value="1" id="rb_lock_change" tabindex="1" $checked=[lockunlock] /><if condition="$show['lockpostoption']">$vbphrase[lock_this_message]<else />$vbphrase[lock_unlock_message]</if> $vbphrase[after_you_submit_your_message].</label>
</div></if>

it shows up where it should and when it should (only on the edit post screen and only to mods/admins) and shows no errors, but it dosnt actually lock the post or change to unlock it.

if anyone can fix this so it works, i would be very gratful :)