Print Page | Close Window

Messages at the time

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=30698
Printed Date: 28 March 2026 at 5:52am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Messages at the time
Posted By: Roberto Randall
Subject: Messages at the time
Date Posted: 07 March 2013 at 9:58pm
I inserted a code for each one minute check if I have new messages. It is made with jQuery.

Hope you like for a new update. I do not have to cause problems in the future.

What do you think?
In the Head:
<script src="Scripts/jquery-1.9.0.js" type="text/javascript"></script>
<%
'If the user has logged in then the Logged In User ID number will not be 0 and not 2 for the guest account
If lngLoggedInUserID <> 0 AND lngLoggedInUserID <> 2 Then
%>
<script type="text/javascript">
setInterval(function() {
    $("#userProfileMemberPM").load(location.href+" #userProfileMemberPM","");
}, 60000);
</script>
<%
End If
%>
In status_bar_header_inc.asp:
<div id="userProfileMemberPM"><!-- #include file="pm_check_inc.asp" --></div>
 
 


-------------
https://www.lanocion.es - https://www.lanocion.games - https://www.lanocion.chat



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