if ((isExtensionActive('nickname')) && (getUserData('nickname') != '')) {
// Get nickname
$content['userid'] = getUserData('nickname');
if ((isExtensionActive('nickname')) && (getUserData('nickname') != '')) {
// Get nickname
$content['userid'] = getUserData('nickname');