Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Extensions / Files & Media / Import

Mass import of files into PFS

This is a modified version of the Import plugin by Neocrome.

Features:
- Import files from FTP into the PFS

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

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

See also: Topic at Cotonti.com


1. Lissbol  2009-02-20 17:43

in events.edit.inc.php find:

"EVENTSEDIT_FORM_TEXT" => "<textarea name=\"reventtext\" rows=\"8\" cols=\"56\">".$row['event_text']."</textarea>",
"EVENTSEDIT_FORM_TEXTBOXER" => "<textarea class=\"editor\" name=\"reventtext\" rows=\"24\" cols=\"120\">".$row['event_text']."</textarea>",
Replace with:
"EVENTSEDIT_FORM_TEXT" => "<textarea name=\"reventtext\" rows=\"8\" cols=\"56\">".$row['event_text']."</textarea><br />".$bbcodes." ".$smilies." ".$pfs,
"EVENTSEDIT_FORM_TEXTBOXER" => "<textarea class=\"editor\" name=\"reventtext\" rows=\"24\" cols=\"120\">".$row['event_text']."</textarea><br />".$bbcodes." ".$smilies." ".$pfs,
in events.add.inc.php find:
	"EVENTSADD_FORM_TEXT" => "<textarea name=\"neventtext\" rows=\"8\" cols=\"56\">".sed_cc($neventtext)."</textarea>",
	"EVENTSADD_FORM_TEXTBOXER" => "<textarea class=\"editor\" name=\"neventtext\" rows=\"24\" cols=\"120\">".sed_cc($neventtext)."</textarea>",
Replace with:
	"EVENTSADD_FORM_TEXT" => "<textarea name=\"neventtext\" rows=\"8\" cols=\"56\">".sed_cc($neventtext)."</textarea><br />".$bbcodes." ".$smilies." ".$pfs,
	"EVENTSADD_FORM_TEXTBOXER" => "<textarea class=\"editor\" name=\"neventtext\" rows=\"24\" cols=\"120\">".sed_cc($neventtext)."</textarea><br />".$bbcodes." ".$smilies." ".$pfs,

To enable PFS so images etc can be added =)

2. Lissbol  2009-02-21 03:17

Fuck sry m8's this post should be in the Calender & Events. I was just downloading this one when i found the codes in The Events plug. Admin plz remove and if possible move to right place =).

3. booka  2009-05-12 00:50

Promblem with plugin - tryin to import:

[quote=]Стереолето 2009
2009-05-11 20:47
Fatal error : SQL error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'happy up here!'.avi', 'avi', '1', '...', '6912237', '0')' at line 1[/quote]

4. booka  2009-05-12 00:54

I believe the problem is with ! and ' symbols in the file name

5. pieter  2010-02-15 16:18

To work with the latest version of cotonti change in import.php

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

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

6. booka  2010-03-27 22:06

WHy ho one reupload it?

7. tensh  2011-10-27 16:50

Can you please fix the link? I'd like to download this extension.

Total: 7, on page: 7

Adding comments has been disabled for this item