Notify Users To Update Avatar After registration

317
.
Go To System/mainmenu.php and add the below code:
// notify profile
if($systemUser->id){
if(!file_exists(($rootpath.'files/users/avatar/'.$systemUser->id.
'.png'))) {
echo '<div class="maintxt"><div class="rmenu">Thanks For Register ' .$systemUser->name. ' ! Hey ' .$systemUser->name. ' Please <a href="../profile/?act=images&amp;mod=avatar&amp;user='.$systemUser->id.'">Click Here</a> to Complete Your Profile.Otherwise You Will Be Blocked Within 24 Hours.</div></div>';
   }
}
Всего: 1