View Single Post
  #2  
Old 02-29-2012, 01:46 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: If statement to limit content by membership level

With older versions we added the following line towards the bottom of include/check_useraccount.php:
PHP Code:
$smarty->assign('user_membershipid',$user_account['membershipid']); 
Then {$user_membershipid} is available in the template. This method may still be necessary in 4.4.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote