The secure CMS.

Welcome to Geeklog
Sunday, September 05 2010 @ 10:59 PM EDT


 Forum Index > Extensions > Plugins New Topic Post Reply
 Filemgmt Plugin Version 1.5
 |  Printable Version
Blaine
 March 19 2006 15:42 PM (Read 17038 times)  
Forum Moderator
Moderator


Status: offline

Registered: 07/16/02
Posts: 1232

After many hours and weeks of effort, a new updated version (1.5) of this popular plugin has been released and available on geeklog.net and www.portalparts.com. Please use this forum for discussion and comments.

We are now running this version on both sites - so comments are now working


Geeklog components by PortalParts -- www.portalparts.com
 
Profile Email Website PM
Quote
Robin
 March 19 2006 23:52 PM  
Forum Full Member
Full Member


Status: offline

Registered: 02/15/02
Posts: 725


Thank you Blaine


Geeklog Polish Support Team
 
Profile Email Website PM
Quote
samstone
 March 20 2006 01:06 AM  
Forum Full Member
Full Member

Status: offline

Registered: 09/29/02
Posts: 808

Thanks Blaine!

If you would be so kind, I would like to request the following features:

1) autotag and autolink
2) being able to disable comment
3) being able to disable rating

#2 and 3 are not so important, but #1 would be very wonderful.

------------------

There is a missing closing quote on line 12 of the filelisting_record.thtml

PHP Formatted Code

 <a href="{site_url}/filemgmt/visit.php?lid={lid}"




 


That's the reason why the filemgmt here and also on PortalParts.com don't have the download.gif icon before the file title.

Sam


 
Profile Email PM
Quote
samstone
 March 20 2006 01:58 AM  
Forum Full Member
Full Member

Status: offline

Registered: 09/29/02
Posts: 808

Can't load category snaps. It doesn't go the the category_snaps folder, even thought the script shows successful creation of the category. The folder is 777. The snap is shown blank with the red X on the download page.

When trying to add a category snap on a previously created category with no snap, the script shows no error, but not snap was uploaded and not even the bank snap was shown on the download page.

Sam


 
Profile Email PM
Quote
LWC
 March 20 2006 07:40 AM  
Forum Full Member
Full Member

Status: offline

Registered: 02/19/04
Posts: 781

Thanks for the update!

  1. Now...first of all, if I dissallow guest access, they still see items in what's new!
    Updated: fixed in v1.5.1.

  2. Speaking of v1.4, if it's mandatory, how come the plugin editor lists 1.5/1.3.6...?
    Updated: fixed in v1.5.1.

  3. Lastly, good job on the automated paths in filemgmt.php.
    However, those of them that aren't URLs are wrong!

    They are built (at least in essence) as $_CONF['path_html'] . '/' . 'filemgmt_data/X/";
    That meams an extra '/'!
    e.g. $filemgmt_FileStore = "/var/www/html//filemgmt_data/files/";

    But the biggest problem - and this may solve samstone's problem! - is $filemgmt_SnapCat. It misses a trailing slash!
    e.g. $filemgmt_SnapCat = ".../category_snaps";
    instead of .../category_snaps/";
    Updated: fixed in v1.5.1.


 
Profile Email PM
Quote
LWC
 March 20 2006 08:00 AM  
Forum Full Member
Full Member

Status: offline

Registered: 02/19/04
Posts: 781

Sorry everyone, filemgmt is finally register_long_arrays free, but still not register_globals free. For example, it keeps using $REMOTE_ADDR.

Also, pop.gif is still not ok - it has an extra ".
It's in public_html/include/functions.php :
$functionretval = " " . "" >';
Note the '"' in the end.
Either add an opening " or remove the closing one.
Updated: fixed in v1.5.1.

In addition, "more ..." is still hardcoded - this time in public_html/index.php .
Updated: fixed in v1.5.1.

And I see comments still can't be deleted (I recommend everyone to delete them via Spam-X - it's the best way).
Updated: fixed in v1.5.2.


 
Profile Email PM
Quote
Dirk
 March 20 2006 17:04 PM  
Forum Admin
Admin

Status: offline

Registered: 01/12/02
Posts: 12713

The new version doesn't use singlefile.php any more, so if you still have some links pointing to that file, you'll either end up with a 404 or a "call to undefined function" error if you left the old file in place.

Here's a simple fix. Upload this as your new singlefile.php:

PHP Formatted Code
<?php

require_once ('../lib-common.php');

if (isset ($_GET['lid'])) {
    echo COM_refresh ($_CONF['site_url'] . '/filemgmt/index.php?id=' . $_GET['lid']);
} else {
    echo COM_refresh ($_CONF['site_url'] . '/filemgmt/index.php');
}

?>
 

The same could also be accomplished with a mod_rewrite rule in your .htaccess but I wasn't too sure of the exact syntax and didn't want to try it out "live" here on the site ...

bye, Dirk


 
Profile Email Website PM
Quote
Anonymous: Trinity
 March 20 2006 19:33 PM  


did a fresh install and went to add a catagory and a file that worked fine but when i went to take a look to see if the file was there on /filemgmt/index.php u get a sql error

here is the error from the log


Mon 20 Mar 2006 19:26:59 EST - 1054: Unknown column 'd.cid' in 'on clause'. SQL in question: SELECT d.lid, d.cid, d.title, url, homepage, version, size, platform, submitter, logourl, status, date, hits, rating, votes, comments, description, grp_access FROM gl_filemgmt_filedetail d, gl_filemgmt_filedesc t LEFT JOIN gl_filemgmt_category c ON d.cid=c.cid WHERE status &gt; 0 AND d.lid=t.lid ORDER BY date DESC LIMIT 0, 5


 
Quote
Blaine
 March 20 2006 19:40 PM  
Forum Moderator
Moderator

Status: offline

Registered: 07/16/02
Posts: 1232

Can you try that SQL stmt manually ?
The field cid is in the filemgmt_data (d) table - something is very odd.


Geeklog components by PortalParts -- www.portalparts.com
 
Profile Email Website PM
Quote
Anonymous: trinity
 March 20 2006 20:25 PM  


i tried it in a query editor and got the same result

im running 5.0.15 of mysql

if its the server side i have a problem becuse i cant downfrade the server


 
Quote
Blaine
 March 20 2006 20:28 PM  
Forum Moderator
Moderator

Status: offline

Registered: 07/16/02
Posts: 1232

I would recommend you not use mysql 5 - I've not even installed it yet.


Geeklog components by PortalParts -- www.portalparts.com
 
Profile Email Website PM
Quote
Anonymous: trinity
 March 20 2006 21:00 PM  


its not my server Sad


 
Quote
machinari
 March 21 2006 02:57 AM  
Forum Full Member
Full Member

Status: offline

Registered: 03/22/04
Posts: 1511

that's sweet blaine!
Excellent work as usual. where do you find the time?!


 
Profile Email PM
Quote
lokki
 March 21 2006 10:11 AM  
Forum Chatty
Chatty

Status: offline

Registered: 03/19/05
Posts: 59

So are those posted by samstone and LWC really bugs?
If yes, are they going to be corrected in the downloads?


 
Profile Email PM
Quote
samstone
 March 21 2006 12:07 PM  
Forum Full Member
Full Member

Status: offline

Registered: 09/29/02
Posts: 808

Those are real bugs. Just keep reporting and I am sure Blaine, or Dirk will release a service release.

The bugs reported above are easy and simple fixes, so for the time being, just correct the files as mentioned by LWC, Dirk, and me.

Sam


 
Profile Email PM
Quote
LWC
 March 21 2006 12:24 PM  
Forum Full Member
Full Member

Status: offline

Registered: 02/19/04
Posts: 781

samstone, filemgmt.php turns manual once you install the plugin anyway, so you might as well don't wait and just fix it already yourself (the slashes I mean - especially the missing one). You can also access these settings through the admin's config (you can recognize them as the settings that are hardcoded in English...:-).


 
Profile Email PM
Quote
lokki
 March 21 2006 13:51 PM  
Forum Chatty
Chatty

Status: offline

Registered: 03/19/05
Posts: 59

corrected

Quote by LWC:
Also, the comments are finally back...but broken in HTML mode! You can only post in plaintext mode (otherwise there's not only a Javascript error ("object denied") but clicking "send" just gives you a missing title/content message).


works for me


 
Profile Email PM
Quote
samstone
 March 21 2006 14:06 PM  
Forum Full Member
Full Member

Status: offline

Registered: 09/29/02
Posts: 808

LWC, you think I will wait for the release to fix something that is fixable?

I was just answering lokki's question. That fact that he is asking whether those bugs are real and ask for correction means he might not know enough to fix it himself. So that's why I ask him to wait for the bug fix release.

BTW, thanks for pointing out the paths. I guess I was too lazy to look at those paths in detail, seeing that they are pointing to my site folders. Yes they were all fixed the moment you posted it yesterday morning.

Sam


 
Profile Email PM
Quote
samstone
 March 21 2006 14:09 PM  
Forum Full Member
Full Member

Status: offline

Registered: 09/29/02
Posts: 808

Sorry lokki,

I missed that because I don't use the Comment and Rating features. I disabled them.

Sam


 
Profile Email PM
Quote
lokki
 March 21 2006 14:28 PM  
Forum Chatty
Chatty

Status: offline

Registered: 03/19/05
Posts: 59

2 samstone - i'm able to edit text files

BTW, comments worked for me, both html and plain text. So this shouldn't be considered a bug


 
Profile Email PM
Quote
Content generated in: 2.36 seconds
New Topic Post Reply



 All times are EDT. The time is now 10:59 PM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content