XFileSharing Free - (Problem Fixed) Where is the support exactly ?

Message
Author
Files-Up
Posts: 17
Joined: Nov 25, 2007 10:30 pm

(Problem Fixed) Where is the support exactly ?

#1 Postby Files-Up » Nov 27, 2007 10:01 pm

Hello,

i have sent an email to support after i purchased the script

now its 3 days no answer

____________
Hello,
i have purchased the Amazing xFileSharing Script today,

but i need to edit something if its possible

after uploading a file
it will be something like
www.xxxx.com/SDFSCDF/file.zip

i want it to be like this

www.xxxx.com/SDFSCDF/file.zip.html

cuz some download managers automaticlly detects file extensions and download error page only
cuz user did not see captcha


:roll:
Last edited by Files-Up on Dec 19, 2007 9:19 am, edited 1 time in total.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Nov 28, 2007 9:51 am

Oh, sorry it seems your email lost somewhere in spam filter.

Here you go with quick hack: in Templates/upload_results.html file find line

Code: Select all

<tr><td nowrap align=right><b>Download Link:</b></td><td><a href="<TMPL_VAR site_url>/<TMPL_VAR id>/<TMPL_VAR filename>" target="_blank"><TMPL_VAR site_url>/<TMPL_VAR id>/<TMPL_VAR filename></a></td></tr>
and replace it with

Code: Select all

<tr><td nowrap align=right><b>Download Link:</b></td><td><a href="<TMPL_VAR site_url>/<TMPL_VAR id>/<TMPL_VAR filename>.html" target="_blank"><TMPL_VAR site_url>/<TMPL_VAR id>/<TMPL_VAR filename>.html</a></td></tr>
Then in index.cgi find line

Code: Select all

$fname=~s/\.{2,99}/./g;
and add below:

Code: Select all

$fname=~s/\.html$//i;
I think I will put this code to next XFileShaing version, thanks!

Files-Up
Posts: 17
Joined: Nov 25, 2007 10:30 pm

#3 Postby Files-Up » Nov 28, 2007 10:39 pm

Hello ,

thanks , it works but there's problem with embed code for forums and direct link

tricks.zip - 1.9 Mb

http://www.files-up.com/10WK0WLTUOMP/tricks.zip


they'r still the same

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#4 Postby PilgrimX182 » Nov 29, 2007 11:15 am

Oh right. Here's new code:

Code: Select all

<tr><td nowrap align=right><b>Download Link:</b></td><td><a href="<TMPL_VAR site_url>/<TMPL_VAR id>/<TMPL_VAR filename>.html" target="_blank"><TMPL_VAR site_url>/<TMPL_VAR id>/<TMPL_VAR filename>.html</a></td></tr>
<tr><td align=right><b>Link for forums:</b></td><td><input type="text" onFocus="copy(this);" value="[URL=<TMPL_VAR site_url>/<TMPL_VAR id>/<TMPL_VAR filename>.html]<TMPL_VAR filename> - <TMPL_VAR size>[/URL]"></td></tr>
<tr><td align=right><b>Direct Link:</b></td><td><input type="text" onFocus="copy(this);" value="<TMPL_VAR site_url>/<TMPL_VAR id>/<TMPL_VAR filename>.html"></td></tr>

Files-Up
Posts: 17
Joined: Nov 25, 2007 10:30 pm

#5 Postby Files-Up » Dec 08, 2007 7:12 pm

Fixed

Thanks :wink: