Welcome to Geeklog Saturday, October 21 2017 @ 08:15 am EDT


Status: offline

Blaine

Forum User
Full Member
Registered: 16/07/2002
Posts: 1233
Location:Canada
working
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

Status: offline

Robin

Forum User
Full Member
Registered: 15/02/2002
Posts: 725
caffeinated

Thank you Blaine
Geeklog Polish Support Team

Status: offline

samstone

Forum User
Full Member
Registered: 29/09/2002
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

Status: offline

samstone

Forum User
Full Member
Registered: 29/09/2002
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


Status: offline

LWC

Forum User
Full Member
Registered: 19/02/2004
Posts: 818
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.

Status: offline

LWC

Forum User
Full Member
Registered: 19/02/2004
Posts: 818
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.

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/2002
Posts: 13073
Location:Stuttgart, Germany
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

Trinity

Anonymous
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

Status: offline

Blaine

Forum User
Full Member
Registered: 16/07/2002
Posts: 1233
Location:Canada
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

trinity

Anonymous
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

Status: offline

Blaine

Forum User
Full Member
Registered: 16/07/2002
Posts: 1233
Location:Canada
I would recommend you not use mysql 5 - I've not even installed it yet.
Geeklog components by PortalParts -- www.portalparts.com

trinity

Anonymous
its not my server Frown

Status: offline

machinari

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

Status: offline

lokki

Forum User
Chatty
Registered: 19/03/2005
Posts: 59
So are those posted by samstone and LWC really bugs?
If yes, are they going to be corrected in the downloads?

Status: offline

samstone

Forum User
Full Member
Registered: 29/09/2002
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

Status: offline

LWC

Forum User
Full Member
Registered: 19/02/2004
Posts: 818
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...:-).

Status: offline

lokki

Forum User
Chatty
Registered: 19/03/2005
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

Status: offline

samstone

Forum User
Full Member
Registered: 29/09/2002
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

Status: offline

samstone

Forum User
Full Member
Registered: 29/09/2002
Posts: 820
Sorry lokki,

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

Sam

Status: offline

lokki

Forum User
Chatty
Registered: 19/03/2005
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

All times are EDT. The time is now 08:15 am.

  • 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