I want to add a new feature but there is two things I don’t know where I need to change or how I need to do it
1- I would like to add an extra tab, like torrent, remote upload and etc, a new one which let's say would have an iframe
2- How can I make that iframe only visible to my premium users?
Thanks in advance
Parham
XFileSharing Pro - Need help with template
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
i can not answer how to add a extra button
but i can say how to do premium
first go to
home/username/public_html/cgi-bin/Templates (cpanel example)
theen use below code to show only to premium members
this is a example taken from the payments template
you see that it says , tmpl_if premium
thats what you need
Greetings rom PowerChaos
but i can say how to do premium
first go to
home/username/public_html/cgi-bin/Templates (cpanel example)
theen use below code to show only to premium members
Code: Select all
<TMPL_IF premium>
<h2><TMPL_VAR lang_extend_account></h2>
<b><TMPL_VAR lang_prem_valid_until>:</b><br><TMPL_VAR expire_elapsed><br><br>
<TMPL_ELSE>
<h2><TMPL_VAR lang_become_premium></h2>
</TMPL_IF>
you see that it says , tmpl_if premium
thats what you need
Greetings rom PowerChaos