PHPFootball Forum Forum Index Log in to check your private messages Register Log in FAQ Search Memberlist Usergroups
change the admin user name

 
Post new topic   Reply to topic    PHPFootball Forum Forum Index -> Feature Request Ver 1.2 Test
View previous topic :: View next topic  
Author Message
todhend



Joined: 18 Nov 2005
Posts: 53

PostPosted: Sun Feb 11, 2007 9:15 pm    Post subject: change the admin user name Reply with quote

Is there an easy way to change the admin user name to something else? , I have several pools and when an admin logs in they are logged in to all other pools too.
_________________
TH
Back to top
View user's profile Send private message Send e-mail Visit poster's website
todhend



Joined: 18 Nov 2005
Posts: 53

PostPosted: Tue Feb 13, 2007 9:58 am    Post subject: I found it, it's in the database Reply with quote

I found it, it's in the database
_________________
TH
Back to top
View user's profile Send private message Send e-mail Visit poster's website
boofer



Joined: 20 Aug 2005
Posts: 33

PostPosted: Tue Feb 13, 2007 1:01 pm    Post subject: Reply with quote

Correct me if I'm wrong, it's been over a year since I tore thru most of the PHP code but, I thunk I remember the username "admin" as being setup to be ignored as a pool member. If you were to change the "admin" username to say "todhend", "todhend" would then start showing up in the results lists. Which isn't horrible but along with that, I think there is a lot of other things that are only displayed is the username is "admin". It really shouldn't be hard coded like that but, it's going to be like that for awhile. I suggest to not change the username "admin" unless you've gone thru and changed all the hard coded references also.
Back to top
View user's profile Send private message
todhend



Joined: 18 Nov 2005
Posts: 53

PostPosted: Tue Feb 13, 2007 1:50 pm    Post subject: I pretty much had the same thoughts Reply with quote

I pretty much had the same thoughts; there are a lot of hard coding including users, registration, email, and cookies, which are hard to change without more knowledge. I always dabble to the point where I get stuck then put it on the back burner!
I did find it in the variables table in the database and it worked but I have not tested it during the season yet

Thanks

_________________
TH
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghgarcia
Site Admin


Joined: 27 Jul 2005
Posts: 695

PostPosted: Wed Feb 14, 2007 7:41 pm    Post subject: Reply with quote

If you change the name in the variables table everything will still work correctly since the php scripts are looking at the admin_username and comparing it to the logged in user. I will add a option in version 2.0 to ask for an admin name at install or update time.

Thanks,
G
Back to top
View user's profile Send private message Send e-mail
todhend



Joined: 18 Nov 2005
Posts: 53

PostPosted: Wed Feb 14, 2007 8:21 pm    Post subject: Reply with quote

that would be great, thanks
_________________
TH
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    PHPFootball Forum Forum Index -> Feature Request Ver 1.2 Test All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2002 phpBB Grou p

design by boo ©eZ-Life.net  A designer community