XFileSharing Pro - Add page for premium users only?

Posts: 68
Joined: Mar 11, 2011 4:30 pm

Add page for premium users only?

#1 Postby Guneyd » Apr 14, 2012 12:09 pm


I'd like to include a extra service in my filesharing site, but it is a php based website and I'd like to make it availble for my premium customers only.

Is it perhaps possible to include a piece of code that'd make it so only paid and registered users had access to that page?

Best regards

Posts: 85
Joined: Apr 08, 2012 3:41 pm

#2 Postby Stefanzm » Apr 14, 2012 3:14 pm

heyas , that some of the code took out from xfilesharing 1.9 (havent figured out which one is for registered) , but those are the codes you need for admin and premium users to view your content:

<TMPL_IF admin> Content here </TMPL_IF>
<TMPL_IF enabled_prem> Content Here </TMPL_IF>