[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!
Anti-Spam Guide
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [RC] eMosbat's TinyMCE Integration

Post by emosbat »

misiek90 wrote:
emosbat wrote:because there is not such BBCodes in phpBB by default :roll:
So what? This means that you're never going to spend the version in which it will be?
I can not include bbcodes that doesn't exists in a clean phpbb installation, then those buttons do not works for all end-users. but you - as end-user - be able to add any custom bbcode to editor from acp and this MOD will show them in toolbar automatically.

here are some custom bbcodes include alignments bbcodes:
http://www.phpbb.com/community/viewtopic.php?t=579376
misiek90
Registered User
Posts: 12
Joined: Wed Aug 08, 2012 11:37 pm

Re: [RC] eMosbat's TinyMCE Integration

Post by misiek90 »

emosbat wrote:I can not include bbcodes that doesn't exists in a clean phpbb installation, then those buttons do not works for all end-users. but you - as end-user - be able to add any custom bbcode to editor from acp and this MOD will show them in toolbar automatically.

here are some custom bbcodes include alignments bbcodes:
http://www.phpbb.com/community/viewtopic.php?t=579376
I know that, but it's not the point. A click on the centering and immediately see the effects, in the additional bbcode so no. In future versions you plan to release something like that here? Ever? http://www.tinymce.com/tryit/full.php
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [RC] eMosbat's TinyMCE Integration

Post by emosbat »

misiek90 wrote:I know that, but it's not the point. A click on the centering and immediately see the effects, in the additional bbcode so no. In future versions you plan to release something like that here? Ever? http://www.tinymce.com/tryit/full.php
it is easy for me to include them, but we have not these bbcodes by default in phpbb :roll:

if I include these buttons I should define a code behind them to render and show them (just like what you said: click and see effect) but there is no pre-defined html code in clean installation of phpbb for these buttons and we do not know how end-user defines them.

let me describe this way:
maybe one user define 'center' bbcode's html in acp as:

Code: Select all

<div style="text-align: center">{TEXT}</div>
and second user define it as:

Code: Select all

<span style="text-align: center; font-weight: bold;">{TEXT}</span>
so we do not know how they define html part to parse it. we should have html code of bbcodes to be able pre-define them and also render them correctly ;)

but do not be despair :mrgreen: I maybe write an addon MOD with some predefined bbcodes like alignments for this MOD. then all end-user uses same bbcodes with same html codes and this enable me to include them in toolbar :D
dark_topo
Registered User
Posts: 3
Joined: Mon Feb 20, 2012 12:33 am

Re: [RC] eMosbat's TinyMCE Integration

Post by dark_topo »

Bro how can i remove unused icons from the editor?
can u link me to a tut or something?
thanks in advance mate :)
Last edited by dark_topo on Tue Aug 21, 2012 1:47 am, edited 1 time in total.
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [RC] eMosbat's TinyMCE Integration

Post by emosbat »

dark_topo wrote:Bro how can i unused icons from the editor?
can u link me to a tut or something?
thanks in advance mate :)
if you mean icons on toolbar, then you should edit tinymce source code. simple way is define a transparent or 1x1 pixel icon for that button.
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [RC1] eMosbat's TinyMCE Integration

Post by emosbat »

mobile detection has been added and status changed to RC1 after more testing.

you can enable or disable WYSIWYG editor for mobile devices in acp but I recommend that set it to disable because many mobile devices could not load and render javascript commands.
Last edited by emosbat on Fri Aug 24, 2012 5:52 pm, edited 1 time in total.
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [RC1] eMosbat's TinyMCE Integration

Post by keith10456 »

Good addition ;)
G4ll4no
Registered User
Posts: 10
Joined: Sat Jul 28, 2012 4:35 am

Re: [RC1] eMosbat's TinyMCE Integration

Post by G4ll4no »

I installed the 1.5.5 version on phpbb3.0.10 to test but when I switch the language the text box does not appear.

Another questions:
You can integrate this mod to Advanced BBCode Box?
What to do to get the text box always popping up without clicking the answer?
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [RC1] eMosbat's TinyMCE Integration

Post by emosbat »

G4ll4no wrote:I installed the 1.5.5 version on phpbb3.0.10 to test but when I switch the language the text box does not appear.

Another questions:
You can integrate this mod to Advanced BBCode Box?
What to do to get the text box always popping up without clicking the answer?
you could manualy copy language files for your local language. and also refresh your theme.
You can integrate this mod to Advanced BBCode Box?
no.
What to do to get the text box always popping up without clicking the answer?
which text box and popup? please show me a screenshot or send more details.
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [RC2] eMosbat's TinyMCE Integration

Post by emosbat »

1.5.6:
ucp option has been added: end-user would be able to select to use normal editor or enhanced editor from ucp (board preferences).
Shorty1968
Registered User
Posts: 253
Joined: Sat Sep 10, 2011 10:19 am

Re: [RC2] eMosbat's TinyMCE Integration (WYSIWYG editor)

Post by Shorty1968 »

Hi,
i have instal this editor and i have debug error in the ACP:

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/includes/acp/acp_emotinymce.php on line 114: Undefined index: eMosbat TinyMCE Integration
[phpBB Debug] PHP Notice: in file [ROOT]/includes/acp/acp_emotinymce.php on line 115: Undefined index: eMosbat TinyMCE Integration_EXPLAIN
[phpBB Debug] PHP Notice: in file [ROOT]/adm/index.php on line 294: Undefined offset: 1
[phpBB Debug] PHP Notice: in file [ROOT]/adm/index.php on line 295: Undefined offset: 2
[phpBB Debug] PHP Notice: in file [ROOT]/adm/index.php on line 294: Undefined offset: 1
[phpBB Debug] PHP Notice: in file [ROOT]/adm/index.php on line 295: Undefined offset: 2
[phpBB Debug] PHP Notice: in file [ROOT]/adm/index.php on line 294: Undefined offset: 1
[phpBB Debug] PHP Notice: in file [ROOT]/adm/index.php on line 295: Undefined offset: 2
[phpBB Debug] PHP Notice: in file [ROOT]/adm/index.php on line 294: Undefined offset: 1
[phpBB Debug] PHP Notice: in file [ROOT]/adm/index.php on line 295: Undefined offset: 2
[phpBB Debug] PHP Notice: in file [ROOT]/includes/acp/acp_emotinymce.php on line 184: Undefined variable: skin_options
and by the Posting this:

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/posting.php on line 676: Undefined index: EMOTINYMCE_MOBILE
Sorry for my bad english,i am a German Bub and Google Translate help me. :D
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [RC2] eMosbat's TinyMCE Integration

Post by keith10456 »

emosbat wrote:1.5.6:
ucp option has been added: end-user would be able to select to use normal editor or enhanced editor from ucp (board preferences).
I'm very happy to see the development going as far as you're taking it :-)
Shorty1968
Registered User
Posts: 253
Joined: Sat Sep 10, 2011 10:19 am

Re: [RC2] eMosbat's TinyMCE Integration (WYSIWYG editor)

Post by Shorty1968 »

more problem the editor to not works in Firefox looks screen.
Image
Sorry for my bad english,i am a German Bub and Google Translate help me. :D
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [RC2] eMosbat's TinyMCE Integration

Post by emosbat »

keith10456 wrote: 'm very happy to see the development going as far as you're taking it :-)

thank you keith :D

Shorty1968 wrote:more problem the editor to not works in Firefox looks screen.
did you installed this mod using automod or manual?
I think you forgot modifying some of codes or runing emotinymce_install.php and it cause that error.
did you run emotinymce_install.php after mod installation?
also refresh your theme and cache from acp.
Shorty1968
Registered User
Posts: 253
Joined: Sat Sep 10, 2011 10:19 am

Re: [RC2] eMosbat's TinyMCE Integration (WYSIWYG editor)

Post by Shorty1968 »

Hi i have using auto mod for install,but I have the installation manual checks and there is everything and the error is still there?

In the ACP, there is the setting of full editor width: default = 0, when I enter for example 100 where the editor is smaller, I wish have wider him but some how I do this?
Sorry for my bad english,i am a German Bub and Google Translate help me. :D

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