Customers
Other Links
View previous topic :: View next topic
Author
Message
kmc127
Posted: Tue Oct 17, 2006 9:35 am Post subject: Temp Server Name
Hey Guys,
I have temp servers working on my domain (yay) I have been trying to make it nicer now, and I cant get one thing to change... the default server name.
For some reason the name always comes up as kmc127's server. I have tried these things:
I changed the main login for my gamecreate domain to fire-fight (was kmc127)
I changed the default temp server name to: Fire-Fight Temp Server in my domain
I have logged in under 3 users, kmc127, oddworld14, and fire-fight.
I am using your examples with external auth and temp servers, if you need to see the pages I would rather do it in PM with this testing phase =).
I know I am logging in with different usernames because I have it echo at the top of the page what user I am using.
Any other ideas?
Thanks
Kyle
Back to top
adbot
Posted: Thu Mar 31, 2011 3:57 am
kmc127
Posted: Tue Oct 17, 2006 9:40 am Post subject:
Maybe temp servers are not what I am thinking. It seems like any user can edit any other users server?
Back to top
kmc127
Posted: Tue Oct 17, 2006 9:41 am Post subject:
CODE:
$userinfo = array("__domainlogin__" => "fire-fight",
"__domainpassword__" => "XXXXXXX",
"__externalid__" => intval($userid),
"__externalname__" => $username);
username and userid are taken from the session from the phpdb =) Am I using this part of the code correctly?
Thanks
Kyle
Back to top
kmc127
Posted: Tue Oct 17, 2006 10:54 am Post subject:
This was my fault, it is user_id and not userid...
Thanks and sorry for wasting your time!
Kyle
Back to top
Andrew Mammoth
Posted: Tue Oct 17, 2006 3:30 pm Post subject:
Good to see you worked it out
Back to top
All times are GMT + 10 Hours
Page 1 of 1
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Forum powered by phpBB © 2001, 2005 phpBB Group