Changeset 865
- Timestamp:
- Sep 18, 2005, 12:22:22 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r862 r865 1173 1173 $insert['language'] = $conf['default_language']; 1174 1174 $insert['recent_period'] = $conf['recent_period']; 1175 $insert['feed_id'] = find_available_feed_id();1176 1175 $insert['expand'] = boolean_to_string($conf['auto_expand']); 1177 1176 $insert['show_nb_comments'] = -
trunk/admin/user_list.php
r862 r865 679 679 LEFT JOIN '.USER_GROUP_TABLE.' AS ug 680 680 ON u.'.$conf['user_fields']['id'].' = ug.user_id 681 WHERE id!= '.$conf['guest_id'];681 WHERE u.'.$conf['user_fields']['id'].' != '.$conf['guest_id']; 682 682 if (isset($filter['username'])) 683 683 { 684 684 $query.= ' 685 AND usernameLIKE \''.$filter['username'].'\'';685 AND u.'.$conf['user_fields']['username'].' LIKE \''.$filter['username'].'\''; 686 686 } 687 687 if (isset($filter['group'])) -
trunk/doc/ChangeLog
r864 r865 1 2005-09-17 Pierrick LE GALL 2 3 * improvement: add information about how to use an external table 4 for users 5 6 * bug fixed: uses user configuration fields for filtering in 7 admin/user_list 8 9 * bug fixed: don't try to create feeds automatically during 10 sync_users (when line in user_infos is missing) 11 12 * bug fixed: create_user_infos function gives status admin if user 13 id matches $conf['webmaster_id'] 14 1 15 2005-09-17 Pierrick LE GALL 2 16 -
trunk/include/config_default.inc.php
r862 r865 298 298 $conf['apache_authentication'] = false; 299 299 300 // users_table : which table is the reference for users? Can be a different300 // users_table: which table is the reference for users? Can be a different 301 301 // table than PhpWebGallery table 302 // 303 // If you decide to use another table than the default one, you need to 304 // prepare your database by deleting some datas : 305 // 306 // delete from phpwebgallery_user_access; 307 // delete from phpwebgallery_user_cache; 308 // delete from phpwebgallery_user_feed; 309 // delete from phpwebgallery_user_group; 310 // delete from phpwebgallery_user_infos; 311 // delete from phpwebgallery_sessions; 312 // delete from phpwebgallery_rate; 313 // update phpwebgallery_images set average_rate = NULL; 314 // delete from phpwebgallery_caddie; 315 // delete from phpwebgallery_favorites; 316 // 317 // All informations contained in these tables and column are related to 318 // phpwebgallery_users table. 302 319 $conf['users_table'] = $prefixeTable.'users'; 303 320 -
trunk/include/functions_user.inc.php
r833 r865 455 455 array( 456 456 'user_id' => $user_id, 457 'status' => 'guest',457 'status' => $user_id == $conf['webmaster_id'] ? 'admin' : 'guest', 458 458 'template' => $conf['default_template'], 459 459 'nb_image_line' => $conf['nb_image_line'],
Note: See TracChangeset
for help on using the changeset viewer.