RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
Xfilesharing 1.7 Fixed by me GhoHan

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
ghohan



Joined: 04 Mar 2010
Posts: 9

PostPosted: Mar 07, 2010 11:09 am    Post subject: Xfilesharing 1.7 Fixed by me GhoHan Reply with quote

Ok i'm Just try to fix what problem i'm get and share to another.
I'm not cgi programer but just try to understand mean of that cgi script Smile

Today i get one problem when i'm open link of download and i'm try click Premium Download. So... Page moved to Login page and then i'm login as Premium user then Page not come back to Download Page or link as i want to download.

This solustion from me:
1. Not redirect to download link after login as premium
I'm fixed that:
On file: <your cgi-bin folder>/index.cgi
Find text: sub Download1 in myfiles v1.7 on line 698

See text below:
Code:
$f->{referer}||=$ENV{HTTP_REFERER};

after that code add this below code
Code:
$f->{redirect}=$ENV{REQUEST_URI};

and save now....



Ok now you may open download link as guest and try to login and page will redirect automatic to download page as premium good luck.

Hope this fix will help you ...
Regards,

GhoHan[/code]
Back to top
View user's profile Send private message Yahoo Messenger
mrperl



Joined: 06 Mar 2010
Posts: 65

PostPosted: Mar 08, 2010 12:29 pm    Post subject: Re: Xfilesharing 1.7 Fixed by me GhoHan Reply with quote

Mantap!

(Cool!)
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 22 Mar 2006
Posts: 1123

PostPosted: Mar 08, 2010 3:41 pm    Post subject: Reply with quote

Please remove this file from public access or we will cancel your license because of privacy policy violation:

Quote:
This program is the intellectual property of SibSoft Ltd. By ordering one copy of XFileSharing Pro license, you obtain right to use (install) it on only one domain/website. Redistribution is prohibited, and copies are permitted only for backup purposes. You are free to modify the program for your own use, but you may not distribute any modified copies of it.
Back to top
View user's profile Send private message Send e-mail
ghohan



Joined: 04 Mar 2010
Posts: 9

PostPosted: Mar 08, 2010 4:07 pm    Post subject: Reply with quote

Dear Admin, Sorry if this is a violation.
I just try to help others and there is no intention whatsoever.

I have remove that file and thanks for your information before.
Back to top
View user's profile Send private message Yahoo Messenger
mrperl



Joined: 06 Mar 2010
Posts: 65

PostPosted: Mar 09, 2010 12:21 am    Post subject: Re: Xfilesharing 1.7 Fixed by me GhoHan Reply with quote

ghohan:

If you want to share improvements, don't use whole files.

Instead, if you're on linux, do this:

Code:

diff -u index.cgi index.new.cgi


and post that if it's only a few lines.

Then users can either apply the patch manually, or use the patch command
automatically.

Thanks, mrperl.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group