Script to redirect users from a HTML page, if they haven't posted on a thread?
2 posters
Page 1 of 1
Script to redirect users from a HTML page, if they haven't posted on a thread?
So I have this code and it detects whether someone is logged in or not. If they aren't logged in, it redirects them to a thread.
<script type="text/javascript">
if (!document.getElementById('logout')) window.location.pathname = "/t2-example-example";</script>
However I want a code that detects whether someone has posted on a thread, before they can enter a HTML page. If they haven't posted, then it would redirect them to the thread.
<script type="text/javascript">
if (!document.getElementById('logout')) window.location.pathname = "/t2-example-example";</script>
However I want a code that detects whether someone has posted on a thread, before they can enter a HTML page. If they haven't posted, then it would redirect them to the thread.
Re: Script to redirect users from a HTML page, if they haven't posted on a thread?
Do not start multi-threads about the same issue/question.
Use this one - https://help.forumotion.com/t133542-chatbox-and-html-questions
Topic Locked
Use this one - https://help.forumotion.com/t133542-chatbox-and-html-questions
Topic Locked


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

» HTML Page Login Form redirect to another Html Page when failed
» New HTML page & link to new thread
» Redirect users to an article on the home page...
» Html page will not redirect to forum Solved
» How can i make my homepage redirect to a html page
» New HTML page & link to new thread
» Redirect users to an article on the home page...
» Html page will not redirect to forum Solved
» How can i make my homepage redirect to a html page
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum