1
saeed
Help me with this proplem ! (live help and xoops user name )
  • 2005/3/21 12:09

  • saeed

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/9/27


Hello .

I want to use Crafty Syntax Live Help in my XOOPS site and I want that my users can use their username in live chat sesion . I read something in Crafty Syntax Live Help and I dont know how can I use this feature . please help me :


Crafty Syntax Live Help :

PHP Coded username: If the CSLH code is included in a PHP webpage which is used by another application that already gives the user a username you can pass their username to CSLH here. For example if you have the username for the user already stored in $_SESSION['username'] you can give that value to CSLH by entering in
<? echo'$_SESSION['username']'?> below. NOTE the page that the code is on needs to be a php page in order for this to work.



2
saeed
Re: Help me with this proplem ! (live help and xoops user name )
  • 2005/3/21 22:42

  • saeed

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/9/27


Any suggestion ?

3
ackbarr
Re: Help me with this proplem ! (live help and xoops user name )

the XOOPS username is stored in $xoopsUser->getVar('uname') putting that in instead of $_SESSION['username'] in your example should work.

Login

Who's Online

115 user(s) are online (55 user(s) are browsing Support Forums)


Members: 0


Guests: 115


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