Print Page | Close Window

PM in Profile Bug

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=9442
Printed Date: 07 April 2026 at 8:16pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: PM in Profile Bug
Posted By: bruce
Subject: PM in Profile Bug
Date Posted: 01 February 2004 at 11:41am

It took me awhile to track this down, but I think I've narrowed it down to having apostrophe's in the user names. I.E. Tester' or Test'me anything with an apostrophe in the name.

When an apostrophe is in the name and you click on the PM button in the user profile it does not work.




Replies:
Posted By: WebWiz-Bruce
Date Posted: 01 February 2004 at 11:54am
Change line 383 of the file pop_up_profile.asp to the following:-

<td background="<% = strTableProfileBgImage %>"
bgcolor="<% =(strTableRowProfileColour) %>"  class="text"><%
Response.Write("<a
href=""javascr ipt:openInMainWin('pm_new_message_form.asp?name="  &
Server.URLEncode(Replace(strUsername, "'", "\'",  1, -1, 1)) &
"')""><img src=""" & strImagePath & "pm_icon.gif"" 
border=""0"" align=""absmiddle"" alt=""" & strTxtSendPrivateMessage
& """></a>") %></td>



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: bruce
Date Posted: 01 February 2004 at 12:06pm
Thanks Borg!


Posted By: recordere.dk
Date Posted: 01 February 2004 at 12:20pm

Hi All

In the official release 7.7 I found this to be line 376

I don't know if this fix should solve the "UBound profile bug" or its for something else. If not, please bare with me, but theres no difference here applying the fix. The profile bug still exist, and I have no user names with apostrophe (' or ").

  /Lars



-------------
Webmaster - http://www.recordere.dk
Denmarks AV Magazine


Posted By: WebWiz-Bruce
Date Posted: 01 February 2004 at 12:30pm
Do a search for the UBound problem in the profile page, I have already answered that one today already and a search will bring up 8 other posts on that.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: recordere.dk
Date Posted: 01 February 2004 at 12:36pm

Sorry, thought that your reply here might be for that one. Ouch

I'll return to my hole...

  /Lars



-------------
Webmaster - http://www.recordere.dk
Denmarks AV Magazine



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