[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!
Scam Warning
Locked
User avatar
mladiucitelj
Registered User
Posts: 586
Joined: Sun Dec 12, 2010 12:33 am
Location: Slovenia, Europe

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

Post by mladiucitelj »

A step closer to analyse the problem!

I just uninstall it by running emotinymce_install.php, keep all files on server and install it right away again. The editor shows up now, but then I went to ACP to disable showing tips (same problem as here: posting.php?mode=reply&f=70&t=2160273#pr13211777) and now editor is invisible again.

Hope you can help...
Don't forget to clear cache, refresh template, theme and imageset, double check all files :)

My mod: [MODDB] Menu System
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

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

Post by emosbat »

try suggestion on first post (FIX COMMON PROBLEMS) if you use language rather than english and clear your cache too.
User avatar
mladiucitelj
Registered User
Posts: 586
Joined: Sun Dec 12, 2010 12:33 am
Location: Slovenia, Europe

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

Post by mladiucitelj »

Ok, I'll try it later, but don't know why it's all working till changing settings for editor in ACP. After that it stops.
Don't forget to clear cache, refresh template, theme and imageset, double check all files :)

My mod: [MODDB] Menu System
User avatar
mladiucitelj
Registered User
Posts: 586
Joined: Sun Dec 12, 2010 12:33 am
Location: Slovenia, Europe

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

Post by mladiucitelj »

emosbat wrote:try suggestion on first post (FIX COMMON PROBLEMS) if you use language rather than english and clear your cache too.
Can't belive it. It works now! :) Downloaded my language from TinyMCE website and that's it.

But I would really like tips to work, because my users won't understand what some custom bbcodes means and how to use it. Do you know how to fix it? (problem: posting.php?mode=reply&f=70&t=2160273#pr13211777)

EDIT: in Chrome tips works ok! In FF it's like says in above link
Last edited by mladiucitelj on Thu Jan 03, 2013 10:47 pm, edited 1 time in total.
Don't forget to clear cache, refresh template, theme and imageset, double check all files :)

My mod: [MODDB] Menu System
User avatar
mladiucitelj
Registered User
Posts: 586
Joined: Sun Dec 12, 2010 12:33 am
Location: Slovenia, Europe

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

Post by mladiucitelj »

Ok, found the solution for tips to work. Just upload gif image for every custom bbcode you have and tips will show ok.

Another two things:

1. My mod Live Preview (https://www.phpbb.com/customise/db/mod/live_preview/) stops working now.

2. How to put my custom bbcodes next to quote, code, list etc. line? How to put is one line up or to an dropdown menu for example?
Don't forget to clear cache, refresh template, theme and imageset, double check all files :)

My mod: [MODDB] Menu System
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

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

Post by emosbat »

glad to hear it.
live mod is not a mod for enhanced editor it is for normal editor. and positioning buttons is not possible but you can manually do it by editing tinymce theme_advanced_buttons1 settings in emotinymce_editor.html. but do it at your own risk because changing position of default button may show strange result!
User avatar
mladiucitelj
Registered User
Posts: 586
Joined: Sun Dec 12, 2010 12:33 am
Location: Slovenia, Europe

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

Post by mladiucitelj »

Ok, I've uninstalled live mod. Really don't need it now.

Ok, I'll try to edit the mentioned file.

Thank you! This mod is one of my favourite :)
Don't forget to clear cache, refresh template, theme and imageset, double check all files :)

My mod: [MODDB] Menu System
idontwantausername
Registered User
Posts: 219
Joined: Fri Nov 09, 2007 8:25 pm

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

Post by idontwantausername »

any way to make this compatible with advance bbcode and full quick reply MODs?
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

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

Post by emosbat »

those are mods for normal editor, that is completely defferent than the way that someone can code plugin for enhanced editor such as tinymce.
idontwantausername
Registered User
Posts: 219
Joined: Fri Nov 09, 2007 8:25 pm

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

Post by idontwantausername »

Okay thank you =)
idontwantausername
Registered User
Posts: 219
Joined: Fri Nov 09, 2007 8:25 pm

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

Post by idontwantausername »

My board says "error your message contains too few characters" when using quick reply. Doesn't matter how long the post is. It will post just fine with full editor though.
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

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

Post by emosbat »

I have not this error. can not tell you what is problem except when I see a demo.
idontwantausername
Registered User
Posts: 219
Joined: Fri Nov 09, 2007 8:25 pm

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

Post by idontwantausername »

Sorry was an issue with Jquery base.

Edit: Is there any way to remove the quick reply button, and have the quick reply editor show by default.

I followed this article but it also disables the TinyMCE editor and reverts back to the default one.
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

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

Post by emosbat »

use this javascript code:

Code: Select all

 $(document).ready(function() {
         hide_qr(true);
 });
User avatar
Alien_Time
Registered User
Posts: 389
Joined: Fri Dec 31, 2010 7:08 am

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

Post by Alien_Time »

Nice mod. I am testing this mod in my locahost and I have couple of questions:

1) How do you integrate this mod to the 'Gallery' bbcode? I have installed the phpbb Gallery MOD and this mod adds the following line of code to the posting_buttons.html

Code: Select all

    <!-- IF S_GALLERY_POPUP -->
		<input type="button" class="button2" name="gallery_button" value="{L_GALLERY_POPUP}" onclick="popup('{U_GALLERY_POPUP}', 800, 600);" title="{L_GALLERY_POPUP_HELPLINE}" />
	<!-- ENDIF -->
But the above bbcode does not show in this editor buttons. How can show this added 'gallery' bbcode?

2) Does this mod reduce the posting page's loading speed?
Locked

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