New editor tools module for Phorum 5.1+

Posted by Maurice Makaay 
Re: New editor tools module for Phorum 5.1+
October 13, 2006 05:05AM
There's no trick... Here on my embedded forum development page, you can see that the tools do work in an embedded environment. If you have a URL where you have enabled the tools in an embedded environment, then I could take a look at the code to see what could be missing. I don't have any wild guesses on this.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: New editor tools module for Phorum 5.1+
October 13, 2006 12:53PM
ok sure. thanks.

this is a link to a place where it should be active.

[beta.spherculism.net]

it was active when i turned off the embedded phorum and changed the template to "default"

this template i am using is just a slightly modified version of the embedded_phorum template.

thanks.
Re: New editor tools module for Phorum 5.1+
October 13, 2006 01:18PM
I'm also using this module in embedded environment with a rather heavily personalised template but everything works fine and at first by just activating the module. All problems I've discussed one month ago with Maurice concerning the management of the forum path have disappeared in the latest version. The only problem I have now is some conflicts with other modules as for example with the "lightbox option" of "in_body_attachments" module that I have reported two or three messages above.
Re: New editor tools module for Phorum 5.1+
October 13, 2006 02:07PM
well just to make sure i wasn't losing it I set my template for the public forum to "default phorum template 0.4"

this didn't change the look of the forum while the embedded_phorum module was atcive.

however no editor tools in the text areas.

Then I turned off the embedded phorum module.

because I am going through my embed script I get a template error at the time but from the output that does render i see the editor tools.

so the puzzle is why does it not load for me when the embedded phorum module is activated.
Re: New editor tools module for Phorum 5.1+
October 13, 2006 02:27PM
There is absolutely no reference to the editor_tools stuff in your page. My guess is that you're not using all the information that is returned by the editor_tools module. In the page elements, there's also fields for data that has to be put in the page <head>...</head> section. You will have to modify your connector class to use all information that is handed over to you. Look at the gitaar.net connector and model your own connector and page building after that one.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: New editor tools module for Phorum 5.1+
October 13, 2006 02:55PM
Even if at the bottom of your source you have some code from editor_tools, the editor_tools.js call is missing from your page. As Maurice says, it should be present somewhere in the <head> section. Also in what is present from the module in your code, some paths don't look very nice, even if they seem correct, like

'[beta.spherculism.net]/./mods/smileys/images/smiley23.gif';

Perhaps you should verify the HTTP Path in the admin's general settings.

I'm not currently using the embedded module because I have not enough time to develop the connector to by user database, so I've embedded only the phorum graphics with the portable method. But when I activate the embedded module it works anyway.
Re: New editor tools module for Phorum 5.1+
October 13, 2006 02:55PM
ok.. it was the $elements[head_data] that i had to put in the header of my site.

thanks!
Re: New editor tools module for Phorum 5.1+
October 15, 2006 11:49PM
I have noticed a few errors in the javascript console of Firefox 1.5.0.7:

Erreur : Erreur d'analyse de la valeur pour la propriété « width ». Déclaration abandonnée.
Fichier source : [www.phorum.org]
Ligne : 45

Erreur : Erreur d'analyse de la valeur pour la propriété « width ». Déclaration abandonnée.
Fichier source : [www.phorum.org]
Ligne : 63

Erreur : Erreur d'analyse de la valeur pour la propriété « width ». Déclaration abandonnée.
Fichier source : [www.phorum.org]
Ligne : 131

Erreur : urchinTracker is not defined
Fichier source : [www.phorum.org]
Ligne : 15

Another errors are about -moz-user-select, like this one:

Erreur : Erreur d'analyse de la valeur pour la propriété « -moz-user-select ». Déclaration abandonnée.
Fichier source : [www.phorum.org]
Ligne : 94
Re: New editor tools module for Phorum 5.1+
October 16, 2006 04:06AM
The "-moz-user-select" is the only one that is caused by the editor tools. This was a wrong CSS declaration in the color picker tool. I already had that fixed, but I did not yet release a new version, only for getting rid of a warning.

I you want to fix it yourself, then find -moz-user-select in the file mods/editor_tools/colorpicker/js_color_picker_v2.css and change that line to read:
        -moz-user-select:none;


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: New editor tools module for Phorum 5.1+
October 16, 2006 04:14AM
these are all specialtities of the phorum.org-css:

Erreur : Erreur d'analyse de la valeur pour la propriété « width ». Déclaration abandonnée.
Fichier source : [www.phorum.org]
Ligne : 45

Erreur : Erreur d'analyse de la valeur pour la propriété « width ». Déclaration abandonnée.
Fichier source : [www.phorum.org]
Ligne : 63

Erreur : Erreur d'analyse de la valeur pour la propriété « width ». Déclaration abandonnée.
Fichier source : [www.phorum.org]
Ligne : 131

you probably have adblock or something else installed which blocks some js-files:

Erreur : urchinTracker is not defined
Fichier source : [www.phorum.org]
Ligne : 15


all of that is not globally phorum-related but just used on this page.


Thomas Seifert
Sorry, only registered users may post in this forum.

Click here to login