vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Lock Post Moderation v1 (https://vborg.vbsupport.ru/showthread.php?t=83002)

Zero Tolerance 06-12-2005 10:00 PM

Lock Post Moderation v1
 
Port of: https://vborg.vbsupport.ru/showthrea...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

Quote:

Originally Posted by hellsatan
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

Quote:

Originally Posted by Zero Tolerance
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:

Code:

<input type="submit" class="bginput" value="<if condition="$postinfo[postlock] == 0">$vbphrase[lock_this_message]<else />$vbphrase[lock_unlock_message]</if>" tabindex="1" />
to
Code:

<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!


All times are GMT. The time now is 09:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01023 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete