1
SLEO577
Having a Serious Script Problem...
  • 2005/9/16 4:44

  • SLEO577

  • Not too shy to talk

  • Posts: 110

  • Since: 2005/6/27


I was hoping someone could help with a script problem I am having. I am running the below script in a "Custom Block (PHP)" and I am trying to get the script to call to the XOOPS database that has the registered members username (nickname). I have got it to start the chatroom and IM program, but it keeps identifying the user as: < ?

I have ran this as a "Custom Block (HTML)" with better results, but still shows the user as: < ?

I have highlighted in RED the code where I believe the problem is, but after a week of pulling out what little hair I left, I am now totally at a lost.
include("../../mainfile.php");
include(
"../../header.php");
?>
CODE='com.net.chat.client.ChatApplet' 
WIDTH='200' HEIGHT='100' ALIGN='middle' 
ARCHIVE=Client.jar 
MAYSCRIPT>









[color=CC0000]echo $GLOBALS['xoopsUser'] ? $GLOBALS['xoopsUser']->getVar('uname') : $GLOBALS['xoopsConfig']['anonymous']; ?>
echo $GLOBALS['xoopsUser'] ? $GLOBALS['xoopsUser']->getVar('uid') : 0 ?>">[/color]

include("../../footer.php");
?>


Just a note, there are no Anonymous user on this website, it is a VPN (Virtual Private Network) for State Employees, so everyone is registered member. I know the chatroom and IM are working as it starts and runs the programs with their autologin, it just will not show their uname.

2
SLEO577
Re: Having a Serious Script Problem...
  • 2005/9/16 13:14

  • SLEO577

  • Not too shy to talk

  • Posts: 110

  • Since: 2005/6/27


I have ran it with the absolute URL and still no luck. I am somehow not getting this script to find the uname.

3
SLEO577
Re: Having a Serious Script Problem...
  • 2005/9/19 16:41

  • SLEO577

  • Not too shy to talk

  • Posts: 110

  • Since: 2005/6/27


*Bump*

4
Herko
Re: Having a Serious Script Problem...
  • 2005/9/19 16:46

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


have you tried value="", adding the "quotes?

Herko

Login

Who's Online

213 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 213


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jan 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits