0

ok have a problem in a chat i have made, everything is working but the user list , in my assets file in swf i have the following under a config xml

<?xml version="1.0"?><config
     musicPlayer="true"      
     multipleCamBroadcast="true"
     webcamToWebcam="true"   
     userHasList="true"
     userListDefaultOpened="true"
     autoAcceptPrivateInvitations="false"
     showTipInChat="true"
     showTipToViewersInPopUp="true"
     topicEnabled = "true"
>

then in the same assets folder i have a uselist xml and a userlist php which look like these

<?xml version="1.0" encoding="utf-8"?>
<list>
    <user>
        <userName>UserName1</userName>
        <userId>v1</userId>
        <color>0xFF0000</color>
    </user>

    <user>
        <userName>UserName2</userName>
        <userId>v2</userId>
        <color>0x654399</color>
    </user>
    </list>

and the php code is

<list>
    <viewer
        username ="UserName1"
        userid="v1"
        color="#FF0000"
    />

    <viewer
        username ="UserName2"
        userid="v2"
        color="#654399"
    />
    </list>

i shortened those because its the same code over and over just userid diff.
i have the user list showing up in the page on the chat, but it is not populating the user list from known users in the room, is there a simpler way to echo the userlist to the page

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by titansrealm
0

theres a php parsing that, but i solved the problem myself, i went into it and just copied all the code from the model side , renamed it to the user side, and deleted all the code in it that the model has and just gave the user the ability to see user name and post in the chat, and not being able to see the other users money amount on their account. i just had to look at it for awhile

Edited by titansrealm: added more detail to close the thread

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.