Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbPostCheck - Warn if someone posted while you were typing Details »»
vbPostCheck - Warn if someone posted while you were typing
Version: 1.1.0, by hambil hambil is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.5 Rating:
Released: 04-03-2007 Last Update: 05-10-2007 Installs: 85
Uses Plugins Template Edits
 
No support by the author.


Note: This product is now being supported at www.catnine.net

Keywords: Post, warning, check, new

Description:
Gives the user a warning if someone has posted in the same thread while they where typing their reply. The user can than choose to review their post, and continue.

Version 1.1.0:
  1. Uses the same warning method as other vBulletin post warnings (see screenshots)
  2. Works with quickreply
  3. Shows new post in Topic Review section (for non quickreply)
  4. Added option to do an auto template replace
  5. Added option to enable or disable the product
Special thanks to Dismounted for his contributions, and welcome as a co-author/supporter.

Version 1.0.0:
  1. Warns on new posts in same thread while you where typing your reply
  2. Fully phrased
  3. No file edits or uploads
Install
  1. Download the product-postcheck.xml file
  2. Import using the product manager

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 04-05-2007, 12:39 AM
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are brilliant *installed*
Reply With Quote
  #23  
Old 04-05-2007, 12:45 AM
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hambil View Post
No - 5 stars not 1 star! I hit the wrong button...

Hopefully someone will wander along and fix it for me.

In the meantime, er, welcome to my lastest hack
I did that too...sorry Hambil
Reply With Quote
  #24  
Old 04-05-2007, 02:09 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn you Thorn in my Back!!! I'll accept a MOTM nomination in repayment
Reply With Quote
  #25  
Old 04-05-2007, 03:37 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think your hack contains XSS issue, you use $_REQUEST in the HTML without any check, this opens a security hole.
Reply With Quote
  #26  
Old 04-05-2007, 03:50 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Milad View Post
I think your hack contains XSS issue, you use $_REQUEST in the HTML without any check, this opens a security hole.
I change the code to run $_REQUEST['t'] through the cleanup process. Other than that no security issue should exist, since I'm only reloading request and post information, not using it in anyway.
Reply With Quote
  #27  
Old 04-05-2007, 05:03 AM
Rat1972 Rat1972 is offline
 
Join Date: Jun 2005
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hambil View Post
Damn you Thorn in my Back!!! I'll accept a MOTM nomination in repayment
i asked for this mod a week or two ago and now its here. Ofcourse i will nominate it and ofcourse the five stars.
I hope in the future it will also work with quick reply, but that isnt a must. I am glad with this one!

Good work!

Click install
Reply With Quote
  #28  
Old 04-05-2007, 05:06 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I only added to the phrase nothing that could have added that extra code, i didnt touch any template!?

It warned me about the last post being made, but when i went to review it it was not the last post it was the post before the last post!

Quote:
Originally Posted by hambil View Post
I don't understand - sorry. It looks like you edited the template or the phrase, and that's where the odd characters are coming from on the warning message.

As for the last post/not last post, could you explain better, please?
Reply With Quote
  #29  
Old 04-05-2007, 07:41 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy View Post
I only added to the phrase nothing that could have added that extra code, i didnt touch any template!?

It warned me about the last post being made, but when i went to review it it was not the last post it was the post before the last post!
It checks to see if any posts have been made since you started your post. There could be more than one.

I might consider complicating the query a bit, and providing some varied phrasing. e.g. "A new reply" and "x new replies".

I'll look into the quick reply at the same time. If I do it, I'll make it off by default and admin settable. I can speak only for myself but if I'm using quick reply I don't want a bunch of checks and stuff slowing me down and asking me questions. That's why I using quick reply
Reply With Quote
  #30  
Old 04-05-2007, 08:32 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Damn! You stole my idea , I was in the process of making this. Oh well. But I have a solution to make it work with quick reply .
Reply With Quote
  #31  
Old 04-05-2007, 09:13 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not an issue of making it work with quickreply. I chose not to. However, I'll probably make it optional in the next release.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04639 seconds
  • Memory Usage 2,314KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete