Print Page | Close Window

Chat button on my front end pages.

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=30951
Printed Date: 30 March 2026 at 11:43am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Chat button on my front end pages.
Posted By: WebCity
Subject: Chat button on my front end pages.
Date Posted: 13 February 2014 at 5:15pm
Hello everyone,

I have a chat with other members button on my front end pages of my website.  The button is using the java script code when a member is logged in.  When I tested it out it pulled up the window with a database error, I was hoping it would point me to the login page.  I also tested this while in the forum directory and it come up with the same result.

The question is there a way I can check to see if your logged in before the java code is executed?  If your not logged in it will redirect you to the login page.  If you are then it loads as normal.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net