EllisLab text mark
Advanced Search
14 of 14
14
   
MX Universal Editor - integrate TinyMCE / MarkItUp /CKEditor with FileManager and LinkManager support; Updated 10March10
Posted: 10 May 2010 09:43 AM   [ Ignore ]   [ # 199 ]   [ Rating: 0 ]
Avatar
Joined: 2007-03-07
385 posts

Hello Max, on my linux server the permissions are not correctly set for new directories.
In function createfolder (inside fns_tinybrowser.php) i changed the mkdir line to include a chmod

update: posted to tinybrowser google-groups

was// return is_dir($dir) || @mkdir($dir, $perm);
new:    return is_dir($dir) || ( @mkdir($dir)  &&  chmod($dir$perm) ); 

From php manual:
mkdir(), ... The mode is also modified by the current umask, which you can change using umask().
umask(), ... Avoid using this function in multithreaded webservers. It is better to change the file permissions with chmod() after creating the file.
Using umask() can lead to unexpected behavior of concurrently running scripts and the webserver itself because they all use the same umask.

 
Posted: 10 May 2010 10:16 AM   [ Ignore ]   [ # 200 ]   [ Rating: 0 ]
Avatar
Joined: 2007-03-07
385 posts

Max, i have a question which might be a major issue.
In the folders tab inside tinybrowser you can delete the upload-destination folder itself!
-poof-  everything gone. I would like to suggest something like:
if directory==upload_destination delete=disabled, and maybe only allow deleting empty directories.

If you are browsing a nested folder and then go to the folders tab to delete it,
you are still inside the folder you just deleted. If you then go back to the browse tab,
tinybrowser will happily just re-create the same folder again, which you just deleted…
grin

ps. would it be possible to implement jquery.crop in tinybrowser-standalone?
(found it hidden under right-click image-editor)

 
Posted: 12 May 2010 08:36 AM   [ Ignore ]   [ # 201 ]   [ Rating: 0 ]
Avatar
Joined: 2009-10-29
84 posts

Somehow I managed to initiate TinyMCE on comments, but if I, Admin, try to upload picture, I’m getting error that I do not have upload privileges?
In CP everything is working properly, but with comments… no :\

Please what to do

 
Posted: 12 May 2010 09:51 AM   [ Ignore ]   [ # 202 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-04
354 posts

Hello Folks,
Thanks for using UE, BIG thank for helping me with bugfixing. I collect all fixes and ready to publish 1.0.3 today.  I will publish note about this little bit letter.

ee_sa It’s possible, but I just don’t ready to do it with UE1.  Its needs change a lot for settings, if just add it in currents structure it’ add additional mess.  But if you really want to play with it by your self – check the draft in the attachment. Func - comment_form_end. Settings the same as for communication tab. Works only with TinyMCE.

Janet Beckley
Yes, this flash bug… its big issue. I will add it into my doc’s and for UE2 I use Plupload, so it’s give webmasters some choosing in the upload methods.

 Signature 

my EE2 addons| Support forum | my EE1 addons
Like my addons? Follow me: @eecms @max_lazar

 
Posted: 12 May 2010 10:53 AM   [ Ignore ]   [ # 203 ]   [ Rating: 0 ]
Avatar
Joined: 2009-10-29
84 posts

I uploaded Your file, then removed, and now there is no comment form :(

 
Posted: 12 May 2010 12:56 PM   [ Ignore ]   [ # 204 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-04
354 posts

sorry - have a place a misprinting in file before packaging

example of textarea field:

<textarea name="comment"  id="comment" class="textarea mx_tiny TinyMCE mx_field" cols="50" rows="12"></textarea

(mx_tiny - is if you choose tiny config)

File Attachments
ft.mx_universal_editor_comment_draft.zip  (File Size: 16KB - Downloads: 132)
 Signature 

my EE2 addons| Support forum | my EE1 addons
Like my addons? Follow me: @eecms @max_lazar

 
Posted: 16 May 2010 09:46 AM   [ Ignore ]   [ # 205 ]   [ Rating: 0 ]
Avatar
Joined: 2009-10-29
84 posts

Great

You forgot to include livequery.js above mx.universal.editor.js

<sc*ript type="text/javascript" src="'.FT_URL.'mx_universal_editor/scripts/jquery.livequery.js"></sc*ript

Also You commented this line, 482 line, so it doesnt work in CP:

//        tinyMCE.execCommand("mceAddControl", true, "'.$field_name.'"); 


I added this line after config in comment_form_end function and it works for user folders based on member ID smile

$field_root_folders $FNS->remove_double_slashes($field_root_folders);
if (
$SESS->userdata['group_id'!= '1'
    
{
      $field_root_folders 
.= $SESS->userdata['member_id'.'/';
      
$folder_url .= $SESS->userdata['member_id'.'/';
     


But i can’t initiate it in SAEF. I included JS for TinyMCE, but still nothing?!

This is whole HTML for MX Field in SAEF:

Field description:

<
sc*ript type="text/javascript">;FT_URL "/extensions/fieldtypes/";</sc*ript

Thanks one more time

 
Posted: 26 May 2010 06:50 PM   [ Ignore ]   [ # 206 ]   [ Rating: 0 ]
Avatar
Joined: 2008-08-07
133 posts

I noticed that MX Universal Editor, when set to use CKEditor, cancels out Wygwam (Wygwam fields simply don’t display)... is there a way to get both to work together? I’ve narrowed the problem down to the <script… /> tag UE places in the head of CP panel Publish pages; I’m presuming it conflicts with the CKEditor script tag from Wygwam which is placed at the bottom of the page…

 Signature 

Yes, that is me in the avatar. cheese
No, the 38 kg / 84 lb M2 Browning 0.5” HMG is not meant to be carried by hand. red face
Yes, my arms hurt afterwards. hmmm
No, I did not actually get to fire it like that. cool hmm
Yes, it probably would have broken my hip if I had. shock

 
Posted: 01 June 2010 09:08 PM   [ Ignore ]   [ # 207 ]   [ Rating: 0 ]
Joined: 2008-07-31
104 posts

I have gone through modifying .htaccess and php.ini but have not been able to successfully upload anything larger then 500k. If I’m in UniEditor I get “server (IO) error”. If I’m doing a bulk upload into a UniEditor matrix field I get “IO: Error #2038”.

I have versions EE 1.6.9, nGen 1.0.1, FF 1.4, FF Matrix 1.3.5., MX UniEditor 1.0.2, FF Matrix Bulk Upload Addon 0.5.1

These are the attempted solutions.

.htaccess

php_value memory_limit 128M
php_value upload_max_size 28M
php_value post_max_size 40M
php_value max_input_time 20000
php_value max_execution_time 800 
php_value upload_max_filesize 28M 

Php.ini

mail.protect 0
memory_limit 
128M
post
.max_vars 5000
post
.max_value_length 500000
request
.max_vars 5000
request
.max_value_length 500000
session
.cryptua Off 

Thanks for any help,
Mike

 
Posted: 18 June 2010 02:26 AM   [ Ignore ]   [ # 208 ]   [ Rating: 0 ]
Joined: 2007-06-18
293 posts

Hi all

Has anyone managed to “upgrade” from EE native field formatting to UniEditor? Everthing appears as one clump of text because unieditor won’t convert line breaks to paragraphs (for good reason!). When confronted with a large existing site, what does one do if you want to convert to WYSIWYG.

Thanks,
Richard

 
Posted: 11 July 2010 02:21 PM   [ Ignore ]   [ # 209 ]   [ Rating: 0 ]
Avatar
Joined: 2008-04-24
114 posts
Mark Bowen - 11 February 2010 07:30 PM

Does anyone know if there’s any way to get automatic URLs to work when using this on a field?

At the moment if you type in a URL to a site it just comes out as plain text on the site no matter what the weblog posting preferences setting is set to. I have to type in the URL then choose the URL and the link icon to link it to the same text again.

Any way around this perhaps?

Best wishes,

Mark

Max Lazar - 11 February 2010 09:04 PM

Mark Bowen
Possible my mistake - I will fix it in new version.

Was this ever fixed? It doesn’t seem to be working for me. Just want to make sure it’s not me and something I did.

EE 1.6.9 20100430
FieldFrame 1.3.5
MX UniEditor 1.0.2
using TinyMCE config

Admin > Weblog Administration > Weblog Management > Edit Weblog Preferences > Automatically turn URLs and email addresses into links?
Set to YES

Other than that, amazing add-on. I can’t imagine making EE sites without this one. Thanks again, Max.

 
14 of 14
14