Firefox PHP

Text style editor

Posted by hoowoo 
Re: Text style editor
November 24, 2005 04:02PM
I've added something based on the smielyshelp-mod discussed elsewhere.
My add-smiley-function ist based on the javascript function singletag from hoowoo.
I had to add some init-code for IE because animated gifs stopped under some circumstances. I had no good solution for this.

You can have a look at my work at my testforum.

[www.hernolds-radseiten.de]

Coments welcome
Peter



Edited 1 time(s). Last edit at 11/24/2005 04:03PM by PeterH.
Re: Text style editor
November 24, 2005 04:03PM
I am planning to create a mod that combines this with the smileys panel that I already wrote (can be found in the svn repository), to offer this kind of functionality from a module that will be distributed with the Phorum distro.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
5.1.6a ?
January 24, 2006 12:00PM
I've managed to figure out that the include needs to be in posting_messageform.tpl (rather than post_form.tpl and edit.tpl)

However in pm_post.tpl it wasn't recognising the text area. I guessed this is because the "phorum_page" in if(phorum_page == 'control') $formarea = "message"; is no longer called 'control' with the new dedicated PM screen. Whats the new phorum_page for the PM screen ?

I've had to cheat :)

$formarea = "message";
if(phorum_page == 'read') $formarea = "body";
if(phorum_page == 'post') $formarea = "body";
if(phorum_page == 'moderation') $formarea = "body";
if(phorum_page == 'control') $formarea = "message";
if(phorum_page == 'edit') $formarea = "body";



Simon
When should I use...
February 23, 2006 09:05PM
I noticed there are three versions of this mod.

bb-editor-enhaced-3.2.zip (13.8kB)
bb-editor-enhaced-forms-named-3.2.zip (14.4kB)
bb-editor-enhanced-getforms-3.2.zip (14.4kB)

When should you use what version?
pat
Re: When should I use...
February 26, 2006 08:14AM
Quote
Durtdawber
bb-editor-enhaced-3.2.zip (13.8kB)
bb-editor-enhaced-forms-named-3.2.zip (14.4kB)
bb-editor-enhanced-getforms-3.2.zip (14.4kB)

When should you use what version?

[www.phorum.org]

Re enhanced: [www.phorum.org]



Edited 1 time(s). Last edit at 02/26/2006 08:16AM by pat.
Thanks
February 26, 2006 05:42PM
Re: Text style editor
March 08, 2006 12:18PM
this is a mod i must have, but unfortuantely i get javascript error into browser status bar (IE6, NS, Mozilla) when i try to apply the BBcode and it just don't work, i've tried all versions of this mode, enhanced and not, then i had to remove it.

i run 5.0.21 unmoded and perfectly working, do you have any idea what can cause the js error ?!?

also please, will this mod work on the new phorum 5.1.8 when released ?
are the phorum developers planning to place any BBstyle editor mod into 5.1.8 ?

thanks in advance,
tito



Edited 1 time(s). Last edit at 03/08/2006 12:20PM by tito.
Re: Text style editor
March 08, 2006 12:46PM
> also please, will this mod work on the new phorum 5.1.8 when released ?

not out of the box. it'll need a couple of changes for that.

> are the phorum developers planning to place any BBstyle editor mod into 5.1.8 ?

no.


Thomas Seifert
Re: Text style editor
March 08, 2006 06:56PM
Thanks ts77

anybody have an idea abt this?

i get javascript error into browser status bar (IE6, NS, Mozilla) when i try to apply the BBcode and it just don't work, i've tried all versions of this mode, enhanced and not, then i had to remove it.

i run 5.0.21 unmoded and perfectly working, do you have any idea what can cause the js error ?!?

thanks
Re: Text style editor
March 09, 2006 04:11AM
With NS/Mozilla, enter "javascript:" in the location or startup the javascript console from the menu. Then run your page and see if there are any javascript errors.

Despite Thomas' comment, I have planned a bbcode tool module for the editor that can be shipped with Phorum. I had one finished, but the main problem that I had with it was that the javascript library that I used was GPL licenced. This is totally incompatible with the Phorum license and we really do not want to make Phorum GPL. Therefore, I'll have to come up with some new code for this feature. I hope I have the time to finish this module before the stable release of 5.1.x. Else, I will release the module afterwards.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Sorry, only registered users may post in this forum.

Click here to login