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

Recommended Answers

All 2 Replies

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.