|
|||
|
Actually, it used to auto create a new window for profiles. This has recently stopped and it just loads profile URLs in the same window as the chat control.
Any work on fixing this bug? - Compu |
|
|||
|
Did you purchased the golden package or the client source code ?
If you have the src, you can edit the functions.as file for the profile section, it's easily to do it by your self , if you want our enginner to help you generate such a client, please send an email to support@123flashchat.com, we would like to make such a client for you, we charge 1 hour service fee. ![]() |
|
|||
|
OK, glad to hear that you have the src code, I'll post the details here for popup the custom profile page.
I've tested in IE and firefox, it won't be blocked by the popup-killer software. 1. open buttons.as file: find the function: Code:
function clickProfile(who, profileUrl) {
var thisUrl = _root.getReplaceStr(profileUrl, who, "%USER%");
getURL(thisUrl, "_blank");
}
now the function is: Code:
function clickProfile(who, profileUrl) {
var thisUrl = _root.getReplaceStr(profileUrl, who, "%USER%");
getURL(thisUrl, "_top");
}
generate a new swf file. 2. open client.xml file: find the profileUrl section, set: Code:
<profileUrl enable="true">
<item name="Profile" url="javascript:openProfile('%USER%')" />
</profileUrl>
Code:
<script language="javascript">
function openProfile(who)
{
window.open ("http://myprofileurl?userid=" + who, null, "height=500, width=600, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=yes,location=no, status=no");
}
</script>
4. open "<123flashchat server installed folder>/etc/groups/default.xml" find: <change-nick enable="On" enableCustomProfile="On"></change-nick> set it to: <change-nick enable="On" enableCustomProfile="Off"></change-nick> restart the chat server, it should be working now, ![]() |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|