hi hiebo.
Quote:
1. The upload directory for a user is assigned as
if( $xoopsUser->getVar('rank') == 7) {
define( 'FCK_UPLOAD_PATH' , XOOPS_UPLOAD_PATH.'/fckeditor');
define( 'FCK_UPLOAD_URL' , XOOPS_UPLOAD_URL.'/fckeditor');
} else {
define( 'FCK_UPLOAD_PATH' , XOOPS_UPLOAD_PATH.'/fckeditor' . '/' . $xoopsUser->uname()) ;
define( 'FCK_UPLOAD_URL' , XOOPS_UPLOAD_URL.'/fckeditor' . '/' . $xoopsUser->uname()) ;
}
It sounds good idea.
Quote:
2. We lower the authentication level to rank=1.
You can control it by $fck_canupload/$fck_isadmin.
Quote:
It is not so difficult.
But I don't have time to implement it.