1
i think it would be nice to have a forum category for module developers on what would be the best and safest way to use the XOOPS api. For example i was using
Quote:
$uid = $xoopsUser->uid();
in a block of a module i'm writting where as trabis suggested using this to avoid problems
Quote:
if (is_object($xoopsUser) && $xoopsUser->getVar('uid') > 0){
$uid = xoopsUser->getVar('uid');
} else {
$uid = 0;
}
as it can be seen in this thread
ThreadIt would be nice to have a seperate forum category for this subject for us to discuss. Any votes to this??
www.guidemap.gr - Beta is out...