Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 10:41:21 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149632 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: 1 ... 8 9 [10] 11 12 ... 17   Go Down
Print
Author Topic: FCKEditor Modul  (Read 108765 times)
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« Reply #225 on: November 04, 2007, 10:22:42 AM »

@coops

The WB modul version number has nothing to do with the FCKEditor version number. So actual is the the WB modul vesion 2.77 wich uses FCKEditor version 2.43.

Matthias
Logged
spida

Offline Offline

Posts: 203


« Reply #226 on: November 04, 2007, 11:23:00 AM »

Hello,

the WBlink modul is written for older Version of FCKEditor. FCKEditor changed the way of Usermodul handling but the WBlink modul was never adapted to this new handling. So it needs to be rewritten. Hope someone can do this.

Matthias

Yeah, I hope someone would have the time - and more PHP knowledge than I do :-/

For so far, which other editor would be a recommendation, particulary with regards to the WB link?
« Last Edit: November 04, 2007, 11:25:04 AM by spida » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« Reply #227 on: November 04, 2007, 11:32:41 AM »

Hello,

Quote
which other editor would be a recommendation, particulary with regards to the WB link?

At the moment we only can recommand to use FCKEditor. All other editors has security holes. The only editor wich has WBLink Modul included is the built in HTMLArea.

Matthias
Logged
gingebaker

Offline Offline

Posts: 22


« Reply #228 on: November 12, 2007, 08:10:55 AM »

Hi.

So the possibility of picture uploading directly from the Editor is gone with FCKEditor 2.77.

So everyone who uses WebsiteBaker as a lets say "one-man-backend" or at least when every user in the backend has the possibility to edit the hole media subfolder you can for now use the FCKEditor-version 2.75 who has the uploading from the Editor Module enabled. cause then there is no security hole and no control loss of the WB-admin....

Am i right about this?

It was a really comfortable future to do uploading right from the editor. I think it could be managed to rewrite the php connector in a way that you check if the uploading user has WB-Permsissions to upload to a given directory or not. So then WB would have the full control back again with uploading function from Editor directly.

So is this rewriting ot the php-connector in progress already? Or dont you want the future of uploading directly from editor anymore?? I would try to rewrite or better say extend the fck-php-connector, if it´s not done or in progress already...

please reply....
Logged
doc
Guest
« Reply #229 on: November 12, 2007, 10:21:04 AM »

Hello,

the developers of FCKEditor have made some major changes and released a first Beta version on their website. Main focus is therefore on integration of the new version into WB, which may require to rewrite e.g. the Link module ...

However, if anybody volunteers to rewrite the php-connector file, feel free to do it  smiley

Regards Christian
Logged
doc
Guest
« Reply #230 on: November 12, 2007, 07:27:36 PM »

Hello,

have created a WB module based on the latest FCKEditor v2.5 Beta. Details about new features and bugfixes can be found here. The new options available to configure the module according your needs via wb_fckconfig.js can be found here.

FCKEditor v2.5 Beta allows to enable/disable individual commands like "CreateFolders", "UploadFiles" from the PHP connectors, which makes integration into WB easier.

The WB module checks if the user is authentificated via the WB backend and enables FileUpload, browsing of the media folder and creation of new folders based on the WB group permissions.
It is possible to install this module in parallel to an existing FCK module, as I have changed the installation folders in the info.php of the module.

If anybody is intersted in testing the module, please post here in the forum. We will not release this module on the Add-ons site until the developers of the FCKEditor release a stable version. In addition we need to check/test what options should be enabled per default.

Regards Christian
« Last Edit: December 02, 2007, 07:51:21 AM by doc » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« Reply #231 on: November 13, 2007, 04:32:55 AM »

Hello Christian,

want to be a beta tester but i miss the link for to download the beta versions.

Matthias
Logged
gingebaker

Offline Offline

Posts: 22


« Reply #232 on: November 13, 2007, 05:46:37 AM »

i would also like to test the new version...

regards
Logged
doc
Guest
« Reply #233 on: November 13, 2007, 06:13:04 AM »

Hello,

please find attached the WB module which implements FCKEditor v2.5 Beta. The WB module version is counted v2.80. As noticed on the website of the developers, this Beta version should not be used in productive environments.

The PHP connector part is completelly rewritten. Only one single file of the FCKEditor core needs to be modified to get FCKEditor working with WB compared to about 8 files in the previous version.

The current implementation enables/disables functions depending on the WB permissions. This allows a smooth integration into WB (e.g. uploading and creation of files via the broser dialogues) and the integration of the required security measures.

Christian

Note
Attachment removed, the final release v2.50 was released by the developers of FCKEditor.
« Last Edit: December 01, 2007, 06:38:56 PM by doc » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« Reply #234 on: November 13, 2007, 05:55:49 PM »

Hello Christian,

just downloaded your version (from 13.11. 19:11) and i must say I'm very impressed. Looks good, works good. Hope FCKEditor 2.5 will be released soon.

The only thing what i don't like is the unneeded Resource Typ List when you browse the server. I know the best solution for future upgrading should be to let as less as possible files untouched. But to get rid of this sensless Resource Typ List the filemanager/browser/default/frmresourcetype.html should be adapted like in previous versions.

Matthias
Logged
doc
Guest
« Reply #235 on: December 01, 2007, 06:34:48 PM »

Hello,

the developers of the FCKEditor have released FCKEditor v2.50 on their website. Details about the latest release can be found here. Infos about the configuration settings of FCK can be found here.

Quote from: developer of FCKEditor
This is the most important release since FCKeditor 2.0. It introduces Safari and Opera compatibility, but also new features that leverage the quality of FCKeditor to an upper level. You will find no similar solution on other products.

Attached the WB module of FCKeditor v2.80 (internal version numbering used in WB).
With the latest release it is possible to enable only those actions (e.g. file upload, creating folder, view folders) which are granted to the user/group via the WB access panel.

As the developers have modified and moved a lot of files, it is recommended to delete an existing previous version before installing the latest release. Do not forget to backup the FCK settings in the folder wb_config.

Any feedback and testing is highly appreciated. If no problems exist, we will release this version on the Add-ons repository.

Regards Christian

Note: Removed attachement. Have posted an updated version of the module.
« Last Edit: December 02, 2007, 02:27:33 PM by doc » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« Reply #236 on: December 02, 2007, 08:52:51 AM »

Hello,

tested the new version and there seems to be no issues. Like the new features of FCKEditor and also your security fixes. This is really an important release. Both the FCKEditor itself and also the WB modul.

Had only one small wish. In the WBmodules plugin in the file wbmodules.html on line 6 there is:

Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf8">

This causes that pages wich are non "UTF8" the special chars in the linklist are displayed wrong. This is only a optical issue, as the links work. My workaround is to replace manually the charset. Better would be a solution wich reads the charset from the settings of WB. Do you think this is possible?

Hope this version will get final as soon as possible.

Matthias
Logged
Hans

Offline Offline

Posts: 560


« Reply #237 on: December 02, 2007, 09:59:02 AM »

Hi
tested the new FCK editor (deleted the old one, installed the new one, reloaded modelues in Settings, emptied the browser cache) but when trying to insert an internal WB link i get a javascript error.
Code:
http://www.xxxx.nl/modules/fckeditor/fckeditor/editor/plugins/WBModules/fck_wbmodules.php
Also I get an error message when trying to insert an image:
Code:
You don't have permission to access /modules/fckeditor/fckeditor/editor/filemanager/browser/default/browser.html on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

The old version (before the vulnerability was detected) worked fine.
Hans
Logged

Hans - Nijmegen - The Netherlands
doc
Guest
« Reply #238 on: December 02, 2007, 10:20:48 AM »

@Hans

regarding your first issue, this may be related to Internet Explorer 7.0 (only). At least is works in Firefox. Have you tried the bugfix posted by the forum member Melisa?

Concerning the second issue. Can you please check the permissions of the folder and files? If possible try to deinstall the FCKEditor moduel again. Check via FTP that the folder /modules/fckeditor no longer exists. Than clean browser cache and install the latest version via the WB backend - does this work?

@ruebenwurzel
may be possible by setting a template variable. will see how this can be fixed together with the bugfix posted by Melisa.

Regards Christian
« Last Edit: December 02, 2007, 10:28:16 AM by doc » Logged
Hans

Offline Offline

Posts: 560


« Reply #239 on: December 02, 2007, 10:26:56 AM »

I will try later today, have to go now. Thanks for quick answer.
Hans
Logged

Hans - Nijmegen - The Netherlands
doc
Guest
« Reply #240 on: December 02, 2007, 02:18:50 PM »

Hello,

please find attached an updated version.

Have implemented the WBLink Plugin fix proposed by Melisa. Removed possibility to specify a title for the internal link. This method caused script errors in IE7.0 and even if the title was specified inf Firefox, it did not appear in the source code.

It is not possible to specify a user defined charset for plugins (at least I do not know how). Have changed wbmodules.html to use the specified WB charset, but FCKEditor overwrites the <head> section with the content specified in the HTML file: /fckeditor/fckeditor/editor/fckdialog.html. So if there is a need to specify the right charset, one needs to change this file to the charset used by WB.

Added a CHANGELOG file which explains the upgrade procedure and shows the latest changes applied. The module version number remains unchanged: v2.80.

Regards Christian

NOTE: Attachment removed; just released the FCKEditor module v2.80 on the Add-ons site.
« Last Edit: December 05, 2007, 07:20:08 PM by doc » Logged
Hans

Offline Offline

Posts: 560


« Reply #241 on: December 02, 2007, 08:31:37 PM »

Hi Christian
I tried as you said in an earlier post. WB link works fine now wit 2.80-2.
The second problem however still exists.
I uninstalled V2.80, checked via FPT and all files and folders were gone. Then I emptied the cache and installed V2.80-2 but the error still exists. The folders have permission 755, the files 644.
Regards
Hans
Logged

Hans - Nijmegen - The Netherlands
doc
Guest
« Reply #242 on: December 02, 2007, 08:39:41 PM »

Hello Hans,

well this seems for whatever reason be a server issues. What server are you using? Do you have a .htaccess file placed somewhere if yes which content. If possible, can you provide me access to your backend?

Tested it on Xampp (with PHP4 and PHP5) and on my webserver (domainfactory).
On all servers it works fine.

Regards Christian
Logged
Hans

Offline Offline

Posts: 560


« Reply #243 on: December 02, 2007, 08:53:26 PM »

Hi Christian
I tested an existing install with an other provider (WB 2.6.5.) and I got the same error.
A fresh install (WB 2.6.7) with that same provider works fine!
So, I don't know if it's the WB version that might be the culprit.
I'l try to find out what the differences are between these two installs
If I get to know something I'll come back here.
Thank you very much for this module, it makes my virtual life a bit easier smiley
Regards
Hans
Logged

Hans - Nijmegen - The Netherlands
doc
Guest
« Reply #244 on: December 03, 2007, 10:55:13 AM »

Hello,

is there anybody out here in the forum (except Hans) who can test the latest module with the Internet Explorer 7.0? This browser seems not to work very well with the latest release.

Regards Christian
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7661



WWW
« Reply #245 on: December 03, 2007, 11:14:56 AM »

Hello

testet your latest version on two domains of mine with IE7 and had no issues. All works as aspected. Can use WBmodules and insert image without error messages. So it seems to be a server issue.

Had a similar issue with another hosting company. But this was with WB 2.6.7 and a earlier FCKEditor modul. We had the problem that browsing through media dir wasn't possible. We solved this problem by using another php version. But cannot remember wich one makes the issues and with wich one it works, sorry. And i think it is not the php version itself (as your modul works here on php 4.x and 5.x fine), it more seems to be the dependience between Apache Version and PHP Version and how they are configured.

Hope this helps

Matthias

P.S.
maybe asking FunkyMF could help, as he knows the hoster i mean better than I and had the same issues with FCKEditor.
Logged
Hans

Offline Offline

Posts: 560


« Reply #246 on: December 03, 2007, 11:28:12 AM »

Hi Matthias
Did some homework today.
I tried several WB installs with all the same provider (so I guess: the same server configuration). I just installed FCK 2.80-2 on three WB 2.6.7 installs there and they work fine in both browsers after having emptied the cache and restarting.
The only site I seem to have problems with now is a site made with WB 2.6.4. Although Christian can't imagine that that could be a problem I will try and update to WB 2.6.7 for that site and see what happens.
I guess that it will be tomorrow before I can do that, but I will come back with the results
Now that I seem to be the only one having problems (and that with only one install) I find that I must do some things myself first before asking more of your time.
I have PM'ed Christian with login information for that site. Hopefully we'll find the solution.
Thanks, the help of all of you is greatly appriciated!
Hans

UPDATE: installing WB 2.6.7 didn't help.
« Last Edit: December 03, 2007, 02:06:20 PM by Hans » Logged

Hans - Nijmegen - The Netherlands
Waldschwein
Guest
« Reply #247 on: December 03, 2007, 02:21:17 PM »

Hi!

Testing right now, but there are several problems, like no FCK under FF2 and broken font-sizes (large is 7px, that's not normal)... I don't know if the installation on my XAMPP has problems, wait a bit and I post my exceperiences with several browsers (IE7/FF2/Opera9.5/Safari3) under Vista.

Edit: Ok, everything works on IE7,Opera9.5 and Firefox2 (Safari3 can't open the WB administration, so I can't test it...)
The installation is a completly new wb2.6.7 with only the fck2.80-2. BUT: The font-sizes don't work. Under IE7/FF2 the sizes are from 1px-7px (that's completly unreadable Wink), under Opera9.5 everything is font-size-2, regardless which size.
The "increase indent" under Opera is not working as it should (only one space), and under Opera there is no translation of FCK as under IE/FF. And you can upload pictures via Insert Image - don't know if it should be after 2.75.  And there are several more features at FCK as before (some were hidden I think in <2.80).

EDIT: But besides this issues, everything works as it should be. I had none of the issues posted above.

Regards Michael
« Last Edit: December 03, 2007, 02:42:18 PM by Waldschwein » Logged
doc
Guest
« Reply #248 on: December 03, 2007, 02:50:11 PM »

Hello,

to summarize. The latest version (v2.80-2) seems to have no issues  smiley
Only one installation has some issues which could be traced back to server configurations.

The Opera support in FCK is still Beta, so not all features will work as they should. Details can be found on the FCK Wiki site. The font size can be customized in the corresponding wb_config folder. Maybe the developers changed something from 2.43 to 2.50, so we should check the possible parameters in the JS configuration file.

Most important, the WB module works (browsing through files, adding links, flash and images), the error message of the WBLink Plugin is gone. The security measures are in place and do only allow the actions granted via the WB access panel (group permissions).

Regards Christian

[Edit]
Maybe this already works:
Code:
FCK Wiki: FCKConfig.FontSizes= 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;
wb_fckconfig.js: FCKConfig.FontSizes= '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ;
« Last Edit: December 03, 2007, 03:09:26 PM by doc » Logged
Waldschwein
Guest
« Reply #249 on: December 03, 2007, 02:53:09 PM »

Hello!

Yes, everything works, that's really good.
Could please someone check the font-sizes, that don't work on my fresh WB installation? Wink

Regards Michael
Logged
Pages: 1 ... 8 9 [10] 11 12 ... 17   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!