Fork me on GitHub

Rapport de message :*
 

Re: probleme de permission tinyeditor/smartsection

Titre du sujet : Re: probleme de permission tinyeditor/smartsection
par frankblack sur 06/12/2006 23:27:20

So again my question: Is gzip-compression turned on in tinyeditor?

Hmmmm, let's try another thing. Open tinyeditor / include / initcode.php in an editor and change this:

if (is_object($xoopsUser)) {
        
$uid $xoopsUser->getVar('uid');
        
$thegroupid array_shift(getCurrentUsersGroups($uid));
    } else {
        
$thegroupid 3;
    }


to this:
if (is_object($xoopsUser)) {
        
$uid $xoopsUser->getVar('uid');
        
$thegroupid array_slice($xoopsUser->getGroups($uid), 01);
        
$thegroupid implode(" "$thegroupid);
        
$thegroupid trim($thegroupid);
    } else {
        
$thegroupid 3;
    }


Save and upload the file and try again.
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

11 Personne(s) en ligne (8 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 11 | Plus ...