timer for send message please wait one minute

Is there a module for sale that displays how long somebody has to wait?

Deano, I'm talking to you... :)

timer.png · 209.8K · 216 views
Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970
Quote · 7 Nov 2013

Already covered in the forums a number of times.

Here is one of them. http://www.boonex.com/forums/topic/Changing-mailbox-setting-for-You-have-to-wait-for-1-minute-s-.htm

The wait time is a flood control thing. http://en.wikipedia.org/wiki/Flood_control_communications) most often used in forums or in IRC. Mostly to help curb spammers.

https://www.deanbassett.com
Quote · 7 Nov 2013

Deano-

I was looking for a "timer" so the customer would know how much longer they would have to wait.

Like a little java countdown timer...

I understand everything else...

Thanks!

Peer

Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970
Quote · 7 Nov 2013

None that i am aware of.

https://www.deanbassett.com
Quote · 7 Nov 2013

I am working on something...

I will post the code when it is complete..

P.

Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970
Quote · 7 Nov 2013

Draft of what it will look like..

javatimer.png · 112.2K · 243 views
Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970
Quote · 7 Nov 2013

 

Draft of what it will look like..

What would be nice if the "click here"  to send another message was greyed out or inactive.  On the default Dolphin, you can click that at any time.  Really neat is to hide the Click Here until the timer counts down and the link can then be shown.

Geeks, making the world a better place
Quote · 7 Nov 2013

So- this at least lets the user know how much longer they have to wait... note it is hard coded for 60 seconds.

<font color="#0000A0"><b>

 

<script type="text/javascript">

// set minutes

var mins = 1;

 

// calculate the seconds (don't change this! unless time progresses at a different speed for you...)

var secs = mins * 60;

function countdown() {

setTimeout('Decrement()',1000);

}

function Decrement() {

if (document.getElementById) {

minutes = document.getElementById("minutes");

seconds = document.getElementById("seconds");

// if less than a minute remaining

if (seconds < 59) {

seconds.value = secs;

} else {

minutes.value = getminutes();

seconds.value = getseconds();

}

secs--;

setTimeout('Decrement()',1000);

}

}

function getminutes() {

// minutes is seconds divided by 60, rounded down

mins = Math.floor(secs / 60);

return mins;

}

function getseconds() {

// take mins remaining (as seconds) away from total seconds remaining

return secs-Math.round(mins *60);

}

</script>

</head>

<body>

 

<div id="timer">

You must wait <input id="minutes" type="text" style="width: 14px; border: none; background-color:none; font-size: 16px; font-weight: bold;"> minutes and <input id="seconds" type="text" style="width: 26px; border: none; background-color:none; font-size: 16px; font-weight: bold;"> seconds before you can send another message.

</div>

<script>

countdown();

</script>

</b></font>

<font color="#0000A0"><b>

When the counter hits 0 

 

 <a href="{1}">[Click here] </a>

 

 <font color="#0000A0"><b>

to send another message.

 

</b></font>

 

 

timerworking.png · 35.2K · 224 views
Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970
Quote · 7 Nov 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.