View Full Version : Lock Post Moderation v1
Zero Tolerance
06-12-2005, 10:00 PM
Port of: https://vborg.vbsupport.ru/showthread.php?s=&threadid=79488
Additional Functionality: If a user tries to edit a locked post via AJAX and doesn't have permission, message is changed to bold red text informing them they don't have permission as the post is locked (the post is not changed to that permanantly, just as an error display).
Enjoy :)
- Zero Tolerance
Chris M
06-13-2005, 10:23 AM
Nice plugin! :)
A slight improvement would be if there was a way to create a "Quick Lock this Post" feature which shows in the postbit, and toggles the Locked/Unlocked status ;)
Satan
Zero Tolerance
06-13-2005, 10:26 AM
Nice plugin! :)
A slight improvement would be if there was a way to create a "Quick Lock this Post" feature which shows in the postbit, and toggles the Locked/Unlocked status ;)
Satan
Uhh, i was just porting a few of my minor hacks so i could get used to the vB 3.5 set up :p But i'll look into it :)
- Zero Tolerance
Chris M
06-13-2005, 10:33 AM
Uhh, i was just porting a few of my minor hacks so i could get used to the vB 3.5 set up :p But i'll look into it :)
- Zero Tolerance
Hehe...
Just a tad template quirk that I found, the "Lock Post" button is larger than the other vB posting buttons...
In the editpost_lockpost template, change:
<input type="submit" class="bginput" value="<if condition="$postinfo[postlock] == 0">$vbphrase[lock_this_message]<else />$vbphrase[lock_unlock_message]</if>" tabindex="1" />
to
<input type="submit" class="button" value="<if condition="$postinfo[postlock] == 0">$vbphrase[lock_this_message]<else />$vbphrase[lock_unlock_message]</if>" tabindex="1" />
This will make the "Lock Post" submit button the same size as the other vB posting buttons ;)
Satan
Zero Tolerance
06-13-2005, 10:36 AM
Updated, nothing major atleast, thanks =P
- Zero Tolerance
Chris M
06-13-2005, 10:37 AM
Yeh its nothing major but it makes it stand out less :)
Satan
FleaBag
07-31-2005, 12:55 PM
I know I'm being lazy... But anychance you could export your installation as a Product and release it here ZT? Thanks... :D
akanevsky
10-09-2005, 01:16 AM
Hi,
Could you please do it so you can specify, who can edit the post
e.g. [author || mod || supermod || admin] && higher
?? Thanks.
hoangminh
12-21-2005, 09:51 PM
This hack can lock post from quote ? For some reason, I don't want to show the text (with some bbcode) to other member
ahmed-samara
12-27-2005, 07:50 PM
Nice plugin!
Hornstar
03-29-2006, 06:04 AM
Anychance for an update on this hack?
Maybe the options so we can set you can lock the posts, some admins may only want admins or smods and admins or choose which user id can lock posts if we want only certain mods etc.
That would be good, thanks
eXoOutsider
11-03-2008, 12:51 PM
Work with 3.7?
Electronic Punk
08-02-2009, 01:36 AM
Not working in 3.8.3 sadly.
I was able to lock the post by adding:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> to the template, however I was able to edit the post still (as the user) using the Ajax edit, normal edit was locked but obviously no use as most will use Ajax these days.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.