Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - PM in Profile Bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

PM in Profile Bug

 Post Reply Post Reply
Author
bruce View Drop Down
Groupie
Groupie
Avatar

Joined: 16 April 2003
Location: United States
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote bruce Quote  Post ReplyReply Direct Link To This Post Topic: PM in Profile Bug
    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.

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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>



Edited by -boRg-
Back to Top
bruce View Drop Down
Groupie
Groupie
Avatar

Joined: 16 April 2003
Location: United States
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote bruce Quote  Post ReplyReply Direct Link To This Post Posted: 01 February 2004 at 12:06pm
Thanks Borg!
Back to Top
recordere.dk View Drop Down
Newbie
Newbie


Joined: 01 February 2004
Location: Denmark
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote recordere.dk Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
recordere.dk View Drop Down
Newbie
Newbie


Joined: 01 February 2004
Location: Denmark
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote recordere.dk Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.