Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 01:50 am EST
Geeklog Forums
Help with variables
Status: offline
joez
Forum User
Junior
Registered: 02/06/06
Posts: 19
Please help me define these:
// Geeklog session id cookie
$gl_sid = 'uid';
// Name of table containing users
$gl_user_table = 'username';
// Name of table containing sessions
$gl_session_table = 'nuke_session_info';
// Name of table containing group memberships
$gl_group_table = 'nuke_group_membership';
// Name of table containing settings
$gl_settings_table = 'nuke_module_vars';
// Set the group id of the Geeklog group you want to be webcal admins.
// Default is set to the Geeklog 'Admins' group
$gl_admin_gid = '2';
//------ General Application Settings ------//
// What is the full URL to the login page (including http:// or https://)
$app_login_page = 'http://www.bostonteamssuck.com/users.php';
// Is there a parameter we can pass to tell the application to
// redirect the user back to the calendar after login?
$app_redir_param = 'url'; // postnuke uses 'url'
// What is the full URL to the logout page (including http:// or https://)
$app_logout_page = 'http://collegetampa.com/users.php?mode=logout';
// Are the application's tables in the same database as webcalendar's?
$app_same_db = '1'; // 1 = yes, 0 = no
// Only need configure the rest if $app_same_db != 1
// Name of database containing the app's tables
$app_db = 'postnuke';
// Host that the app's db is on
$app_host = 'localhost';
// Login/Password to access the app's database
$app_login = 'pnuser';
$app_pass = 'pnpassword';
Text Formatted Code
//------ Geeklog Specific Settings ------//// Geeklog session id cookie
$gl_sid = 'uid';
// Name of table containing users
$gl_user_table = 'username';
// Name of table containing sessions
$gl_session_table = 'nuke_session_info';
// Name of table containing group memberships
$gl_group_table = 'nuke_group_membership';
// Name of table containing settings
$gl_settings_table = 'nuke_module_vars';
// Set the group id of the Geeklog group you want to be webcal admins.
// Default is set to the Geeklog 'Admins' group
$gl_admin_gid = '2';
//------ General Application Settings ------//
// What is the full URL to the login page (including http:// or https://)
$app_login_page = 'http://www.bostonteamssuck.com/users.php';
// Is there a parameter we can pass to tell the application to
// redirect the user back to the calendar after login?
$app_redir_param = 'url'; // postnuke uses 'url'
// What is the full URL to the logout page (including http:// or https://)
$app_logout_page = 'http://collegetampa.com/users.php?mode=logout';
// Are the application's tables in the same database as webcalendar's?
$app_same_db = '1'; // 1 = yes, 0 = no
// Only need configure the rest if $app_same_db != 1
// Name of database containing the app's tables
$app_db = 'postnuke';
// Host that the app's db is on
$app_host = 'localhost';
// Login/Password to access the app's database
$app_login = 'pnuser';
$app_pass = 'pnpassword';
9
9
Quote
Status: offline
joez
Forum User
Junior
Registered: 02/06/06
Posts: 19
Quote by Dirk: Help with what? You post a piece of code (or some configuration file, from the looks of it) with no explanation of what it is or what you expect it to do and then ask for help ...
bye, Dirk
bye, Dirk
Quote by joez: its how to authenticate users on an outside db for webcalendar.
And in the code it says what the variables of the configuration file are for. I need to know:
// 1Geeklog session id cookie
// 2Name of table containing users
// 3Name of table containing sessions
// 4Name of table containing group memberships
// 5Name of table containing settings
// 6Set the group id of the Geeklog group you want to be webcal admins.
//------ General Application Settings ------//
// 7What is the full URL to the login page (including http:// or https://)
// 8Is there a parameter we can pass to tell the application to
// 9redirect the user back to the calendar after login?
//10What is the full URL to the logout page (including http:// or https://)
your help is appreciated
10
9
Quote
JoeZ
Anonymous
Bump
9
8
Quote
joez
Anonymous
Help Please.
7
7
Quote
JoeZ
Anonymous
bump
9
8
Quote
joez
Anonymous
bump
9
8
Quote
All times are EST. The time is now 01:50 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content