10
In XOOPS 2.2.2 (fresh install), the ability to set the desired theme in the user profile (/modules/profile/edituser.php) is not enabled.
To enable this, you have to manually add a couple records to the database table xoops_group_permission:
gpermid=whatever
gperm_groupid=2
gperm_itemid=10 ("theme", from xoops_user_profile_field)
gperm_modid=3 (profile edit)
gperm_name = "profile_show" and "profile_edit" (without the quotes)
then, to have the newly selected theme displayed uppon saving changes to the profile, edit the file modules/profile/edituser.php on line 109 of 263 to read:
Quote:
redirect_header('userinfo.php?xoops_theme_select=&uid='.$uid, 1, _PROFILE_MA_PROFUPDATED);
Gord
http://www.digitalboots.net - lossless live links