PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14946
Location: Kansas

PostPosted: Fri Jan 13, 2006 1:49 pm Reply with quote Back to top

Our polls and overall discussions in the forums came down to 2 choices: FCK or SPAW. Both have been implemented in phpnuke and both have pros and cons. The following will explain why we chose the way we did. It is not scientific and it is most definitely subjective in some cases.
Only registered users can see links on this board!
Get registered or login to the forums!
pretty much details the whole discussion about why FCKeditor was chosen.

It isn't that SPAW is unsuitable, but rather it is not the best choice for most users compared with FCKeditor, TinyMCE and others based on these comparisons at
Only registered users can see links on this board!
Get registered or login to the forums!


Since the idea is to enable non-HTML-knowledgeable users to maintain content - and knowledgeable users to maintain content more efficiently - and after extensive testing and comparison of several tools - we felt that FCKeditor was the best choice. Moreover, FCKeditor is much more widely used and seems to have better support.

We have not ruled out doing a SPAW version as nukeWYSIWYG was designed to support multiple WYSIWYG editors. Right now we all have other priorities. Kevin (KGuske) is in charge of the nukeWYSIWYG editors and I have complete confidence in his decisions on this. If someone would be willing to underwrite his time and expense to reprioritise a SPAW inclusion, then he would certainly look at doing that right now, thereby offering users of RavenNuke76(tm) a choice.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Dawg
Life Cycles Becoming CPU Cycles


Joined: Nov 07, 2003
Posts: 507

PostPosted: Fri Jan 13, 2006 2:18 pm Reply with quote Back to top

Raven, I may be interested in this project. I am using SPAW in my existing site quite successfully so I am not new to it.

The big question is what areas do you want included? I would assume just the ADMIN areas.

My problem is other than setting it up....I do not know a darn thing about secureing it.

If I may be of assistance just let me know....

Dawg
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4640

PostPosted: Fri Jan 13, 2006 2:38 pm Reply with quote Back to top

nukeWYSIWYG was designed to support multiple WYSIWYG editors, even though we started with FCKeditor. In other words, to replace FCKeditor with SPAW, we need to modify very few files (really, just the function wysiwyg_textarea in the mainfile).

But, that assumes the editor can be loaded dynamically, which I believe SPAW supports. TinyMCE may also support this approach, but that isn't how it was implemented in PHP-Nuke 7.8-7.9, where it loads all the time and replaces ALL textareas with a WYSIWYG version.

There may also be changes necessary in SPAW to support different configurations / settings for regular users / visitors vs. administrators.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4640

PostPosted: Fri Jan 13, 2006 2:47 pm Reply with quote Back to top

An additional point - if we replace the FCKeditor stuff with SPAW stuff in the mainfile, the other changes we already made to use a WYSIWYG editor will take advantage of that (i.e. we don't really need to change specific areas to use a WYSIWYG since we used a modular approach). It currently works for Submit_News (regular users / visitors) and administration for blocks, content, FAQs, encyclopedia, messages, newsletter, and preferences / settings. That's off the top of my head, so I may have missed something...
View user's profile Send private message
Dawg
Life Cycles Becoming CPU Cycles


Joined: Nov 07, 2003
Posts: 507

PostPosted: Sun Jan 15, 2006 8:33 pm Reply with quote Back to top

I have been working on it tonight. Submit News is causing me some issues.....I am working thought it...

Raven...Once I "Think" I have something.....Do you want me to post it here....Give it to someone else....or what?

IMHO.....someone else needs to check this after I am done...(LOL....If it works....) To many people will be useing this to release something that is not perfect.

Dawg
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14946
Location: Kansas

PostPosted: Sun Jan 15, 2006 8:40 pm Reply with quote Back to top

Kevin is the technical lead on this editor. Just post in here and he will address the issues. Thanks.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4640

PostPosted: Sun Jan 15, 2006 11:02 pm Reply with quote Back to top

Please send a PM with your email so we can transfer files efficiently.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4640

PostPosted: Mon Jan 16, 2006 6:52 am Reply with quote Back to top

I opened a new thread to discuss integrating SPAW with nukeWYSIWYG and RavenNuke.

Please continue this discussion
Only registered users can see links on this board!
Get registered or login to the forums!
.
View user's profile Send private message
dingfelder
Hangin' Around


Joined: Jan 18, 2005
Posts: 45
Location: New Zealand

PostPosted: Sun Apr 23, 2006 3:28 pm Reply with quote Back to top

was any consideration given to integrating one of the smaller (faster loading) WISIWIGs (such as TinyMCE)?

The reason I'm asking is that the current one is SLOW to load Sad

Don't get me wrong, I love the functionality, but it takes almost a minute per page refresh for me to load pages with the editor.
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4640

PostPosted: Sun Apr 23, 2006 3:38 pm Reply with quote Back to top

If you see the comparison I did at FreeSoftwareReviews.org (link is in Raven's post above), you can see that there was no significant performance benefit of TinyMCE over FCKeditor (or any other editor, for that matter). I agree that it loads slowly the first time - but you can impact that by reducing the functionality by configuring the toolbar. Also, my thought was that I'd rather wait a second or 2 to get the benefit of all that extra functionality I wouldn't have if I ran a limited version or one that doesn't work as well (like TinyMCE). A problem with the PHP-Nuke 7.7+ implementation of TinyMCE is that it loads the script on almost every page, affecting your performance whether or not you use the editor. With nukeWYSIWYG, the editor is ONLY loaded when needed.

That said, nukeWYSIWYG could support other editors like SPAW and TinyMCE (I think), with the same benefits of loading only on use, configurable toolbars, and HTML filtering. SPAW is next on the list as there has been the most interest in that editor. I'll look into TinyMCE, but not until after some other stuff is done...
View user's profile Send private message
dingfelder
Hangin' Around


Joined: Jan 18, 2005
Posts: 45
Location: New Zealand

PostPosted: Sun Apr 23, 2006 8:59 pm Reply with quote Back to top

ok, that sounds good. I actually have no "need" for tinyMCE per say, as I have never actually tried it...

I just thought from reading other's posts (and by looking it it's name) that it had a smaller footprint...

basically, I'm looking for *anything* that loads quicker as the current WISIWIG is dreadfully slow to load on a dialup connection
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7264
Location: Arizona

PostPosted: Mon Apr 24, 2006 6:19 am Reply with quote Back to top

Actually, you just brought to light an interesting enhancement idea: make nukeWYSIWYG not only configurable by the site admin (in terms of ON/OFF), but also let the user choose to use or not to use, assuming the admin has it on.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14946
Location: Kansas

PostPosted: Mon Apr 24, 2006 7:33 am Reply with quote Back to top

The thing about tinyMCE, if I understand what all I've read, is that it really isa good product. It was FB's poor implementation that caused the problems, not the editor itself. Maybe it bears looking at again?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4640

PostPosted: Mon Apr 24, 2006 3:54 pm Reply with quote Back to top

As my friend and former coworker used to say, "This is one of my number one priorities." My translation: It's not the number one priority right now...
View user's profile Send private message
redhairz
Worker
Worker


Joined: Nov 17, 2006
Posts: 216

PostPosted: Sat Nov 25, 2006 4:24 pm Reply with quote Back to top

Hi all can i suggest something? Adsense has been around for sometime would it be possible to modify the WYSIWYG or FCK to indentify only adsense scripts and let member input adsense script on the extended input text only? if the member put the scripts at the story box ,it will give error message promting user to remove and place the script at the extended input text box only. how about that? :clap:
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4640

PostPosted: Sat Nov 25, 2006 5:51 pm Reply with quote Back to top

Have you tried adding it as allowed HTML in the config.sys file?
View user's profile Send private message
redhairz
Worker
Worker


Joined: Nov 17, 2006
Posts: 216

PostPosted: Sun Nov 26, 2006 4:54 am Reply with quote Back to top

hiya kguske Very Happy no i use the default config file from the Experimental folder anyway i read about other issue that allowing html or java script will give way to secrutiy.....of couse the submit new is allowed for members only. but how safe is that? Dance-Stick maybe in the next version this feature may add in. Wave
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4640

PostPosted: Sun Nov 26, 2006 7:28 pm Reply with quote Back to top

Certain HTML tags can cause problems and allowing JS can cause problems. The default config provides 2 levels of security, one for users / members and one for admins. I wouldn't recommend changing the submit news - but maybe we could detect an admin and use that on submit news.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum