Posted on: 12/30/04 06:29am
By: Kelvin
Features:
- Hierarchical folder structure with Geeklog access rights
- Geeklog access rights on all files (provided that the filestore is located outside the html tree)
- Geeklog integrated moderation of uploaded files
- By design, very few configuration options and upload fields
I've just completed the first phase of development of a new file management plugin. I found the existing filemgmt plugin too cumbersome, not "Geeklog" enough, and it lacked a couple of key features that I wanted. I started out by making changes to filemgmt, but I quickly realized that the changes I wanted to implement would eventually result in a complete rewrite, which is what I decided to do. The most recent version (0.6.3) is available on my site (
file link[*1] ).
Known issues:
- email confirmation is not sent when files are approved
- comments are not yet implemented (but the database is prepared for it, so I shouldn't have to break db-compatibility again)
UPDATE: made another point-release (0.6.2) containing minor bug fixes
UPDATE: another point-release (0.6.3) containing minor bug fixes, a few string changes, and tweaks to the templates
Easyfile file management plugin
Posted on: 01/03/05 05:39am
By: larent
I installed this plugin on a windows system, and when I try to call the index page (/public_html/easyfile/index.php) I receive an error. There is a strange ./ before the /plugins/easyfile/templates/index.thtml path. How can I fix it?
Thanks, Larent (I apologize for my bad english)
Easyfile file management plugin
Posted on: 01/03/05 06:20am
By: Kelvin
Is your $_CONF['path'] set up correctly in config.php? The plugin uses its templates from:
$_CONF['path'] . '/plugins/easyfile/templates/'
Easyfile file management plugin
Posted on: 01/19/05 09:17pm
By: casper
This is a error in the code.
In the original file it looks like this (index.php):
$easyfile = new Template();
$easyfile->set_file ('page', $_CONF['path'] . 'plugins/easyfile/templates/index.thtml');
It should look like this:
$easyfile = new Template($_CONF['path'] . 'plugins/easyfile/templates');
$easyfile->set_file('page', 'index.thtml');
You need to alter like this in all files that have the value "set_file", and you find it similar to this.
Dont ask my why, Im not a genious, but it worked for me.
If the author of this plugin contacts me, I'll send over my archive with this error fixed.
Easyfile file management plugin
Posted on: 01/20/05 03:29am
By: Kelvin
Thanks, but the changes were minor, so I commited them directly to my local tree. I don't know what the _correct_ usage of the Template class is, but I'm pretty sure I've seen both methods used in the Universal Plugin Template.... so I don't know. Maybe I'll do some code digging and find out.
Anyway, this bug report is against an old version, and I haven't heard from the reporter since, so I'm assuming he got it working.
Easyfile file management plugin
Posted on: 01/20/05 11:41am
By: casper
Im not the one to tell you that what code you used are specific wrong, Im to be concidered a newbie
I got here because I got the same error myself when trying the pluging yesterday, but found a fix myself.
So if the tarball in download isent a old version then this is still an issue.
If I dont remember wrong this is a problem for users with windows-server like myself
But, in the end..
It works great and I like how the plugin is!!
Easyfile file management plugin
Posted on: 01/22/05 10:42am
By: Anonymous (André)
Hi!
I've just installed the easyfile plugin downloaded from this site (v7),
with no error messages. My geeklog admin folder is named GeekSjef,
because of a conflict with oscommerce using the admin folder already.
Though, I still can't make it work.
When trying to create a folder in the easyfile admin page I get redirected to the page admin/plugins/easyfile/index.php.
Which should have been: GeekSjef/plugins/easyfile/index.php
The $_CONF['site_url'] and $_CONF['site_admin_url'] in geeklog config.php are both correct as far as I can understand, and all other functions of geeklog works fine.
I'v tried to figure out the code and the flow of the plugin to determine what's wrong, but so far it's not very successfull....
I would realy appreciate any help on this problem, which makes me quite frustrated at the moment
Regards,
André
Easyfile file management plugin
Posted on: 01/22/05 01:29pm
By: Kelvin
D'oh! That bug is in some of the earliest code I wrote for the plugin... open up folder.class.php, and search for this:
$_CONF['site_url'] . '/admin/plugins
and replace the two instances with this:
$_CONF['site_admin_url'] . '/plugins
Fortunately, the analogous bug for file creation and editing does not exist. Sorry about that, and thanks for the bug report. This fix will be in 0.7.2.
Easyfile file management plugin
Posted on: 01/22/05 02:02pm
By: Anonymous (André)
Thanx!!!
That realy helped me aout!
Now this will be a fine day after all
I glanced at that line to, earlier today, but I just didn't know enough about this to understand it.
Annyway, thanx again! Great plugin!
Easyfile file management plugin
Posted on: 01/23/05 04:19pm
By: Anonymous (confused)
i've done everything on here and i can't get easyfile to work. it installls successfully, creates all the shortcuts, but whenever i click on the "Downloads" link or the "Upload a File" link in User Functions or the EasyFile Admin link, all I get is a blank page...nothing shows up--I mean, everything else shows up but where the EasyFile content would be nothing shows up...just a blank page. Any suggestsions? i'm using GL 1.3.11
Easyfile file management plugin
Posted on: 01/23/05 04:55pm
By: Kelvin
I haven't upgraded to 1.3.11 myself, so I can't help you with this one. Perhaps you could provide some more information:
- When looking at the html output, is there _anything_ in the content area? (search for the text "START OF CONTENT AREA")
- Do you still get the site-footer?
- What browser are you using?
- What OS are you running Geeklog on (Windows?, Linux?, Unix?)
Easyfile file management plugin
Posted on: 01/29/05 08:42am
By: ajzz
Great plugin and as a moz. user, I enjoy it on a daily basis. However, my IE users are complaining that
1) the transparent png icons render with gray backgrounds and
2) the filetree does not render hierarchically.
$retval .= ($this->id == 1? '<div>' : '<div style="padding-left: 18px;">');
Somehow, the above CSS offset assigned in folder.class.php does not seem to work. Perhaps, padding in lists is not IE friendly (yet)?
Anyway, without the hierarchical filetree, this plugin loses its charm, so perhaps we could move to table-rows instead of list-items for each listing, where padding-left is better supported by all browsers.
(Edit) See
here[*2] for example. Nested lists may be another way to go.
Meanwhile, if you have a better solution, I would be glad to ponder over it.
Best
Easyfile file management plugin
Posted on: 01/29/05 11:24am
By: ajzz
290 if(!empty($subfolders)) {
291 $retval .= ($this->id == 1 ? '<div>' : '<ul style="margin: 0; padding: 0; padding-left: 4em; ">');
292 $retval .= implode('', $subfolders);
293 $retval .= ($this->id == 1 ? '</div>' : '</ul>');
294 }
The above code showing changes in line 291 and 293 of pub_html/easyfile/folder.class.php (to create nested lists) seems to be a good workaround - Moz. and IE are both happy and consistent.
Ran a little batch script for png > gif for the icons now my IE users shall rest easier.
Hope that helps, Cheers!
Easyfile file management plugin
Posted on: 01/30/05 02:15pm
By: Kelvin
Wow, thanks for your feedback. Yeah... I've become aware of the layout problems on IE, and I'm putting some time into fixing that for v0.7.2. Stupid friggin IE can't follow standards
I'm on parental leave from work right now, so I don't have regular access to Windows, making trouble shooting more difficult... anyway, this IE issue is the only thing holding v0.7.2 back.
Easyfile file management plugin
Posted on: 01/30/05 08:58pm
By: ajzz
No worries mate. This is why OpenSource WORKS!
Anyway, it seems there are a few differences in how IE and Moz. handle lists and bullets. There is a javascript out there to fix the png rendering issue, however it is sensitive only to img src tags and not when images are used as list bullets. FYI there are a few more CSS tags required to make the list perfectly the same in both Moz and IE that i discoverd after the last post. I could e-mail the modified file to you if you care, but you seem to be working on it already.
If you are about to release .7.2 there are a couple of other features that you may consider to add to the wish-list on my behalf.
1) the ability of site admin to change the owner of a folder.
2) a cosmetic one... the file details box that is to the right of the filetree is of a fixed size and often scrolls to the right of a screen. this is true especially when someone is using a history sidebar etc.. maybe the file details can be made relative instead of absolute. Of course I have changed this on my theme files, but it may be a nice feature out of the box.
That's my 2 krona's worth - Do keep us updated and congratulations.
PS: How about a sort order for file display?
Easyfile file management plugin
Posted on: 03/12/05 11:17am
By: fruor
hi, first of all thanks for the probably great plugin, although i don't get it running (can't wait).
first of all: the version on
this site[*3] is different from the version on
your site[*4] . the one on geeklog.net has e.g. no tables to be defined in the config.php
i took the version from your site (i couldn't even install the version on the geeklog page) and added the fix from casper, as i was using a windows server. but all i got was this blank page (content area empty). then i uploaded to a unix machine, re-installed it, and i got the same blank page.
i will try looking for the error on myself, if you got any help i would be thankful.
might have to do with gl 1.3.11
Easyfile file management plugin
Posted on: 03/12/05 11:32am
By: fruor
another error i found:
the table pi_gl_version is created by the geeklog installation with "gl_" is determined by the variable $_DB_table_prefix
therefore, in the admin/install.php of the plugin line 270 needs to be changed:
DB_query("INSERT INTO {$_TABLES['plugins']} (pi_name, pi_version, pi_gl_version, pi_homepage, pi_enabled) "
sorry i'm not so good therefore i don't know how to write the variable here. i changed the gl_ to my own prefix.
Easyfile file management plugin
Posted on: 03/12/05 05:50pm
By: Anonymous (macgen)
I had a problem (that I posted about over on the portalparts.com forum because I initially thought it was a problem with the forum-plugin).
With EasyFile installed, my forums had a problem where if you replied, it would give you an error about the topic not existing and then put your response into its own thread/topic. Example: You had two threads in a test forum, and you responded six times, you would end up with eight threads.
Disabling EasyFile got rid of the problem. That's not the most information, but I don't care to dig into it too much as I got everything working again This was with the most recent forum version (2.3.2) and with the most recent version of Easyfile found on the main GL site.
Easyfile file management plugin
Posted on: 03/14/05 05:59pm
By: fruor
my problem has solved with a re-install with the version from the geeklog site.
but there seems to be a problem with the $_EF_CONF['simple']
when set to false, i can't get into my geeklog site anymore. the main page, the plugin-page, nothing. even i can't logon as administrator.
found in the logs for each access to any page:
Mon Mar 14 23:32:04 2005 - Someone has tried to illegally access the Easyfile page. User id: , Username: , IP:
I had to delete the plugin from my sm_plugins table
Easyfile file management plugin
Posted on: 03/15/05 08:37pm
By: casper
If disabling access to root folder for anonymous, disabling nonregistered to download I get access denied on ALL pages as anonymous, forums, faq, index... Absolutely all pages on site.
What is this and how to fix this?
Easyfile file management plugin
Posted on: 03/16/05 02:39am
By: Kelvin
Yes, I'm aware of this bug. I did some restructuring of the code for 0.7.2 which inadvertently caused this bug. Sorry about that, I have it fixed in my local tree which will be released as 0.7.3 this week.
The problem was that I placed the check for "read access to root folder" in functions.inc which causes that particular code to be executed on ALL pages on the site.
Once again: I'm really sorry about this.
Easyfile file management plugin
Posted on: 03/16/05 09:56am
By: casper
Why be sorry, you know about it and Im waiting for next release
You've made a great plugin, and it suits my needs perfectly!
Good work!
Easyfile file management plugin
Posted on: 03/18/05 08:44pm
By: casper
Easyfile file management plugin
Posted on: 03/20/05 04:38pm
By: Kelvin
[QUOTE BY= casper] Have you made the release yet?
And have you fixed this bug reported at Blaines site?
Easyfile screws up the forum
http://www.portalparts.com/forum/viewtopic.php?forum=2&showtopic=4669[*5] [/QUOTE]
I promised 0.7.3 this week, and I have now released (with 90 minutes to spare) . The 0.7.2 bug with the forum is indeed fixed. Thanks for pointing it out to me.
Apologies to all forum users for this. I don't run the forum myself, so I didn't notice this bug.
Easyfile file management plugin
Posted on: 03/20/05 10:45pm
By: casper
Looking good Kelvin!
Took it for a testrun now, and both bugs I reported are fixed
Easyfile file management plugin
Posted on: 03/29/05 06:36pm
By: BennyB
Snygg kod!
Allright, back to swinglish:
Is there a way of making it display only the files that are in the folder I am looking into, and none of the files that are in the subfolders?
It would be useful for me. I think the previous version (1.7.2) did that, but I could be wrong.
/BB
Easyfile file management plugin
Posted on: 03/30/05 06:07am
By: Kelvin
[QUOTE BY=BennyB]Is there a way of making it display only the files that are in the folder I am looking into, and none of the files that are in the subfolders?[/QUOTE]
With the exception of the root folder, only files in the current folder are displayed. Are you getting a different behaviour?
Easyfile file management plugin
Posted on: 03/30/05 06:14am
By: BennyB
Oh, so that's what it is doing.
OK, can I stop it from showing any files in public folders when I am in the root?
So that it shows only folders when the user is in the root?
Easyfile file management plugin
Posted on: 03/30/05 06:58am
By: Kelvin
[QUOTE BY=BennyB] OK, can I stop it from showing any files in public folders when I am in the root?
So that it shows only folders when the user is in the root?[/QUOTE]
No, not without hacking the code. Should be an easy hack though; look in /easyfile/index.php
BTW, this has been the default behaviour in all versions of easyfile (modelled after the behaviour of filemgmt)
Easyfile file management plugin
Posted on: 03/30/05 07:01am
By: BennyB
okidoki
will give it a shot
thanks for a good plugin!
Easyfile file management plugin
Posted on: 09/14/05 08:25am
By: e-crins
I hope I'm in the right place to ask this..
I wnated to install easyfile today.
Followed the instructions, copied allt the files to their designated places.
created a folder outside the html tree for files to be managed by easyfile.
logged in as admin, clicked 'install' next to 'easy file' on the plugin page and got a white screen with 'done' at the bottom of my browser (firefox)
In the errorlog all seems to be well. A lot of 'succes'-es.
Untill here:
Wed Sep 14 13:52:37 2005 - Adding easyfile.admin feature
Wed Sep 14 13:52:37 2005 - Success
Wed Sep 14 13:52:37 2005 - Adding easyfile.admin feature to admin group
any hints on what it is I am doing wrong?
Easyfile file management plugin
Posted on: 09/14/05 08:34am
By: Anonymous (Benta)
[QUOTE BY= e-crins] I hope I'm in the right place to ask this..
I wnated to install easyfile today.
Followed the instructions, copied allt the files to their designated places.
created a folder outside the html tree for files to be managed by easyfile.
logged in as admin, clicked 'install' next to 'easy file' on the plugin page and got a white screen with 'done' at the bottom of my browser (firefox)
In the errorlog all seems to be well. A lot of 'succes'-es.
Untill here:
Wed Sep 14 13:52:37 2005 - Adding easyfile.admin feature
Wed Sep 14 13:52:37 2005 - Success
Wed Sep 14 13:52:37 2005 - Adding easyfile.admin feature to admin group
any hints on what it is I am doing wrong?
[/QUOTE]
Not sure if there is anything wrong. Does the plugin work?
Easyfile file management plugin
Posted on: 09/14/05 08:56am
By: e-crins
I can't find any changes on my geeklog page that say that it does work.
and if I log in as admin, go to the plugin page, easy file is still in the 'new plugins' list...
where should the plugin appear?
if I go to my site: http://www.nijmeegseluchtvaartclub.nl/easyfile/index.php it states that the plugin is curently disabled.
any suggestions?
p.s. in the config.php of easyfile I set
$_EF_CONF['basedir'] ="l/sitelog/download/";
the directory exists and is empty.
Easyfile file management plugin
Posted on: 09/16/05 04:27am
By: e-crins
tried the filemgmt plugin also.
Same deal.
when I hit 'install' in the 'new plugins' list I get a white window in Firefox saying 'done' in hte bottom left corner.
So it's probably not the plugin that's wrong but something I do or some setting on the server side.
All the files asociated with the plugin have the property 700
read write modify by owner.
Maybe this is wrong?
Easyfile file management plugin
Posted on: 09/16/05 04:56am
By: Anonymous (Benta)
[QUOTE BY= e-crins] t
All the files asociated with the plugin have the property 700
read write modify by owner.
Maybe this is wrong?[/QUOTE]
Oh, that would be a problem. Maybe the program that you use to upload sets strange rights to files.
You need to give the server access to the files and to give it right to write in the folder where it keeps the files
I think you can 755 everything, but need to give 777 to the storage folder of easyfile.
Easyfile file management plugin
Posted on: 09/16/05 05:14am
By: e-crins
I'll try this as soon as I get home from work.
Or maybe even sooner..
thank you for the hints.
Easyfile file management plugin
Posted on: 09/16/05 08:57am
By: e-crins
p.s.
Can I try to install many times?
Doesn't this create just as many new tables in my GL database?
Or does it simply overwrite existing tables/recreate them, just so that I don't overdo things.
Easyfile file management plugin
Posted on: 09/16/05 09:47am
By: samstone
It will not create additional tables. In fact, it there is a table already there, the installation won't even go through, telling you that the table already exist. If the previous installation did create the table, you have to uninstall it, or manually remove the table.
Sam
Easyfile file management plugin
Posted on: 09/16/05 10:54am
By: e-crins
no installer telling me that the tables already exist.
Nothing at all realy, just the blank screen.
The error log keeps givving 'succes' for creating tables, but it still halts when it wants to add easyfile.admin features to admin group.
Fri Sep 16 11:28:03 2005 - Attempting to create easyfile admin group
Fri Sep 16 11:28:03 2005 - ...success
Fri Sep 16 11:28:03 2005 - About to save group_id to vars table for use during uninstall
Fri Sep 16 11:28:03 2005 - ...success
Fri Sep 16 11:28:03 2005 - Inserting default data into folders table
Fri Sep 16 11:28:03 2005 - Success - inserting data into folders table
Fri Sep 16 11:28:03 2005 - Adding easyfile.admin feature
Fri Sep 16 11:28:03 2005 - Success
Fri Sep 16 11:28:03 2005 - Adding easyfile.admin feature to admin group
Was it wrong of me to unpack files on local disc and then upload the lot?
Using filezilla, I don't seem to be able to unpack the file when it's on the site's server.
Easyfile file management plugin
Posted on: 09/16/05 05:18pm
By: samstone
Was it wrong of me to unpack files on local disc and then upload the lot?
Unpacking files is not wrong, but it depents on how you unpack it. I use WinRAR and have no problem. I had problem with using Winzip in the past.
Sam
Easyfile file management plugin
Posted on: 10/28/05 08:13am
By: cspires
I am having the same problem. First tried installing the FileMgmt plugin months back - gave up, then tried Easyfile last night.
Error Log:
Fri Oct 28 00:32:47 2005 - About to sve group_id to vars table for use during uninstall
Fri Oct 28 00:32:47 2005 - ...success
Fri Oct 28 00:32:47 2005 - Inserting default data into folders table
Fri Oct 28 00:32:47 2005 - Success - inserting data into folders table
Fri Oct 28 00:32:47 2005 - Adding easyfile.admin feature
Fri Oct 28 00:32:47 2005 - Success
Fri Oct 28 00:32:47 2005 - Adding easyfile.admin feature to admin group
When you try to install you recieve a blank white page on the install.php. When you revisit the plugin admin panel it shows as the plugin has not been installed, and is awaiting your command to click the install link. When you attempt to visit the plugins index page, geeklog tells you that the plugin has been disabled.
All privlidges have been set to 755, except for the storage folder.
Has anyone been able to solve this problem? (If there is anymore information I can provide to help troubleshoot please let me know.)
Easyfile file management plugin
Posted on: 10/28/05 10:36am
By: samstone
Do you have a clean Geeklog set up or have you upgraded the database tables mannually?
It looks like that your gl_access table already has feature and group entry, so the installation couldn't continue. If that is the case you can remove that entry from the gl_access table, and reinstall.
Sam
Easyfile file management plugin
Posted on: 10/28/05 10:42am
By: cspires
I do have a clean GL setup (which I use only for testing purposes when installing plugins before I install them on my main GL installation) , which I was able to successfully install both FileMgmt and easy file - which is what is so frustrating. I'm starting to wonder if I try to install ANY plugin if I will have this problem. Whould it help you if I tried and it came up with the same problem? If so I'll give another plugin a shot.
On my main installation of GL I have never before attempted to install either plugin prior to having the problem. I have not manually upgraded the database tables manually either because my SQL knowlegde is zilch.
Thank you in advance for your help.