<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Redirect timer?</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Thu, 14 May 2026 02:23:26 -0000</pubDate>

		<item>
			<title>pieter</title>
			<description><![CDATA[What do you mean OC?<br />
Is this standard in new version?<br />
<br />
I guess: <a href="http://trac.cotonti.com/ticket/266">http://trac.cotonti.com/ticket/266</a>]]></description>
			<pubDate>Thu, 16 Apr 2009 21:19:08 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2550&d=0#post11491]]></link>
		</item>
		<item>
			<title>oc</title>
			<description><![CDATA[Obsolete.]]></description>
			<pubDate>Thu, 16 Apr 2009 21:11:33 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2550&d=0#post11490]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[\system\core\message\<br />
<br />
1st instance: line 154<br />
2nd instance: line 164<br />
<br />
I tried it, first one works, but not the countdown.<br />
Some error in the script. Some &quot; are missing I guess.<br />
<br />
For me he displays 2 seconds. Can I change it?]]></description>
			<pubDate>Thu, 16 Apr 2009 18:02:51 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2550&d=0#post11482]]></link>
		</item>
		<item>
			<title>gamer24.7</title>
			<description><![CDATA[Where are the instances in message.inc.php?]]></description>
			<pubDate>Thu, 16 Apr 2009 17:48:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2550&d=0#post11480]]></link>
		</item>
		<item>
			<title>TwistedGA</title>
			<description><![CDATA[The way error message redirection works is through the use of META tags. In it's current state, you can do this very easily. The countdown will need to be implemented, but showing the user the seconds, only takes editing two lines in the message.inc.php.<br />
<br />
Replace the 2(Two) instances of:<br />
<div class="highlight"><pre class="php">
	$body .= &quot;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&quot;.$L&#091;'msgredir'&#093;;
</pre></div>
<br />
First instance:<br />
<div class="highlight"><pre class="php">
	$body .= &quot;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&quot;.$L&#091;'msgredir'&#093;.&quot; 2 &quot;.$L&#091;'Seconds'&#093;.&quot; &quot;;
</pre></div>
<br />
Second instance:<br />
<div class="highlight"><pre class="php">
	$body .= &quot;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&quot;.$L&#091;'msgredir'&#093;.&quot; &quot;.$rd.&quot; &quot;.$L&#091;'Seconds'&#093;.&quot; &quot;;
</pre></div>
<br />
I can work on the countdown if you think it would be worth it. <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":-)" /><br />
<br />
Well, I'm bored and wanted something new to do. I'm sure theres a better method for this, but a working countdown can be added using these two instead of the ones above.<br />
<br />
First Instance:<br />
<div class="highlight"><pre class="code">
	$body .= &quot;
        &lt;br /&gt;&amp;nbsp;&lt;br /&gt;&quot;.$L&#091;'msgredir'&#093;.&quot; 2 &quot;.$L&#091;'Seconds'&#093;.&quot; 
        &lt;script&gt;
                var milisec=0
                var seconds=3
                document.getElementById(\&quot;d2\&quot;).innerHTML=\&quot;3\&quot;;

                function display(){
                         if (milisec&lt;=0){
                         milisec=9
                         seconds-=1
                }
                if (seconds&lt;=-1){
                milisec=0
                seconds+=1
                }
                else
                milisec-=1
                document.getElementById(\&quot;d2\&quot;).innerHTML=seconds;
                setTimeout(\&quot;display()\&quot;,100)
                }
                display()
        &lt;/script&gt;&quot;
</pre></div>
<br />
Second Instance:<br />
<div class="highlight"><pre class="code">
	$body .= &quot;
        &lt;br /&gt;&amp;nbsp;&lt;br /&gt;&quot;.$L&#091;'msgredir'&#093;.&quot; &lt;label id=\&quot;d2\&quot;&gt;&quot;.$rd.&quot;&lt;/label&gt; &quot;.$L&#091;'Seconds'&#093;.&quot;
        &lt;script&gt;
                var milisec=0
                var seconds=$rd+1
                document.getElementById(\&quot;d2\&quot;).innerHTML=\&quot;$rd+1\&quot;;

                function display(){
                         if (milisec&lt;=0){
                         milisec=9
                         seconds-=1
                }
                if (seconds&lt;=-1){
                milisec=0
                seconds+=1
                }
                else
                milisec-=1
                document.getElementById(\&quot;d2\&quot;).innerHTML=seconds;
                setTimeout(\&quot;display()\&quot;,100)
                }
                display()
        &lt;/script&gt;&quot;;
</pre></div>]]></description>
			<pubDate>Sun, 05 Apr 2009 03:29:43 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2550&d=0#post11058]]></link>
		</item>
		<item>
			<title>robofreak111</title>
			<description><![CDATA[So it would be like:<br />
An error occured, maybe a wrong URL ?<br />
<br />
Redirecting in 5 seconds<br />
<br />
and then 1 second later the 5 would turn into a 4? that really woulndt be too hard...]]></description>
			<pubDate>Sun, 05 Apr 2009 01:06:26 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2550&d=0#post11053]]></link>
		</item>
		<item>
			<title>musiconly</title>
			<description><![CDATA[I have a suggestion for errors which have redirects..<br />
<br />
How about adding a simple countdown to that errors so the user would know that he will be redirected in a short amount of time.<br />
<br />
For example:<br />
<br />
An error occured, maybe a wrong URL ?<br />
 <br />
Redirecting in 5 seconds<br />
<br />
<br />
What you think?]]></description>
			<pubDate>Sun, 05 Apr 2009 00:37:10 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=2550&d=0#post11051]]></link>
		</item>
	</channel>
</rss>