Welcome, Guest. Please Login or Register.
October 09, 2024, 02:25:29 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Lock Post Editing « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Lock Post Editing  (Read 990 times)
Yonkey
Noobie
*
Posts: 5


I'm a llama!

Lock Post Editing
« on: October 28, 2003, 02:16:43 AM »
Reply with quote

I was unable to find a mod for this.  Can someone make a mod that can allow the Administrator to lock a post from being edited by the original poster?

I know there's a Maximum Post Edit mod, but that sets a time for all users and all posts.  I just want the post edit time to be set for one user on that one post.

Thanks.  :)
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Lock Post Editing
« Reply #1 on: October 29, 2003, 08:38:33 PM »
Reply with quote

can't you just lock the topic?
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Yonkey
Noobie
*
Posts: 5


I'm a llama!

Re:Lock Post Editing
« Reply #2 on: October 29, 2003, 08:45:25 PM »
Reply with quote

No, because that stops the whole thread.  

This is why I need this: let's say a user posts a spoiler for a game.  They are allowed to post them, but I want them to clearly mark when they are going to.  So let's say I go in and edit his post, marking it as a spoiler.  I do not want the same guy editing it again and removing the mark I did.  At the same time, I don't want to stop the rest of that thread.
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Lock Post Editing
« Reply #3 on: October 30, 2003, 10:10:02 PM »
Reply with quote

if he/she keeps on changing what the admin has edited, can't you just give him/her a warning?
locking a certain post can be done, but you'll need to edit some code. if you still want to do it, my suggestions:
- Add a lock post button beside quote/delete
- Change the post icon to locked.gif when the button is pressed
- When editing a post, check if the post icon is locked or not, and only allow admins/moderators to edit if post icon == locked.gif

btw, it will be a good idea to install the hide text/spoiler mod if you haven't
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Yonkey
Noobie
*
Posts: 5


I'm a llama!

Re:Lock Post Editing
« Reply #4 on: October 30, 2003, 10:52:43 PM »
Reply with quote

Well, we actually haven't gotten to this stage yet.  I just wanted to be pre-emptive.  I could issue warnings and lock that thread or delete their post, but I really just wanted a mod that would allow me to put a Spoiler image or something in that post and lock it so that they don't touch it.

Thanks for the algorithm though.  I was just hoping someone had already made something similar before I attempt to hack at the code. ;D

I'll check out that hide text/spoiler mod though.  :)
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Lock Post Editing « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.186 seconds with 21 queries.