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

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

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

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

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

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

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

viewtopic.php?f=6&t=675
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
tuxmika
Ssr. Bludit
Posts: 10
Joined: Tue Jul 05, 2016 5:47 pm

I download ckeditor_4.5.9_full .

Can i place the folder ckeditor in bl-plugins?
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Yes, and then activate the plugin at "Settings" > "Plugins" (and deactivate all other editors).
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
Fred
Legend Bludit
Posts: 236
Joined: Wed Jun 24, 2015 2:14 pm
Location: France
Contact:

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

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:

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