Welcome to Geeklog, Anonymous Thursday, November 21 2024 @ 06:26 pm EST
Geeklog Forums
Filemgmt Plugin Version 1.5
Page navigation
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
We are now running this version on both sites - so comments are now working
Geeklog components by PortalParts -- www.portalparts.com
35
48
Quote
Status: offline
samstone
Forum User
Full Member
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
<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
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
Text 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
39
33
Quote
Status: offline
samstone
Forum User
Full Member
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
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
35
33
Quote
Status: offline
LWC
Forum User
Full Member
Registered: 02/19/04
Posts: 818
Thanks for the update!
- Now...first of all, if I dissallow guest access, they still see items in what's new!
Updated: fixed in v1.5.1. - 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. - 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.
33
33
Quote
Status: offline
LWC
Forum User
Full Member
Registered: 02/19/04
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.
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.
36
35
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
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:
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
Here's a simple fix. Upload this as your new singlefile.php:
Text Formatted Code
<?phprequire_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
31
38
Quote
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 > 0 AND d.lid=t.lid ORDER BY date DESC LIMIT 0, 5
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 > 0 AND d.lid=t.lid ORDER BY date DESC LIMIT 0, 5
30
36
Quote
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
im running 5.0.15 of mysql
if its the server side i have a problem becuse i cant downfrade the server
32
32
Quote
trinity
Anonymous
its not my server
38
31
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
that's sweet blaine!
Excellent work as usual. where do you find the time?!
Excellent work as usual. where do you find the time?!
31
26
Quote
Status: offline
samstone
Forum User
Full Member
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
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
30
27
Quote
Status: offline
LWC
Forum User
Full Member
Registered: 02/19/04
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...:-).
31
25
Quote
Status: offline
lokki
Forum User
Chatty
Registered: 03/19/05
Posts: 59
corrected
works for me
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).
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
28
28
Quote
Status: offline
samstone
Forum User
Full Member
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
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
30
34
Quote
Page navigation
All times are EST. The time is now 06:26 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