cotonti.com : [Release] Import v2.1 https://www.cotonti.com Последние сообщения в теме Cotonti en Thu, 20 Nov 2025 18:30:07 -0000 pieter
I changed in import.php

replace
require('system/config.extensions.php');

with
require('datas/extensions.php');

Added 1 minute later:

On my upgraded site it worked, because if you upgrade, you upload new files an dreplace old one's.
But if you change filename or move to another directory, like this file. The old version stays on the site.
Maybe in the upgrade procedure we need to point which files need to be removed.]]>
пн, 15 фев 2010 16:19:15 -0000
Trustmaster system/config.extensions.php has been moved to datas/extensions.php]]> пн, 15 фев 2010 15:33:43 -0000 pieter
Warning: require(system/config.extensions.php) [function.require]: failed to open stream: No such file or directory in /home/k3098kru/public_html/broens/plugins/import/import.php on line 47

Warning: require(system/config.extensions.php) [function.require]: failed to open stream: No such file or directory in /home/k3098kru/public_html/broens/plugins/import/import.php on line 47

Fatal error: require() [function.require]: Failed opening required 'system/config.extensions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/k3098kru/public_html/broens/plugins/import/import.php on line 47

On line 47 he asks for : require('system/config.extensions.php');

But is it not there anymore. Where did it move to?

Added 3 minutes later:

I copied an old one and it works, but out-of-the-box it will not work.]]>
пн, 15 фев 2010 15:16:05 -0000
GHengeveld вс, 29 ноя 2009 07:00:09 -0000 TeknoGroup сб, 28 ноя 2009 20:14:03 -0000 Lissbol пн, 12 окт 2009 23:15:08 -0000 GHengeveld чт, 12 фев 2009 04:29:54 -0000 Antar http://www.dutchcotonti.com/datas/users/import_v2.1_2.rar i believe.
Anyway, i did not found any change since previous version. maybe i just downloaded wrong file?]]>
ср, 11 фев 2009 18:24:52 -0000
GHengeveld ср, 11 фев 2009 17:51:57 -0000 Trustmaster ]]> ср, 11 фев 2009 17:48:38 -0000 pieter So I can move my gallery to Cotonti.

BTW: @admins You should get the "Plugin maker" group instead of translator.]]>
ср, 11 фев 2009 17:40:48 -0000
donP real html (via browser) import would be released?
In the actual way, only webmasters (with FTP access) can mass-import files (to \import folder and then to the desired location)... but what about the ability to import great numbers of files directly from the browser? Actually, one user can import 8 files at time in his filespace, and only parsing any single filename in one textfield per-time... it isn't an encouraging manner... specially when a user wants to create a photogallery...
Another thing... if this plugin remains a tool-plugin it's impossible to give users access to it without granting also access to the whole Administration Panel... :-/ it would be most useful like a standard plugin with normal rights assignements...]]>
ср, 11 фев 2009 17:40:24 -0000
GHengeveld ср, 11 фев 2009 17:31:38 -0000 medar
"importtopfs" for example - it is better name.]]>
ср, 11 фев 2009 15:06:46 -0000
GHengeveld
Changes in v2.1:
- Added limit to the number of imports in one go, to prevent a server time-out.

Please make sure you re-install the plugin, because there are some new config values.

I tested this with a bunch of images (1280x960) and found that the limit for basic usage lies somewhere around 60 (on my localhost with 30sec timeout), and with image resize on it lies around 20 images before timeout. Default values are now 50 for basic usage and 15 when resize = on. On a real webserver you may actually have to set this even lower, depending on the server CPU speed and load. You can safely experiment with this, but you might encounter an error and if it terminates mid-process, the last file could be broken or not resized (if resize=on).

@Antar: Please update the language file for v2.1 so I can safely add it.
The pages thing is an interesting option, but personally I don't feel it's really a needed addition. Besides, there is the 'datas/html' folder to import pages. I think that system should be updated to support files.]]>
ср, 11 фев 2009 06:59:55 -0000
Antar Russian langfile: http://www.cotonti.com/datas/users/import.ru.lang_22.rar

Just an idea to discuss:
How about an option to import files straight into pages, to desired category?
I mean automaticly fill in the title (filtering "_", "-" "." and the ".rar"), the url field the file exist to "yes"?

It could help to quickly create file repository using pages.]]>
ср, 11 фев 2009 05:54:54 -0000
GHengeveld
Features:
- Import files from FTP into the PFS

New in v2.0:
- Automatic resizing of images (config option)
- Choose which files to import
- Remove user-id in filename (config option)
- Add timestamp in filename (config option)
- Fully localisable (includes EN and NL language files)
- Various bugfixes

Changes in v2.1:
- Added limit to the number of imports in one go, to prevent a server time-out.

Installation:
- Extract and upload the files
- In the root of your Cotonti site, create a folder named 'import'
- Go to Admin > Plugins > Import > Install all

Usage:
- Upload files to /import with FTP
- Go to your PFS and create a folder where the files will go
- Go to Admin > Tools > Import
- Select the files to import
- Select the folder where the files should go and submit

> Download (v2.1)]]>
ср, 11 фев 2009 04:19:07 -0000