Page 1 of 1

Direct to login /register page

Posted: Sun Jan 01, 2012 4:19 pm
by Clarence
When a visitor clicks the Chat button they are popped out to a blank page with the following ...
"AJAX Chat © 2007 StarTrekGuide To view chat, you must be registered and logged in." They need to hit their browser Back button to get back into the site. I would like them to be redirected to the login / register page. I looked into the overall_header.html but I cant see what might be missing. what can be done?

Re: Direct to login /register page

Posted: Sat Jan 07, 2012 5:29 pm
by spaceace
in the file menu.html, put an <!-- IF S_USER_LOGGED_IN --> statement around the button. that will make it so only those that are logged in can see it.

Re: Direct to login /register page

Posted: Sun Jan 08, 2012 3:34 am
by Clarence
Simple - - - but genius!
Thanks. :D