xoops forums

luciorota

Module Developer
Posted on: 2011/3/12 0:20
luciorota
luciorota (Show more)
Module Developer
Posts: 197
Since: 2007/4/20
#1

Need help testing new module Ajaxfilemanager 0.1

Ajax File Manager v0.1 - beta

Resized Image

I need help for testing

What is this module?

This module add an Ajax File Manager to Xoops.
You can manage files (+editor), images (+editor), video (.flv), maps (.kml) manager...
This module install a new button in 'dhtmltextarea' elements and add 2 extra extensions (Video to insert .flv videos, Gmap to insert .kml generated google maps).

As resource for module developers there are also 2 new formelements objects, 'formajaxfilemanager' and 'formmultiajaxfilemanager' to Xoops framework... you can find them in /class directory, try them in your modules.
Ajaxfilemanager for Xoops is released under GNU LGPL 2.1.

Credits

* Ajax file manager by http://www.phpletter.com/
* Google Maps JavaScript API V3 by Google http://code.google.com/intl/it-IT/api ... documentation/javascript/
* LongTail Video JW PLayer for flash & HTML5 http://www.longtailvideo.com/
* "Farm-Fresh Web Icons" by FatCow Web Hostinghttp://www.fatcow.com/free-icons


Download here: http://xoops.svn.sourceforge.net/view ... ajaxfilemanager/?view=tar
Rota Lucio
lucio.rota@gmail.com; l.rota@caritasbergamo.it
mobile: +39 338 9966321

Mamba

Moderator
Posted on: 2011/3/12 3:09
Mamba
Mamba (Show more)
Moderator
Posts: 10779
Since: 2004/4/23
#2

Re: Need help testing new module Ajaxfilemanager 0.1

Great news! I'll be testing it this weekend.

One thing, since eregi() is depreciated in PHP 5.3, do you think, you can replace it with preg_match() ?

Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

dbman

Friend of XOOPS
Posted on: 2011/3/12 3:15
dbman
dbman (Show more)
Friend of XOOPS
Posts: 172
Since: 2005/4/28
#3

Re: Need help testing new module Ajaxfilemanager 0.1

The module installs without error in XOOPS 2.5. The gmap, ajaxfilemanager and video extension installed without issue. Folder creation works in File Manager. File upload doesn't seem to work.

I've given read,write, execute permissions to the ajaxfilemanager folder. I am trying to upload files with valid upload extensions as defined in Preferences. There are no errors in the debugger for the filemanager and no errors in Firebug.

Mamba

Moderator
Posted on: 2011/3/12 4:11
Mamba
Mamba (Show more)
Moderator
Posts: 10779
Since: 2004/4/23
#4

Re: Need help testing new module Ajaxfilemanager 0.1

Quote:
File upload doesn't seem to work.

On local WAMPserver with PHP 5.3.4 it works OK.

However, there are some differences how it works in "Details" and "Thumbnails" View.

1) Details: when I select a file, the "File information" changes, incl. a "Select" Button. When I click that button, the selected image/file is placed in XOOPS.

2) Thumbnails: when I select an image, the file information changes, but there is no "Select" button, i.e. I cannot insert the document/image into XOOPS

Also, there is a problem with long names of files. The "File Information" box doesn't compensate for it, i.e. it extends covering parts of file list box.

Otherwise the first impression is very good

BTW - some of the English translations are missing. Do you want me to add them, or are you going to update it all later?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

luciorota

Module Developer
Posted on: 2011/3/12 5:55
luciorota
luciorota (Show more)
Module Developer
Posts: 197
Since: 2007/4/20
#5

Re: Need help testing new module Ajaxfilemanager 0.1

@Mamba
Quote:

since eregi() is depreciated in PHP 5.3, do you think, you can replace it with preg_match() ?


Yes, I'll replace...

@dbman
Quote:

File upload doesn't seem to work


This is a bug
Any kind of file? Any size? Please tell me more, server info, xoops info?

@Mamba
Quote:

2) Thumbnails: when I select an image, the file information changes, but there is no "Select" button, i.e. I cannot insert the document/image into XOOPS

&

a problem with long names of files


I'll fix... in thumbnails you can select files by clicking right button...

@Mamba
Quote:

BTW - some of the English translations are missing. Do you want me to add them, or are you going to update it all later?


Yes, you can, As soon as you can... commit your works on repository

Rota Lucio
lucio.rota@gmail.com; l.rota@caritasbergamo.it
mobile: +39 338 9966321

Mamba

Moderator
Posted on: 2011/3/12 14:26
Mamba
Mamba (Show more)
Moderator
Posts: 10779
Since: 2004/4/23
#6

Re: Need help testing new module Ajaxfilemanager 0.1

Quote:
@Mamba

Quote:
BTW - some of the English translations are missing. Do you want me to add them, or are you going to update it all later?

Yes, you can, As soon as you can... commit your works on repository

I updated it again, and it seems to work now. The issue was with variable names showing in the DHTML boxes, like:

_AJAXFM_AM_VIDEO_ENTERURL

instead the correct translation of it.

I'll test it some more next week.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

dbman

Friend of XOOPS
Posted on: 2011/3/12 16:14
dbman
dbman (Show more)
Friend of XOOPS
Posts: 172
Since: 2005/4/28
#7

Re: Need help testing new module Ajaxfilemanager 0.1

Quote:
This is a bug Any kind of file? Any size? Please tell me more, server info, xoops info?


I've tried a few different file types, even a 32k image file doesn't work.

The server is:
CentOS 5.5
Apache 2.2.17
PHP 5.2.16
- post_max_size = 1073741824
- upload_max_filesize = 1024M
- allow_url_fopen = off
MySQL 5.1.52
XOOPS 2.5


luciorota

Module Developer
Posted on: 2011/3/14 21:37
luciorota
luciorota (Show more)
Module Developer
Posts: 197
Since: 2007/4/20
#8

Re: Need help testing new module Ajaxfilemanager 0.1

fixed: in thumbnails there is no "Select" button [@mamba]
fixed: upload doesn't seem to work on some servers [@dbman]
fixed: some of the language variables are missing [@mamba]
fixed: problem with long names of files (not definitive solution) [@mamba]
added: default visualization option
added: items per page option
to do: eregi() is depreciated in PHP 5.3, replace it with preg_match() [@mamba]

try it now!

download from: http://xoops.svn.sourceforge.net/view ... er/trunk/ajaxfilemanager/

have fun
Rota Lucio
lucio.rota@gmail.com; l.rota@caritasbergamo.it
mobile: +39 338 9966321

luciorota

Module Developer
Posted on: 2011/3/24 14:19
luciorota
luciorota (Show more)
Module Developer
Posts: 197
Since: 2007/4/20
#9

Re: Need help testing new module Ajaxfilemanager 0.1

upgrade: Ajax File Manager to 1.0
upgrade: jquery plugins to latest versions
added: some new options
fixed: some minor errors
to do: eregi() is depreciated in PHP 5.3, replace it with preg_match() [@mamba]
to do: help.html & description.htm are incomplete

TRY IT!

download here:
http://xoops.svn.sourceforge.net/view ... ajaxfilemanager/?view=tar
Rota Lucio
lucio.rota@gmail.com; l.rota@caritasbergamo.it
mobile: +39 338 9966321

dbman

Friend of XOOPS
Posted on: 2011/3/25 0:48
dbman
dbman (Show more)
Friend of XOOPS
Posts: 172
Since: 2005/4/28
#10

Re: Need help testing new module Ajaxfilemanager 0.1

I still cannot upload files. Getting an alert message:

The folder path is not allowed.


No errors in firebug. After I get the message above I cannot close the modal window containing the file upload form.

I can create and delete folders as per the previous version.