XFileSharing Pro - Redirect Premium members to direct link

Message
Author
bee199
Posts: 36
Joined: Aug 18, 2012 4:40 pm

Redirect Premium members to direct link

#1 Postby bee199 » Aug 18, 2012 4:43 pm

Hello Everyone

Was just wondering if someone could help me or tell me how I can redirect premium members to the "Direct Link" page instead of the "Alternative Download" page on xfilesharing pro script?

So instead of them having to click "Generate direct link" they get taken to the "Direct Link" page straight away and just need to click Download.

Any help would be very much appreciated!

Thanks!

PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

#2 Postby PowerChaos » Aug 18, 2012 5:07 pm

you can use the following code

Code: Select all

<TMPL_VAR lang_will_be_available> <TMPL_VAR symlink_expire> <TMPL_VAR lang_hours><br><br>

<span style="background:#151B54;border:1px dotted #bbb;padding:7px;">
<a href="<TMPL_VAR direct_link>"><TMPL_VAR direct_link></a>
</span>
but before that will work you need to edit the index.cgi or download.cgi also so it support direct link generating on that download1.html page

atleast this counts for version 1.8
Greetings From PowerChaos