vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Posting Features - vbPostCheck - Warn if someone posted while you were typing (https://vborg.vbsupport.ru/showthread.php?t=144015)

gutterboy 04-29-2007 08:16 PM

Great mod - thanks!

gutterboy 04-30-2007 12:14 PM

Yeah... I have now installed & tested this & was a bit miffed it didn't work with quick reply seeing as forums that use it I assume 90% of users posting use it; any news on when that will be released?

It also just gives you screen telling you that someone has posted & then gives you the choice to continue or go back & edit your post; however, when you go back to edit your post it doesn't show the new post(s) in the topic preview??

Thanks!

hambil 04-30-2007 06:22 PM

Quote:

Originally Posted by gutterboy (Post 1238160)
Yeah... I have now installed & tested this & was a bit miffed it didn't work with quick reply

Miffed at my free hack? You might want to lower your vb.org expectations a tad :)

Quote:

It also just gives you screen telling you that someone has posted & then gives you the choice to continue or go back & edit your post; however, when you go back to edit your post it doesn't show the new post(s) in the topic preview??
Yes, that is a problem. I've fixed it, and also added quick reply, but it's a tricky and I haven't worked out the bugs enough to post yet - mostly due to some other things eating up my time. It is a planned and promised release, so hang in there if you can :)

Quote:

Thanks!
You're welcome :)

hambil 04-30-2007 06:25 PM

Quote:

Originally Posted by Dismounted (Post 1224088)
Use the $error[] array.

It's not that simple. The $error array works fine (thank you) but detecting if a new post has been added while quick reply was being used is very tricky. At the moment the method I've developed ignores quick replies from pages other than the last. My assumption being that if you are quick replying on page 2 of 10 you don't care about the most recent post anyway. Plus, the data just isn't available to test against.

Dismounted 05-01-2007 09:02 AM

You could always add an extra field (w/ timestamp) to quick reply to check against.

hambil 05-01-2007 12:38 PM

Quote:

Originally Posted by Dismounted (Post 1238780)
You could always add an extra field (w/ timestamp) to quick reply to check against.

In the database? Add a query or two? I don't want to do that, and nothing else is going to survive a page load.

Dismounted 05-02-2007 07:28 AM

No, a form field, then on submit, check the timestamp.

Braders 05-03-2007 11:02 AM

Thanks Hambil.

I put it to our users and a majority of 87% to 13% ruled that they want it installed.

Much obliged.

Lee

BBI-Ross 05-04-2007 12:05 PM

Quote:

Originally Posted by tandy (Post 1220892)
Everything fine with IE but warning appear for all reply in firefox.

Has a fix been found for this problem?

hambil 05-04-2007 12:26 PM

Quote:

Originally Posted by BBI-Ross (Post 1241268)
Has a fix been found for this problem?

Given that I haven't used EI other than to run tests in ages, this has to be a setup/setting issue of some sort on your end. I run this day in and day out with Firefox.

hambil 05-04-2007 12:27 PM

Quote:

Originally Posted by Dismounted (Post 1239546)
No, a form field, then on submit, check the timestamp.

I'll look and see if that can be done without file edits.

Luky 05-05-2007 09:13 AM

Hurry up with the quick reply!! Joke :) You know i didnt think quick reply and standard reply methods were so different o.o

Dismounted 05-06-2007 05:36 AM

Quote:

Originally Posted by hambil (Post 1241286)
I'll look and see if that can be done without file edits.

It can be done with only template edits and plugins, I've done it but I deleted the files when you released the hack. :(

MotMann 05-06-2007 03:26 PM

I cant find the Hack in the ACP :(

Luky 05-07-2007 08:22 AM

I dont belive there are any options, i dont see a need for any.. its a simple mod! :)

Ekka 05-08-2007 08:08 PM

This has saved me a few times already ... great idea. :up:

hambil 05-08-2007 08:14 PM

Quote:

Originally Posted by Dismounted (Post 1242291)
It can be done with only template edits and plugins, I've done it but I deleted the files when you released the hack. :(

Well then do it. I'll co-author you. I'm just really pressed for time and the masses shouldn't suffer for that.

I also plan to add other checks as I think of them btw - thus the generic name 'PostCheck'. For example, I want it to warn about uneven quote tags.

Dismounted 05-09-2007 07:39 AM

To enable in Quick Reply, just follow the instructions.

1./ In the template 'SHOWTHREAD', find:
HTML Code:

<div style="margin-top:$stylevar[cellpadding]px">
Add Below:
HTML Code:

<if condition="$poststarttime = TIMENOW"><input type="hidden" name="poststarttime" value="$poststarttime" /></if>
2./ Upload the attached product XML.

Panagioths 05-10-2007 12:30 PM

thnx for your immediate actions mate. Cheers!

hambil 05-10-2007 06:49 PM

Updated to work with quickreply. See first post.

PoetJA-1975 05-10-2007 08:29 PM

AWESOME HAMBIL! Thanx for the update!

Jacquii.

Luky 05-11-2007 01:09 AM

Finally! :*

Illustrious 05-11-2007 01:37 AM

Awesome, I was waiting for you to update with the quick-reply. Downloaded, installed, nominated, and voted 5 stars. Great hack :).

Illustrious 05-11-2007 01:50 AM

There seems to be a bug where it warns on quick reply every time (at least with the WYSIWYG editor)

Luky 05-11-2007 02:27 AM

Doesnt work.

hambil 05-11-2007 02:44 AM

Fixed.

Luky 05-11-2007 03:00 AM

=/ You fixed the error where it says EVERY quick reply says the message of review post?

hambil 05-11-2007 03:03 AM

Quote:

Originally Posted by Luky (Post 1245378)
=/ You fixed the error where it says EVERY quick reply says the message of review post?

<sarcasm>No, I fixed some random errors and ignored the ones people posted about. </sarcasm>

Yes, that is what I fixed ;)

Luky 05-15-2007 12:01 PM

I think you lie, because it didnt work when i tried it at the time i posted, its been fixed again since then?

Panagioths 05-15-2007 03:57 PM

I think that you do something wrong. The bug is fixed mate.

BigJimTheLug 05-15-2007 04:15 PM

*INstalled* this is so cool!

bkaul 05-16-2007 02:18 PM

Quote:

Originally Posted by hambil (Post 1245381)
<sarcasm>No, I fixed some random errors and ignored the ones people posted about. </sarcasm>

Yes, that is what I fixed ;)

I'm seeing this problem on my forum as well, and I just downloaded the latest version of the product about 30 seconds ago.

Edit: Hrm... well, I was seeing this, then I hard deleted the test post where I had first noticed it, and now it's not occurring anymore on subsequent posts. Weird :confused:

bkaul 05-16-2007 02:25 PM

V 1.1 is installed and looks good. Suggested enhancement for future version: use AJAX to update the showthread page with the new post when using Quick Reply :)

bkaul 05-16-2007 08:52 PM

One other issue I hadn't noticed (as an admin), but my users are reporting -
the minimum time between posts setting (default = 60 seconds for flood prevention) is enforced between the initial attempt to submit and the resubmission when this product interrupts them. I've dropped the minimum post time setting from where I had it at 10 seconds down to 1, so this shouldn't be a practical problem for me, but for larger boards where flood prevention is important, this could become an issue. Every time a regular user tries to submit, if someone's posted in front of them, they'll have to wait another xx seconds to retry, and if someone else has posted in that time, they'll have to wait again, etc.

Obviously disabling the flood prevention delay works around this entirely, but it might be something to look into for the future.

gutterboy 05-16-2007 11:56 PM

Quote:

Originally Posted by bkaul (Post 1249075)
One other issue I hadn't noticed (as an admin), but my users are reporting -
the minimum time between posts setting (default = 60 seconds for flood prevention) is enforced between the initial attempt to submit and the resubmission when this product interrupts them. I've dropped the minimum post time setting from where I had it at 10 seconds down to 1, so this shouldn't be a practical problem for me, but for larger boards where flood prevention is important, this could become an issue. Every time a regular user tries to submit, if someone's posted in front of them, they'll have to wait another xx seconds to retry, and if someone else has posted in that time, they'll have to wait again, etc.

Obviously disabling the flood prevention delay works around this entirely, but it might be something to look into for the future.

Yeah... I installed the latest version & one of my users was testing it & stated the below & saying it was like he was in like a kinda loop..

"I try to quick reply; It gives me the "a new reply has been posted" message; I hit "okay" and try to quick reply again; it gives me the "this forum requires that you wait XX seconds between posts message; I hit okay and try to quick reply; it gives me the "a new reply has been posted"".

Have disabled it for now..... but thanks for your continued work on this! :)

hambil 05-17-2007 12:24 AM

Quote:

Originally Posted by gutterboy (Post 1249162)
Yeah... I installed the latest version & one of my users was testing it & stated the below & saying it was like he was in like a kinda loop..

"I try to quick reply; It gives me the "a new reply has been posted" message; I hit "okay" and try to quick reply again; it gives me the "this forum requires that you wait XX seconds between posts message; I hit okay and try to quick reply; it gives me the "a new reply has been posted"".

Have disabled it for now..... but thanks for your continued work on this! :)

That's interesting. I'll see if I can disable flood checking for the resubmitted post, since it's not really appropriate.

dxguru 05-17-2007 07:51 AM

I've also got the problem where a quick reply ALWAYS says there has been a new post on the first submit :(

PoetJA-1975 05-17-2007 07:34 PM

Quote:

Originally Posted by gutterboy (Post 1249162)
Yeah... I installed the latest version & one of my users was testing it & stated the below & saying it was like he was in like a kinda loop..

"I try to quick reply; It gives me the "a new reply has been posted" message; I hit "okay" and try to quick reply again; it gives me the "this forum requires that you wait XX seconds between posts message; I hit okay and try to quick reply; it gives me the "a new reply has been posted"".

Have disabled it for now..... but thanks for your continued work on this! :)

Same thing here. I had to uninstall, but will look forward to the next update and bugs are worked out ;)

Jacquii.

hambil 05-17-2007 09:50 PM

Quote:

Originally Posted by dxguru (Post 1249313)
I've also got the problem where a quick reply ALWAYS says there has been a new post on the first submit :(

I have this running on my board and do not have this problem. I suspect the template edit has failed for you and the others reporting this issue - probably due to skin or other customization. Turn off auto-replace in the hacks settings, and manually update your template.

Mrdby 05-18-2007 07:26 PM

3.6.6?


All times are GMT. The time now is 01:28 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.01424 seconds
  • Memory Usage 1,824KB
  • 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_html_printable
  • (16)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
  • (40)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