My Only Real Problem With Lifetype....

My Only Real Problem With Lifetype....

Postby ericinwisconsin on Thu Jun 21, 2007 11:40 pm

Documentation, documentation, documentation.

The wiki seems outdated. For example, when I go to this page:

http://wiki.lifetype.net/index.php/User_data_providers

It tells me:

In order to activate the provider, edit the file config/config.properties.php, comment the lines that reference the currently active provider and comment out the following ones:

First of all, the file I found the provider data in is config/userdata.properties.php, NOT config/config.properties.php. I know what a wiki is and I guess I could change it, but not until I'm sure of what I'm doing.

None of the providers is commented out, even though the wiki says that they are. Should I comment out the ones not being used? Should I comment out the default one? Should I use the file as is?

Shouldn't all of this be selectable from the Admin panel? Granted, it's not rocket science to edit a php file, and I don't claim to be a php programmer, but how difficult would it be to make all of this configurable from inside the program?
ericinwisconsin
 
Posts: 5
Joined: Fri Jun 15, 2007 11:05 am

Re: My Only Real Problem With Lifetype....

Postby phunkphorce on Fri Jun 22, 2007 1:13 am

ericinwisconsin wrote:Documentation, documentation, documentation.

The wiki seems outdated. For example, when I go to this page:

http://wiki.lifetype.net/index.php/User_data_providers

It tells me:

In order to activate the provider, edit the file config/config.properties.php, comment the lines that reference the currently active provider and comment out the following ones:

First of all, the file I found the provider data in is config/userdata.properties.php, NOT config/config.properties.php. I know what a wiki is and I guess I could change it, but not until I'm sure of what I'm doing.


Not to be picky, but this was a typo and not because of an outdated wiki. The right file (userdata.properties.php) was correctly referenced in several other places throughout the document. I have fixed now anyway, thank you.

None of the providers is commented out, even though the wiki says that they are. Should I comment out the ones not being used? Should I comment out the default one? Should I use the file as is?


The settings for the default Lifetype provider (LifetypeUserDataProvider) is not commented, at the top of the userdata.properties.php, while all the others are. You always need one provider and the defalut LT provider is always be enabled by default in new installations.

Shouldn't all of this be selectable from the Admin panel? Granted, it's not rocket science to edit a php file, and I don't claim to be a php programmer, but how difficult would it be to make all of this configurable from inside the program?


Unfortunately, not. The admin panel is pulling its user information from a certain source X. If you suddenly switch to source Y, it will most likely have a different set of user information which doesn't match what source X had, so what do we do with the user sessions currently active? Their user data is not valid and we shouldn't keep them open.

And in any case, this is an advanced featuter and we expect that people who need this feature know how to read a wiki page and make a change to a configuration file.
phunkphorce
Lifetype Expert
 
Posts: 9028
Joined: Mon Aug 25, 2003 6:34 am
Location: Suomessa


Return to Requests and Suggestions

cron