Author |
Topic |
stwilson
Junior Member
USA
385 Posts |
Posted - 12 June 2002 : 00:46:13
|
quote:
Any ideas?
Please....anyone have any ideas???? Your reply is much appreciated.
STW
|
|
|
stwilson
Junior Member
USA
385 Posts |
Posted - 13 June 2002 : 03:29:00
|
quote:
I have a new problem that just recently started to happen. I recently switched hosts (now on UK host) and am not sure if that is the problem.
My pager still works but it does not page until a long time, like 10 minutes. You can switch between screens in the forum and it will not page. Then about 10 minutes later it will.
Any ideas?
STW
OK, I did some more testing and what really happens is that it only pages when I click on the page link. So I will page myself and it does not deliver the page until I click on the page link a second time. Any ideas?
STW
|
|
|
ROB
Junior Member
USA
347 Posts |
Posted - 13 June 2002 : 11:51:26
|
I'm confused by your problem. When you say you "page" yourself, you're really sending yourself a private message, right? The PM Pager (when it loads or refreshes) will check to see if you have any new, unread private messages and if so, pop them up in a new window.
You mention that you're not getting the pop-up until you click the "page" link a second time. What link is that?
Jeff Hester :: BigBlueBall.com - Everything about instant messaging
|
|
|
stwilson
Junior Member
USA
385 Posts |
Posted - 13 June 2002 : 20:32:02
|
quote:
I'm confused by your problem. When you say you "page" yourself, you're really sending yourself a private message, right? The PM Pager (when it loads or refreshes) will check to see if you have any new, unread private messages and if so, pop them up in a new window.
You mention that you're not getting the pop-up until you click the "page" link a second time. What link is that?
I click on the Pager link, send myself a page, and move all over the site.....and it does not pop up the page(private message). It does not pop up the first page until I click on the Pager link a second time.
STW
|
|
|
stwilson
Junior Member
USA
385 Posts |
Posted - 13 June 2002 : 20:37:57
|
Not too sure if it is relevant but I recently moved to a UK server/host. Could it be related to that? The timing was such that the pager stopped working at the same time.
STW
|
|
|
ROB
Junior Member
USA
347 Posts |
Posted - 13 June 2002 : 22:45:12
|
I don't see how it could be related to the server. What happens if you send yourself a PM, then refresh the pager window (F5)??
Jeff Hester :: BigBlueBall.com - Everything about instant messaging
|
|
|
stwilson
Junior Member
USA
385 Posts |
Posted - 14 June 2002 : 02:49:45
|
quote:
I don't see how it could be related to the server. What happens if you send yourself a PM, then refresh the pager window (F5)??
Nothing. That is the problem.
STW
|
|
|
stwilson
Junior Member
USA
385 Posts |
Posted - 16 June 2002 : 13:06:55
|
Is it possible that my installation of the Active Users is suspect? Not sure where to turn now, since I have checked the Pager Code and everything looks good. I have also checked the Active User Code, without finding the culprit.
To restate my problem: Pages are not "popped" on the screen unless the user clicks on the Pager link. The message is delivered to the users mailbox but the Page screen is not popped up on the screen. Any thoughts from the developers (gurus) of the Pager, Active User or Private Messages mods why this is happening? Thanks.
STW
|
|
|
stwilson
Junior Member
USA
385 Posts |
Posted - 18 June 2002 : 02:25:41
|
Any thoughts? Anyone know the details of the Pager MOD?
STW
|
|
|
digmind
Junior Member
Greece
177 Posts |
Posted - 20 June 2002 : 09:38:37
|
I had this problem, i went through and edited a few lines of code under the pager window. i'll post it here and you can copy it out if you would like.
you must have the message window. where it shows the icon and () new messegas. it looks for this to change to pop up the new window. I modifided mine to not allow users to go to the inbox, but it still shows the number of messegas. i did this by just removing icon, adn the <a href'> lines. u must keep the rest though.
I have one question for everyone though. I have everything working great, active users/pm pager but only if someone actually goes to the forum page does it show them as active. i have this working throught my site and want them to be seen as active. if i send a message to someone the pager does it's job. just though doesn't show them as active. anyway i can do this?
DigMind
Thryle 7 |
|
|
stwilson
Junior Member
USA
385 Posts |
Posted - 26 June 2002 : 01:35:22
|
quote:
I had this problem, i went through and edited a few lines of code under the pager window. i'll post it here and you can copy it out if you would like.
DigMind
Thanks DigMind....looking forward to your post with the fix.
STW
|
|
|
digmind
Junior Member
Greece
177 Posts |
Posted - 26 June 2002 : 02:49:20
|
I removed some peices in here, and replaced some lines with the orig again. i'm not sure exactly where the problem was but try it, it is in pm_pop_pager.asp around line 143.
<% ' Get Private Message count if strDBType = "access" then strSqL = "SELECT count(M_TO) as [pmcount] " else strSqL = "SELECT count(M_TO) as pmcount " end if strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS , " & strTablePrefix & "PM " strSql = strSql & " WHERE " & strMemberTablePrefix & "MEMBERS.M_NAME = '" & strDBNTUserName & "'" strSql = strSql & " AND " & strMemberTablePrefix & "MEMBERS.MEMBER_ID = " & strTablePrefix & "PM.M_TO " strSql = strSql & " AND " & strTablePrefix & "PM.M_READ = 0 "
Set rsPM = my_Conn.Execute(strSql) pmcount = rsPM("pmcount") %>
<% if strDBNTUserName = "" Then %> <IMG SRC="icon_pmdead.gif" align=absmiddle border=0 hspace=6> Please Login</font> <% else if pmcount = 0 then %> <IMG SRC="icon_pm.gif" align=absmiddle border=0 hspace=6>(<% =pmcount %>) new messages<A HREF="pm_view.asp" target="_new"></a>.</font> <% end if if pmcount >= 1 then %> <EMBED SRC="newmsg.wav" WIDTH=1 HEIGHT=1 HIDDEN="true" AUTOSTART="true" LOOP="false" volume="100"></EMBED> <% strSql = "SELECT " & strMemberTablePrefix & "MEMBERS.MEMBER_ID, " & strMemberTablePrefix & "MEMBERS.M_NAME, " & strTablePrefix & "PM.M_ID, " & strTablePrefix & "PM.M_TO, " & strTablePrefix & "PM.M_SUBJECT, " & strTablePrefix & "PM.M_SENT, " & strTablePrefix & "PM.M_FROM, " & strTablePrefix & "PM.M_READ " strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS , " & strTablePrefix & "PM " strSql = strSql & " WHERE " & strMemberTablePrefix & "MEMBERS.M_NAME = '" & strDBNTUserName & "'" strSql = strSql & " AND " & strMemberTablePrefix & "MEMBERS.MEMBER_ID = " & strTablePrefix & "PM.M_TO " strSql = strSql & " ORDER BY " & strTablePrefix & "PM.M_SENT DESC"
Set rsMessage = my_Conn.Execute(strSql)
i = 0 do Until rsMessage.EOF or (i = 3)
strSql = "SELECT " & strMemberTablePrefix & "MEMBERS.MEMBER_ID, " & strMemberTablePrefix & "MEMBERS.M_NAME, " & strTablePrefix & "PM.M_ID " strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS , " & strTablePrefix & "PM " strSql = strSql & " WHERE " & strMemberTablePrefix & "MEMBERS.MEMBER_ID = " & rsMessage("M_FROM") & ""
Set rsFrom = my_Conn.Execute(strSql) if rsMessage("M_READ") = "0" then %> <script language=javascript>window.open('pm_pop_read.asp?id=<% =rsMessage("M_ID") %>','_blank','width=490,height=340,top=75,left=220,scrollbars=yes')</script> <% i = i + 1 end if rsMessage.MoveNext Loop
%> (<font color="<% =strActiveLinkColor %>"><b><% =pmcount %></b></font>) new <% if pmcount = 1 then %>message<% else %>messages<% end if %><A HREF="pm_view.asp" target="_new"></a>.</font> <% end if end if %> </td> </tr> <tr> <form name="ReloadFrm" action="pm_pop_pager.asp" method="post"> <td bgcolor="<% =strForumCellColor %>" height="10" valign="middle" align="right" nowrap> <select name="RefreshTime" size="1" onchange="autoReload();" style="font-size:10px;"> <option value="0" <% if nRefreshTime = "0" then Response.Write(" SELECTED")%>>Don't auto refresh</option> <option value="3" <% if nRefreshTime = "3" then Response.Write(" SELECTED")%>>30 second refresh</option> <option value="4.5" <% if nRefreshTime = "4.5" then Response.Write(" SELECTED")%>>45 second refresh</option> <option value="6" <% if nRefreshTime = "6" then Response.Write(" SELECTED")%>>1 minute refresh</option> <option value="12" <% if nRefreshTime = "12" then Response.Write(" SELECTED")%>>2 minute refresh</option> <option value="30" <% if nRefreshTime = "30" then Response.Write(" SELECTED")%>>5 minute refresh</option> </select> </td> <input type="hidden" name="Cookie" value="1"> </form> </tr> <% if maxpages > 1 then
%>
Thryle 7 |
|
|
yves
Starting Member
32 Posts |
Posted - 20 August 2002 : 18:30:48
|
Can anyone post a modified and working version of the PM Pager 2.1 mod for use with the Active Users 4007 and PM 3.3 mods on Snitz 3305. I'm afraid I might forget/oversee some fixes when implementing a changed PM Pager 2.1 as described above.
Cheers!
|
|
|
Topic |
|