In Ray chat, the link to profile URL is wrong and therefore can't open profile page. Anyone know where to edit this?
In Ray chat, the link to profile URL is wrong and therefore can't open profile page. Anyone know where to edit this? |
tested and works fine on new install hours old I have video tutorials to help you mrpowless.com |
thanks for checking. Did you have permalinks enabled? I am using permalinks. For me, when you click the View Profile of the member in Chat or IM, it opens a new tab, but can't be found because there's no / between the site url and profile. example http://mysite.comjoe_smith I didn't dink with anything here... so don't know why it could be messed up. Any ideas on where I could look? |
I'm having this problem too. It looks like not many ppl are having this issue. Have you managed to solve it? |
Thanks to Ray, I finally managed to solve this problem. I'll try to put up solutions to whatever problems I face so that whoever faces it in the future would get the solutions straightaway. Ray pointed out to me the file and function that I should modify, namely customsfunction.inc.php. This file can be found in ray/modules/global/inc. The function to look out for is getuserinfo(). Change this line: $sProfile = $sModRewrite == "on" ? $sRootURL . $sNick : $sProfileUrl . "?ID=" . $sId; To this: $sProfile = $sModRewrite == "on" ? $sRootURL . "/".$sNick : $sProfileUrl . "?ID=" . "/".$sId; That's all there is to it. Credit goes to Ray for pointing me in the right direction. I came up with the solution myself. Hope it helps :) |