XFileSharing Pro - How do I do this?

Message
Author
Atrevido
Posts: 5
Joined: Jul 16, 2012 6:35 am

How do I do this?

#1 Postby Atrevido » Jul 16, 2012 3:05 pm

How do I put in my template a different message for each type of User?

Welcome: Guest | Account Type: Anonymous | Stream & Download Speed: (download speed)

Welcome: (Name) | Account Type: Registered | Stream & Download Speed: Ilimited

Welcome: (Name) | Account Type: Premium | Stream & Download Speed: Ilimited

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#2 Postby randy » Jul 17, 2012 12:36 pm

this works with template if

just to show you how it works

this code here works only if you use all 3 modes!

if you use anonym, registered & premium

you have to put this in your main.html

Code: Select all

<TMPL_IF my_login>

<TMPL_IF premium>

Premium / speed / etc

<TMPL_ELSE>

Registered user speed / etc

</TMPL_IF>

<TMPL_ELSE>

Anonym / speed / etc

</TMPL_IF>
this should work! let me know