Firefox PHP

New editor tools module for Phorum 5.1+

Posted by Maurice Makaay 
Re: New editor tools module for Phorum 5.1+
July 20, 2006 11:20AM
Quote
chanh
Instead of getting the square popup box with all the smiley in it I only got a little rectangle box with no smiley at all. Just blank!

Please try out version 1.1.8 that I just uploaded. I fixed this to work on my site with no <base href> defined in my templates. I guess it should work on other systems as well now.

Quote
panu
Note that since adding smileyhelp the image url in BBCode help is not working...

You were right. It's not actually related to smileyhelp, but it sure was broken. This was also fixed in 1.1.8.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: New editor tools module for Phorum 5.1+
July 20, 2006 11:29AM
Quote
mmakaay
You were right. It's not actually related to smileyhelp, but it sure was broken. This was also fixed in 1.1.8.

Yep, but the URL to the actual help-file was different and it broke the image URL.

But nice to have it fixed.

---
-=[ Panu ]=-
Re: New editor tools module for Phorum 5.1+
July 20, 2006 01:44PM
Works very nice Maurice :-) Thnx!

Sergej

------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Re: New editor tools module for Phorum 5.1+
July 20, 2006 02:37PM
The image url in the bbcode help file is /mods/... Not ./mods/... So it doesn't work yet (for me at least).

---
-=[ Panu ]=-
Re: New editor tools module for Phorum 5.1+
July 20, 2006 02:42PM
Actually, mods/ depending on what you put in admin settings ;-)

Sergej

------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
pat
non java-script display
July 20, 2006 02:51PM
Hi,

is this the intended display for non java-script browsers ?


Re: non java-script display
July 20, 2006 03:35PM
There's not much I can do for non javascript browsers. So I simply list all available help pages. I mainly design with the new 5.2 template in mind (although 5.2 is a long way from now probably). In that template, the list will be a bit better integrated in the editor block, because it's automatically within an outer div block.

Quote
Panu
The image url in the bbcode help file is /mods/... Not ./mods/... So it doesn't work yet (for me at least).

What is in all the help files is the following:
<img src="<?php $GLOBALS["PHORUM"]["http_path"] ?>/mods/editor_tools/help/thumbsup.gif" border="0"/>
Tell me what the exact problem with that is. If I would add a single dot in front of /mods/, then things would break in case the configured http_path does not have an ending slash. For example http;//www.site.com/phorum would become [www.site.com]... This would be wrong of course. That's why there is no dot.

Edit: I blame the heat for this problem. I used http_path in front of the icon path, but I did not put "print" before it. Therefore the bit of PHP code doesn't really do anyting :-) I created a new package. I didn't change the version numbering for this though, so download the package from the first posting and you should be fine.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce



Edited 1 time(s). Last edit at 07/20/2006 04:54PM by mmakaay.
Re: non java-script display
July 20, 2006 07:35PM
This is very odd!

I tried the latest version and it works in Window and it works on my test site where I have Mambo install in a folder with phorum in the folder on the same level as Mambo but on my live site where I have my Mambo install in the root and phorum in a folder phorum then the editor_tools does not work at all.

It show nothing! I even tried remove the mods and redo it a few times but still got the same result, nothing!

Here is my site: [www.ongetc.com]

When I put 1.1.7 back I got the editor icon but of course the popup smile show blank rectangle but when I put in 1.1.8 then I got nothing no editor icon, no smiley, no nothing on my live site!

Thanks

[opensourceCMS.com]
[ongetc.com]
Chanh Ong



Edited 1 time(s). Last edit at 07/20/2006 07:40PM by chanh.
Re: New editor tools module for Phorum 5.1+
July 21, 2006 04:05AM
My bad, sorry. The .htaccess was not in the packaged module file. I uploaded a corrected one. Please try if that fixes your problem.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: non java-script display
July 21, 2006 08:54AM
Quote
mmakaay
Edit: I blame the heat for this problem.

Damn heat :)

---
-=[ Panu ]=-
Sorry, only registered users may post in this forum.

Click here to login