forum.coppermine-gallery.net
Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Makc666 on June 09, 2006, 11:29:13 pm
-
In Charset Manager (charsetmgr.php) there is no any conversion for such strings in user's profile as:
- Location
- Interests
- Website
- Occupation
- Biography
Hm...
But I looked at the code of charsetmgr.php and found that there is line for 'user_location', 'user_interests', 'user_occupations'
$affected_elements = array(
$CONFIG['TABLE_ALBUMS'] =>
array('aid', 'title', 'description', 'keyword'),
$CONFIG['TABLE_PICTURES'] =>
array('pid', 'title', 'caption', 'keywords'),
$CONFIG['TABLE_COMMENTS'] =>
array('msg_id', 'msg_author', 'msg_body'),
$CONFIG['TABLE_CATEGORIES'] =>
array('cid', 'name', 'description'),
$CONFIG['TABLE_USERGROUPS'] =>
array('group_id', 'group_name'),
$CONFIG['TABLE_USERS'] =>
array('user_id', 'user_name', 'user_password', 'user_location', 'user_interests', 'user_occupations')
);
But when I run charsetmgr.php those fields are not affected.
Also. There is no any string for Biography...
Ah...
I found.
In database there are no such strings as 'user_location', 'user_interests', 'user_occupations'!
There are strings:
- user_profile1
- user_profile2
- user_profile3
- user_profile4
- user_profile5
- user_profile6
-
'user_location', etc. may have been from before you could rename the user profile fields.
This looks like a bug.
-
'user_location', etc. may have been from before you could rename the user profile fields.
These strings are used in Database.
- user_profile1
- user_profile2
- user_profile3
- user_profile4
- user_profile5
- user_profile6
They can't be renamed via CPG config panel.
I checked on clean CPG 1.4.*
It uses these strings.
-
Correct. I was just trying to speculate why 'user_location' etc. were present in charsetmgr.php.
This speculation is not relevant to the current state of Coppermine. You are correct that the current fields should be 'user_profile1' etc.
-
Fixed & committed to stable & devel. Will be in the next version (1.4.9).