vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - Check Post (https://vborg.vbsupport.ru/showthread.php?t=171227)

cheesegrits 02-22-2008 10:00 PM

Check Post
 
WARNING - this mod is currently in Beta test! I've done as much testing as I can on a small development board, but have not run it on anything like a busy board. While there is no possibility of this mod damaging your board, there may be some unforeseen issues. Please post here with any questions, concerns, bug reports or suggestions.

Description

When this product is enabled, users are warned when responding to a thread if that thread has been updated since their "last visit". If they are using "Post Reply" they are bounced to a preview page, with a warning, an updated thread summary, and they have to re-submit their response. If posting from Quick Reply, they are warned, but the thread display is not updated (still working on that!), so the default warning suggests they "Go Advanced" and check the new thread display (although they may simply resubmit and it will go through).

Settings

The product has three AdminCP settings (in the Check Post section of the main vBulletin Settings).

Check Post Enabled: you can turn check post on and off.

Sound Effects: by default, when a post is aborted because of a thread update, a sound effect is played to get the users attention. You can disable this with an ACP option. SFX are only used on the Post Reply bounce, not with Quick Reply.

Forums to Exclude: a comma separated list of forum ID's not to apply Check Post to.

You may also customize the warning message by editing the checkpost_warning template, and/or the phrases referenced by the template. If you want a different sound effect, change the URL in the template.

Installation

Install the product XML.

Uninstallation

Uninstall the product XML.

To Do

1. Add a 'Forums to Exclude" ACP setting. I suspect that this mod could become unwieldy in a very busy forum. DONE.

2. Add a "Usergroups to Exlcude" ACP setting. Admins and Moderators may not care to be warned about thread updates.

3. Find a way to update the postbits on an AJAX Quick Reply. A Catch 22 in the way newreply.php works make it impossible to both update the postbit, AND abort the post and return a warning. The only way I can see of doing this involves duplicating much of what newreply.php does to rebuild the postbits. I'll continue to work on this!

Revision History

2006/02/23 - 1.00 - initial (beta) release.
2006/02/23 - 1.01 - added "Forums to Exclude"

shadowevil 02-23-2008 02:26 AM

where is file xml ??

cheesegrits 02-23-2008 04:12 AM

See the big red letters at the top of the description. :)

I found a little bug in the handling of AJAX / Quick Reply posts during last minute testing, I'm working on the fix. I'll post the product when it is bug free. Should be later tonight.

-- hugh

falguni1 02-23-2008 04:21 AM

I also want to see this mod.

majordork82 02-23-2008 08:24 AM

Why would you vote it 5 when its not even here? BAH! I wanted to see this too.. I'll come back later :)

SwollenCranium 02-23-2008 01:11 PM

What does this do ?

Are you saying that if a member tries to post in a thread that they will get an audio warning and then they are REDIRECTED to a new thread and then have to navigate back to the original page ?

Is the warning given immediately upon visit to the thread or AFTER they have made a reply attempt ?

spitb19 02-23-2008 02:47 PM

no file XML... Help!!!

Wulfnoth 02-23-2008 03:12 PM

Can't read? See at the big red sentence on the top of the description!

Namaless 02-23-2008 03:58 PM

Thanks, waiting the release :)

Thanks.

cheesegrits 02-23-2008 07:05 PM

Quote:

Originally Posted by SwollenCranium (Post 1449331)
What does this do ?

Are you saying that if a member tries to post in a thread that they will get an audio warning and then they are REDIRECTED to a new thread and then have to navigate back to the original page ?

Is the warning given immediately upon visit to the thread or AFTER they have made a reply attempt ?

Check Post kicks in when you submit a reply to a thread. If that thread has been updated since your "last activity" (in other words, if $userinfo->['lastactivity'] is less than $threadinfo['lastpost']) it kicks in. There are two scenarios:

If you are posting using Post Reply, the end result is exactly as if you had selected "Preview", but with an additional and very obvious warning at the top of the page (along with an optional sound effect).

If you are posting using Quick Reply (via AJAX), you will receive a warning, but the thread itself is not updated (the way vB's AJAX works it's pretty much impossible to feed back an error AND an updated thread). The default warning adivses you to "Go Advanced" so you can review the new thread summary before posting, but you can just submit again and it will go through. No audio cues are given with Quick Reply (I may add that at some point).

The images I just uploaded should give you a good idea of how it work.

-- hugh


All times are GMT. The time now is 02:04 AM.

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.01095 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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