History: Login General Preferences
Source of version: 43 (current)
Copy to clipboard
!General Preferences {DIV(float=right,width="200px")}^::Related Topics:: * ((External Authentication)) ^{DIV} ;__Overview__:Use this tab to configure your user registration and site security features. ;__To Access__:From the ((Login Config)) page, click the __General Preferences__ tab. ~tc~ Prefrence documentation generated from https://sourceforge.net/p/tikiwiki/code/HEAD/tree/trunk/lib/prefs/ ~/tc~ ~tc~ To update documentation see https://dev.tiki.org/How-to-get-commit-access ~/tc~ {PREFDOC(tab="login-generalpreferences" img="9:735")/} !!CustomFields A rudimentary capability exists to add additional text fields to the User Preferences page. This might be used for fields like: * Home_Phone * AIM (or other IM handles) * Address * Professional_Certs In order to add a new field, you must insert a record into the tiki_user_preferences table manually (via phpMyadmin or...). Use a command similar to the following: {CODE()}insert into tiki_user_preferences values('CustomFields','Home_Phone',NULL);{CODE} The values of the 3 fields are: # must be 'CustomFields' # descriptive label - this is what shows on screen as the field label # default value - NULL means no default, a string here will put that value in the field for the user to edit. Limits # At this time, there is no web page to create the actual field definitions, you must use the SQL statement shown above. # No spaces are allowed in the label, an underscore can be used instead. # There is no support for anything other than plain text fields # Possible security issue - if a user registers with the name 'CustomFields', they could possibly change the default values, or cause other problems. Possible workaround - create your own user with that name and don't use it for anything. # The created fields are informational only, they don't hook into anything useful inside Tiki. !!Remember Me If “User’s Choice” is selected the Login module will include a “Remember me” checkbox. nWithout a rememberme cookie, the session finishes when the PHP session end. A session can finish because the idle time has been reached or the user closes their browser (or tab in the browser, depending on the browser). With a rememberme cookie, you can extend the time the system remembers a user (if the user allows cookies and does not limit the cookie to the session time). This time is set in admin->login. When a user checks remember me checkbox, the browser creates a cookie with a name beginning with ‘tiki-user-’ followed by the rememberme name you gave in admin->login. The rememberme feature allows you also to be able to close the browser and to be still logged in when you reopen the browser (if the timeout is not reached) The cookie is deleted when you log-out. If the user changes their IP or browser, the Remember Me feature will fail.