1
luciorota
Need help testing new module Ajaxfilemanager 0.1
  • 2011/3/12 0:20

  • luciorota

  • Module Developer

  • Posts: 216

  • Since: 2007/4/20


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/apis/maps/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/viewvc/xoops/XoopsModules/ajaxfilemanager/trunk/ajaxfilemanager/?view=tar
Rota Lucio
lucio.rota@gmail.com;
mobile: +39 338 9966321

2
Mamba
Re: Need help testing new module Ajaxfilemanager 0.1
  • 2011/3/12 3:09

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


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.11 | Docs | Modules | Bugs

3
dbman
Re: Need help testing new module Ajaxfilemanager 0.1
  • 2011/3/12 3:15

  • dbman

  • Friend of XOOPS

  • Posts: 172

  • Since: 2005/4/28


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.

4
Mamba
Re: Need help testing new module Ajaxfilemanager 0.1
  • 2011/3/12 4:11

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


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.11 | Docs | Modules | Bugs

5
luciorota
Re: Need help testing new module Ajaxfilemanager 0.1
  • 2011/3/12 5:55

  • luciorota

  • Module Developer

  • Posts: 216

  • Since: 2007/4/20


@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;
mobile: +39 338 9966321

6
Mamba
Re: Need help testing new module Ajaxfilemanager 0.1
  • 2011/3/12 14:26

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


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.11 | Docs | Modules | Bugs

7
dbman
Re: Need help testing new module Ajaxfilemanager 0.1
  • 2011/3/12 16:14

  • dbman

  • Friend of XOOPS

  • Posts: 172

  • Since: 2005/4/28


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



8
luciorota
Re: Need help testing new module Ajaxfilemanager 0.1
  • 2011/3/14 21:37

  • luciorota

  • Module Developer

  • Posts: 216

  • Since: 2007/4/20


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/viewvc/xoops/XoopsModules/ajaxfilemanager/trunk/ajaxfilemanager/

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

9
luciorota
Re: Need help testing new module Ajaxfilemanager 0.1
  • 2011/3/24 14:19

  • luciorota

  • Module Developer

  • Posts: 216

  • Since: 2007/4/20


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/viewvc/xoops/XoopsModules/ajaxfilemanager/trunk/ajaxfilemanager/?view=tar
Rota Lucio
lucio.rota@gmail.com;
mobile: +39 338 9966321

10
dbman
Re: Need help testing new module Ajaxfilemanager 0.1
  • 2011/3/25 0:48

  • dbman

  • Friend of XOOPS

  • Posts: 172

  • Since: 2005/4/28


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.


Login

Who's Online

320 user(s) are online (189 user(s) are browsing Support Forums)


Members: 0


Guests: 320


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits