Topics

User Functions

Events

There are no upcoming events

What's New

Stories

1 new Stories in the last 2 weeks

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Friday, May 24 2013 @ 03:25 PM EDT


 Forum Index > Extensions > Plugins New Topic Post Reply
 Filemgmt Plugin Version 1.5
First | Previous | 1 2 3 4 | Next | Last
   
Blaine
 03/19/06 03:42PM (Read 29538 times)  
+++++
Full Member
working

Status: offline


Registered: 07/16/02
Posts: 1233
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
 Quote
Robin
 03/19/06 11:52PM  
+++++
Full Member
caffeinated

Status: offline


Registered: 02/15/02
Posts: 725

Thank you Blaine

Geeklog Polish Support Team
 
Profile Email Website
 Quote
samstone
 03/20/06 01:06AM  
+++++
Full Member

Status: offline


Registered: 09/29/02
Posts: 820
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
 Quote
samstone
 03/20/06 01:58AM  
+++++
Full Member

Status: offline


Registered: 09/29/02
Posts: 820
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
 Quote
LWC
 03/20/06 07:40AM  
+++++
Full Member

Status: offline


Registered: 02/19/04
Posts: 811
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 Website
 Quote
LWC
 03/20/06 08:00AM  
+++++
Full Member

Status: offline


Registered: 02/19/04
Posts: 811
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 Website
 Quote
Dirk
 03/20/06 05:04PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
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
 Quote
Anonymous: Trinity
 03/20/06 07:33PM  



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
 03/20/06 07:40PM  
+++++
Full Member

Status: offline


Registered: 07/16/02
Posts: 1233
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
 Quote
Anonymous: trinity
 03/20/06 08:25PM  



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
 03/20/06 08:28PM  
+++++
Full Member

Status: offline


Registered: 07/16/02
Posts: 1233
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
 Quote
Anonymous: trinity
 03/20/06 09:00PM  



its not my server Frown

 
 Quote
machinari
 03/21/06 02:57AM  
+++++
Full Member

Status: offline


Registered: 03/22/04
Posts: 1512
that's sweet blaine!
Excellent work as usual. where do you find the time?!

 
Profile Email
 Quote
lokki
 03/21/06 10:11AM  
+++--
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
 Quote
samstone
 03/21/06 12:07PM  
+++++
Full Member

Status: offline


Registered: 09/29/02
Posts: 820
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
 Quote
LWC
 03/21/06 12:24PM  
+++++
Full Member

Status: offline


Registered: 02/19/04
Posts: 811
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 Website
 Quote
lokki
 03/21/06 01:51PM  
+++--
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
 Quote
samstone
 03/21/06 02:06PM  
+++++
Full Member

Status: offline


Registered: 09/29/02
Posts: 820
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
 Quote
samstone
 03/21/06 02:09PM  
+++++
Full Member

Status: offline


Registered: 09/29/02
Posts: 820
Sorry lokki,

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

Sam

 
Profile Email
 Quote
lokki
 03/21/06 02:28PM  
+++--
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
 Quote
First | Previous | 1 2 3 4 | Next | Last
Content generated in: 1.42 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked 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