[PLUGIN] Ckeditor + Filemanager (WYSIWYG editor + Medias manager)

User avatar
Fred
Legend Bludit
Posts: 235
Joined: Wed Jun 24, 2015 2:14 pm
Contact:

Thu Mar 17, 2016 10:40 pm

Sorry i don't understand the problem, can you explan please?
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
ravilr
Jr. Bludit
Posts: 2
Joined: Tue Mar 15, 2016 6:38 pm

Fri Mar 18, 2016 5:45 am

it is possible to access the files (delete, rename) without authorization. it's bad.
User avatar
Fred
Legend Bludit
Posts: 235
Joined: Wed Jun 24, 2015 2:14 pm
Contact:

Fri Mar 18, 2016 3:57 pm

Oh my god is bad yes, Thx for report ravilr!
Update to 1.0.9, read first post.
Uninstall and install again plugin for get the new key in parametre.
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
wkheathjr
Ssr. Bludit
Posts: 27
Joined: Thu Apr 14, 2016 2:27 pm

Thu Apr 14, 2016 6:23 pm

Please disregard, I have solved the problem and happy to have it on my site.
User avatar
Edi
Site Admin
Posts: 1234
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Fri Jun 24, 2016 12:19 pm

There are problems with the filemanager of CKEditor when using Budit v1.4. See:

viewtopic.php?f=6&t=675
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
tuxmika
Ssr. Bludit
Posts: 10
Joined: Tue Jul 05, 2016 5:47 pm

Sat Jul 09, 2016 4:49 pm

I download ckeditor_4.5.9_full .

Can i place the folder ckeditor in bl-plugins?
User avatar
Edi
Site Admin
Posts: 1234
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Mon Jul 11, 2016 12:07 pm

Yes, and then activate the plugin at "Settings" > "Plugins" (and deactivate all other editors).
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
Fred
Legend Bludit
Posts: 235
Joined: Wed Jun 24, 2015 2:14 pm
Contact:

Fri Aug 12, 2016 9:29 pm

Update, read first post ;)
╰☆╮Bludit╰☆╮ is a open source and community contributions are essential to project success!
You are looking for a light forum based Json? Try my project Flatboard, it is free. ;)
Sorry for my little english, i'm french :oops:
User avatar
oldteacher
Sr. Bludit
Posts: 37
Joined: Mon Jan 25, 2016 5:46 pm

Tue Aug 16, 2016 9:50 am

I updated to the latest with the security fix after somneone was nice enough to alert me and not hack me. There are a few good people left in the world:)

Now the issue I have is get error page when opening FM. I click the "Browse Server", get popup and error page from URL like this appears:

Code: Select all

bl-plugins/ckeditor/libs/filemanager/dialog.php?type=1&editor=ckeditor&akey=Zt8rvjPp9dxY&fldr=&CKEditor=jscontent&CKEditorFuncNum=1&langCode=en
The key shown is what is in plugin setting field.

Any ideas?

Thanks.
SmaRTeY
Jr. Bludit
Posts: 1
Joined: Thu Mar 16, 2017 8:43 pm
Location: Netherlands
Contact:

Sun Mar 19, 2017 1:02 pm

Hi there,

Newby here and VERY pleased to see Bludit, great work and VERY 'clean' setup, compliments!

So, running on latest Bludit using (latest) CKEditor Plugin I ran into folder/path issue making it unable to upload files to server.
I think have solved it (it's working for me) so I will post my solution here hoping it might help others!

The file that needed a fix is: /bl-plugins/ckeditor/libs/filemanager/config/config.php

I changed the following lines in config.php which seems to do the trick with regard to "missing upload folder" error:

Code: Select all

// PHP paths for init
define('PATH_ROOT', 			DS);

define('PATH_THUMBS',			PATH_CONTENT.'thumbnails'.DS);

	/*
	|--------------------------------------------------------------------------
	| path from base_url to base of upload folder
	|--------------------------------------------------------------------------
	|
	| with start and final /
	|
	*/
	'upload_dir' => PATH_UPLOADS,
	/*
	|--------------------------------------------------------------------------
	| relative path from filemanager folder to upload folder
	|--------------------------------------------------------------------------
	|
	| with final /
	|
	*/
	'current_path' => '../../../../bl-content/uploads/',
	/*
	|--------------------------------------------------------------------------
	| relative path from filemanager folder to thumbs folder
	|--------------------------------------------------------------------------
	|
	| with final /
	| DO NOT put inside upload folder
	|
	*/
	'thumbs_base_path' => '../../../../bl-content/uploads/thumbnails/',
With these changes (sure you could rewrite it still a bit different with regard to the Defines) I have the CKEditor running and able to upload files to Uploads folder. I Haven't figured out the thumbnails functionality yet but ohwell :)

Regards,
Eric
Post Reply