vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Timer on message editor. (https://vborg.vbsupport.ru/showthread.php?t=112087)

BRC2 04-03-2006 05:32 PM

Timer on message editor.
 
I'm looking for a countdown timer to add to the thread/post/PM editor to show the amount time remaining before the session times out.

"You have x minutes x seconds remainging to complete your message"

The timer should use the "Time-Out for Cookie" value from the ACP and should be restarted when the message is previewed or other action is taken to restart the session time.

Thanks,
B

bbcentral 09-12-2006 03:51 AM

I just had an email from one of my members who was very angry about losing posts. I have a timeout of 900 seconds on my forum, which I refuse to change. But if someone spends 25 minutes writing a long post, they will lose it when they press 'submit'.
A countdown timer would be great, but I can't find in the documentation how to add something like this. I have no idea how to build a plugin, but what I thought is that it could be:
"You have x minutes x seconds remainging to complete your message"
counting down underneath the post box (above the submit button).
When it hits zero it would change to a message that says:
"Your session has expired, please copy your message elsewhere before continuing or else you will lose what you have written".
It could possibly add a javascript 'confirm' to the Submit button explaining that you will probably lose your post.
Ideally it would popup a small login form in a 400x400 window, so you just have to re-enter your password and then it will let you post.
If only I knew how to write plugins, but I really don't have the time to learn and then write this, so I guess we're going to have to put up with user complaints :)

OmniBuzz 01-24-2007 11:02 AM

I need the same thing...


All times are GMT. The time now is 07:29 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.01392 seconds
  • Memory Usage 1,705KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete