Welcome to Geeklog, Anonymous Monday, October 14 2024 @ 11:20 pm EDT

Geeklog Forums

File manager ( Need help )


Vendetta

Anonymous
Hi... well, Im not sure if im blind, but can anyone reccomend a good file manager for geeklog to me?

I want one that alllows users to view a screenshot before download, like on this site itself.

Thanks
 Quote

Status: offline

r_f_o_t

Forum User
Full Member
Registered: 07/30/03
Posts: 241
Location:Illinois
Try Blaine's site here which is the one used here, or a new one that I have not tried called easyfile.

HTH,

Chuck
Too many hands on my time.
 Quote

Vendetta

Anonymous
Thanks a lot Smile ive just tried easyfile, it doesnt seem to have a screenshot option, I'll go with the other one!

Especially as it looks brilliant on this site Smile Just what i need

thanks for the help
 Quote

Vendetta

Anonymous
Ok, I've managed to get the file manager setup on my site, and it's *almost* working, heh.

Well, basically what happens is when I upload a file, and a screenshot, the CHMOD on the files are set as 600, meaning that users dont have access to the file... so obviously this is a problem.

Does anyone have any idea of what im doing wrong here?

Also, another query I have, is that I would like to change the top link, from " My Downloads " to " Downloads " due to it going on 2 lines.

Any help is greatly appreciated Smile

Thanks
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
To change the downloads link name: Look in the language file for this variable: $LANG_FILEMGMT['downloads']

Permissions issue: Are you finding the file is copied and perms are set fine but the image is not or is it both.

Both files should be copied and permssions changed the same.

Verify both using both methods 1) admin->file upload and 2) user->file upload + admin approve.

The permissions setting is in the plugins config.php
// Permissions that will be used for new files into the repository
$filemgmtFilePermissions = (int) 0755;


Geeklog components by PortalParts -- www.portalparts.com
 Quote

Vendetta

Anonymous
Ok, Ive managed to fix the link at the top Smile

When looking in plugins/filemgmt/config.php

I can't find the variable you told me.... here is whats in the file:


$filemgmt_version = "1.2";
$_FM_TABLES['filemgmt_cat'] = $_DB_table_prefix . 'filemgmt_category';
$_FM_TABLES['filemgmt_filedetail'] = $_DB_table_prefix . 'filemgmt_filedetail';
$_FM_TABLES['filemgmt_filedesc'] = $_DB_table_prefix . 'filemgmt_filedesc';
$_FM_TABLES['filemgmt_brokenlinks'] = $_DB_table_prefix . 'filemgmt_broken';
$_FM_TABLES['filemgmt_modreq'] = $_DB_table_prefix . 'filemgmt_mod';
$_FM_TABLES['filemgmt_votedata'] = $_DB_table_prefix . 'filemgmt_votedata';
$_FM_TABLES['filemgmt_history'] = $_DB_table_prefix . 'filemgmt_downloadhistory';

// Include the Filemgmt Plugin configuration which defines Directories and URL's and options
// This file is set via the Filemgmt Plugin Admin menu - Configuration settings. Thus needs to be a seperate file.
include ("filemgmt.php");

?>


Am I looking in the wrong place?
 Quote

Vendetta

Anonymous
Also, I tried uploading with user instead of admin, same problem.

I cant download it.

Forbidden
You don't have permission to access /downloads/chatterblock_3.0_1.3.6.zip on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

And the files set at 600 chmod..
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Sounds like your not using my latest version released on my site Jun 2004 - Version 1.3RC3
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Vendetta

Anonymous
Ok, I got your latest version, installed fine.

When I try and add a category picture, or upload a file I get this type of message:

Warning: move_uploaded_file(/downloads/test.gz): failed to open stream: No such file or directory in /home/wwwspra/public_html/admin/plugins/filemgmt/index.php on line 1238

Warning: move_uploaded_file(): Unable to move '/usr/phpsessions/phpjbISWu' to '/downloads/test.gz' in /home/wwwspra/public_html/admin/plugins/filemgmt/index.php on line 1238

Any ideas? The downloads folder is in public_html folder, so I cant think...
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
You need to set the full path and URL's correct in the filemgmt settings.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Vendetta

Anonymous
Right, all working like a dream now Wink

Just one more little thing ( im proably annoying you by now Razz )

The images do not seem to show up on it, even though there uploaded and readable through CHMOD it wont even show an uploaded category thumbnail, even though it's there.

Any idea's on that?
 Quote

Vendetta

Anonymous
Sorry, my mistake, its set the chmod at 600 ( unreadable.. ) it but its strange, as all the icons wont show up either, ive uploaded them in both asciII and binary mode.
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Check the properties of one of the images that is not showing up to see the URL. Is the URL correct?
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Vendetta

Anonymous
Yes, the URL is fine.. :S

http://spray-zone.net/filemgmt/images/newred.gif

That can't be found, but it is there.. I'm lost.
 Quote

Vendetta

Anonymous
I've fixed it, I used a different FTP program and there fine, what could it have been?

Also, what do you suggest is causing the thumbnails of categories, and files to be uploaded through the site and set at 600 chmod so that I cant view them?
 Quote

All times are EDT. The time is now 11:20 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content