31
toddherrold
Re: Something new about my PM link in 2.2

Congrats! I did that procedure, and yes my users lost all their info, but still no worky!

32
addicti1
Re: Something new about my PM link in 2.2
  • 2005/8/11 12:37

  • addicti1

  • Just popping in

  • Posts: 40

  • Since: 2005/6/7 4


Ok, did that and it did nothing for me. I also went back and added this to MySQL again after the update:

UPDATE `xoops_user_profile` SET `pm_link` = '<a href="java script:openWithSelfMain(''{X_URL}/modules/pm/pmlite.php?send2=1&to_userid={X_UID}'', ''pmlite'', 550, 450);" title="Write a message to {X_UNAME}"><img src="{X_URL}/modules/pm/images/pm.gif" alt="Write a message to {X_UNAME}" /></a>'

when someone new registers then the pm works. Once I added this script the sql then the pm went back to the can not find this page deal again.

Still Confused

33
mixx86
Re: Something new about my PM link in 2.2
  • 2005/8/26 12:47

  • mixx86

  • Just popping in

  • Posts: 14

  • Since: 2005/6/22


Well, after applying the SQL in PHPMyAdmin, and got the exact same result as everyone else in this thread, I checked the error code and found that there are a small error in the SQL.

This is the code that is to be executed:

UPDATE `prefix_user_profileSET `pm_link` = '<a href="javascript:openWithSelfMain(''{X_URL}/modules/pm/pmlite.php?send2=1&to_userid={X_UID}'', ''pmlite'', 550, 450);" title="Write a message to {X_UNAME}"><img src="{X_URL}/modules/pm/images/pm.gif" alt="Write a message to {X_UNAME}" /></a>'


With this, everything should work out just fine

34
mixx86
Re: Something new about my PM link in 2.2
  • 2005/8/26 12:50

  • mixx86

  • Just popping in

  • Posts: 14

  • Since: 2005/6/22


Disregard my previous post. A Space have nestled itself into the codeblock (java script should be javascript), and it makes the fix useless.

Lets test again without codeblock. It should not make a difference. Just copy/paste into phpMyAdmin.

UPDATE `prefix_user_profile` SET `pm_link` = '<a href="javascript:openWithSelfMain(''{X_URL}/modules/pm/pmlite.php?send2=1&to_userid={X_UID}'', ''pmlite'', 550, 450);" title="Write a message to {X_UNAME}"><img src="{X_URL}/modules/pm/images/pm.gif" alt="Write a message to {X_UNAME}" /></a>'

Good Luck!

35
mixx86
Re: Something new about my PM link in 2.2
  • 2005/8/26 12:53

  • mixx86

  • Just popping in

  • Posts: 14

  • Since: 2005/6/22


There simply is no way to actually post the code without a space is inserted between "java" and "script" in this forum

[size=x-large]In the codepiece above, delete the space in java script and make it 'javascript'.[/size]

That should be the last time I have to enter this info

36
toddherrold
Re: Something new about my PM link in 2.2

Mixx86 is my hero! Your new code has resolved this most annoying of problems with XOOPS 2.2!

Thank you, thank you, thank you!!!

Login

Who's Online

120 user(s) are online (71 user(s) are browsing Support Forums)


Members: 0


Guests: 120


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits