XFileSharing Pro - Change to Non-Published

Message
Author
djones
Posts: 13
Joined: Jun 20, 2008 3:34 am

Change to Non-Published

#1 Postby djones » Jun 05, 2011 8:24 pm

I would like to change the default upload value from publish to Non-publish. I would also like to Hide all folders from public view without "Log-in" Please advise which CGI or Perl line code to change pub value from 1 to 0.

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

#2 Postby PilgrimX182 » Jun 06, 2011 9:20 am

In fs.cgi find line

Code: Select all

$f->{file_public}||0,
and replace with

Code: Select all

0,
To hide folder from anons need more code modifications. We can do this for extra fee if you need.

djones
Posts: 13
Joined: Jun 20, 2008 3:34 am

Thanks

#3 Postby djones » Jun 06, 2011 6:53 pm

Thanks! Works great

djones
Posts: 13
Joined: Jun 20, 2008 3:34 am

Spoke just a little too soon

#4 Postby djones » Jun 06, 2011 7:27 pm

I just purchased the Flash Mod and need Flash Mod to upload the files "Non-published" as well. Please advise code to change for the Flash Mod. - Thanx.

djones
Posts: 13
Joined: Jun 20, 2008 3:34 am

Uncheck / Check (All published files)

#5 Postby djones » Jun 06, 2011 7:32 pm

I would really like the ability to uncheck all the published files at once.... plus checking them all at once would also be welcomed. By having this in the Folder area choosing which files to show and hide would be fairly easy to do.