This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(!function_exists('is_logged_in')) : | |
function is_logged_in() { | |
$CI =& get_instance(); | |
if($CI->session->userdata('is_logged_in') == FALSE) : | |
return FALSE; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sc_bp_default_group_avatar($avatar) { | |
global $bp, $groups_template; | |
if(strpos($avatar,'group-avatars')) : | |
return $avatar; | |
else : |