[RC3] eMosbat TinyMCE Integration (WYSIWYG editor)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
User avatar
Ali@php
Registered User
Posts: 62
Joined: Fri Sep 09, 2011 11:17 am
Name: Ali Faraji

Re: [BETA] eMosbat's TinyMCE Integration

Post by Ali@php »

emosbat wrote:
Ali@php wrote:
emosbat wrote:
Ali@php wrote:Nice mod thanks ;)
There isnt any option to limit usage of some tags like flash, Right ?
thanks :D
flash button should disapear when you disable flash in admin.
Then its awesome :D
Please retest your download package its not working for me now
download link has been fixed please try again.
Not working :
screenshot
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [BETA] eMosbat's TinyMCE Integration

Post by emosbat »

please download latest version 1.0.2 and make sure you refresh template in admin.
if you use customized template you should manualy copy files from prosilver template folder in MOD to your theme folder.
Last edited by emosbat on Sun Aug 05, 2012 7:13 am, edited 1 time in total.
User avatar
Ali@php
Registered User
Posts: 62
Joined: Fri Sep 09, 2011 11:17 am
Name: Ali Faraji

Re: [BETA] eMosbat's TinyMCE Integration

Post by Ali@php »

emosbat wrote:please download latest version 1.0.2 and make sure you refresh template in admin.
if you use customized template you should manualy copy files in from prosilver template folder in MOD to your theme folder.
Sure I know them :D but I use quickinstall, No need to refresh anything ;)
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [BETA] eMosbat's TinyMCE Integration

Post by emosbat »

Ali@php wrote:
emosbat wrote:please download latest version 1.0.2 and make sure you refresh template in admin.
if you use customized template you should manualy copy files in from prosilver template folder in MOD to your theme folder.
Sure I know them :D but I use quickinstall, No need to refresh anything ;)
please double check everything. do you use any theme rather than prosilver? then you should copy template changes from automod. if problem contiune send me link for review. I just tested it on http://forum.emosbat.com you may view it online.
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [BETA] eMosbat's TinyMCE Integration

Post by emosbat »

update:
RTL update added in mod for support of right to left languages.
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [BETA] eMosbat's TinyMCE Integration

Post by emosbat »

DUH! lot of visits, no comments? :shock: any suggestion, feature request and bug report welcomed!
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [BETA] eMosbat's TinyMCE Integration

Post by emosbat »

english demo is now up: :)

http://phpbblab.emosbat.com/phpBB3
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [BETA] eMosbat's TinyMCE Integration

Post by emosbat »

lot of new features added :D
ACP added with lot of options you can changes.
please see first post for details.
User avatar
Meis2M
Translator
Posts: 1021
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری

Re: [BETA] eMosbat's TinyMCE Integration

Post by Meis2M »

thank u emosbat. very interesting.
phpBB persian international support
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM
Ultimate phpBB SEO Friendly URL extension
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [BETA] eMosbat's TinyMCE Integration

Post by emosbat »

Meis2M wrote:thank u emosbat. very interesting.
you're welcome my friend :)
elazard
Registered User
Posts: 73
Joined: Sat Jan 19, 2008 5:00 pm

Re: [BETA] eMosbat's TinyMCE Integration

Post by elazard »

Hi i use a custom template inherited from subsilver 2 i have no posting_editor.html for both of them.
Could you please help me?

Thanks for your help and for your work :D


edit anyway i tried to make the changes in posting_body.html it's now not showing any buttons after installation (no new or old bbcodes buttons) and i cant check config because of an error when clicking the acp tab

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_emotinymce.php on line 159: Invalid argument supplied for foreach()
thanks again for your help
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [BETA] eMosbat's TinyMCE Integration

Post by emosbat »

elazard wrote:Hi i use a custom template inherited from subsilver 2 i have no posting_editor.html for both of them.
Could you please help me?

Thanks for your help and for your work :D


edit anyway i tried to make the changes in posting_body.html it's now not showing any buttons after installation (no new or old bbcodes buttons) and i cant check config because of an error when clicking the acp tab

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_emotinymce.php on line 159: Invalid argument supplied for foreach()
thanks again for your help
Hello my friend
this mod is not compatible with subsilver template yet, but it will be available very soon (hope in next minor reversion).
edit: subsilver2 support added in new version ;)
/

regarding error message, did you run `emotinymce_install.php` installation proccess? and what is your phpbb version? do you use any other language rather than english? and did you copied language files (in case of manual installation)?
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [BETA] eMosbat's TinyMCE Integration

Post by emosbat »

EXreaction wrote: posting_editor.html

Code: Select all

rg = new RegExp(escapeReg("{smiley.A_SMILEY_CODE}"),"g");
replace with

Code: Select all

rg = new RegExp("^"+escapeReg("{smiley.A_SMILEY_CODE}")+"$","g");
oh I forgot to add this fix.
this just occured on this smiley ( :oops: ) for me.
I just added your fix, thanks!
/
edit:
seems not working well :?
your suggestion process whole string for match and this will cause problem in previewing/resubmiting posts. this will not process smilies/custom bbcodes when clicking preview button :( because then we send whole entered text to regex for match and replacement. hope find a better solution for this problem.
Last edited by emosbat on Thu Aug 09, 2012 2:17 pm, edited 3 times in total.
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] eMosbat's TinyMCE Integration

Post by keith10456 »

Wow! I've been waiting for an editor like this that supports custom BBcode! Awesome :!:
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] eMosbat's TinyMCE Integration

Post by keith10456 »

On your demo board, I'm having a problem left-aligning an inserted image with text (so the text is wraps around the image).

I'm attempting align the image via the Insert options (upon clicking the image icon).

When I preview, sometime I get a server error, and sometime it just goes back to the default setting.

I'm not sure if it actually posts correctly or not because posts must be approved by the admin before they are displayed.

Otherwise, it's looks pretty good ;)

Return to “[3.0.x] MODs in Development”