1
After installing XOOPS v2.0.7.3 recently on a LAMP system I recognized that users specific theme selections won't be saved at all. First I thought that this behaviour might be related to cookie or register_globals issues but couldn't find a problem with that.
So I finally hacked edituser.php and added the following line (after line 114):
:
$edituser->setVar('user_intrest', $user_intrest);
$edituser->setVar('user_mailok', $user_mailok);
// hack start
$edituser->setVar('theme', $xoopsConfig['theme_set']);
// end of hack
if ( $usecookie ) {
setcookie($xoopsConfig['usercookie'],
$xoopsUser->getVar('uname'),time()+ 31536000);
:
Whenever now a user saves his/her account the currently selected theme will be stored as well.
Question is: I don't like hacking in other folks sources - does anybody know a better solution?