PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  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
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Tue Dec 20, 2005 6:06 pm Reply with quote Back to top

Has anyone already incorporated the FCK Editor into the reviews index.php ?
Thought I would ask before I started on it
View user's profile Send private message Send e-mail Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Dec 20, 2005 6:45 pm Reply with quote Back to top

They have several modules (kind of ported) at
Only registered users can see links on this board!
Get registered or login to the forums!
you may have to configure some filtering to secure the module. (Use check_html() I guess).
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Tue Dec 20, 2005 7:19 pm Reply with quote Back to top

I'm working on a class that allows you to replace any textarea in Nuke with one line of PHP. It includes a replacement for check_html and the kses HTML filter class - based on a discussion with none other than...sixonetonoffun. I could use a little help six... Having trouble with subdomains.
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Dec 20, 2005 7:42 pm Reply with quote Back to top

Simular to the nukeurl vs subdomain on some servers in NukeSentinel I'd bet?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Tue Dec 20, 2005 8:05 pm Reply with quote Back to top

Not sure about that. It works on some sites with subdirectories, but not on the test site - either using the subdomain or subdirectory to access. I've tried many different combinations of setting the basepath - but nothing works.

I'm setting up another test site to see if it's really a subdomain / subdirectory issue or something else...
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Tue Dec 20, 2005 9:10 pm Reply with quote Back to top

six - thanks for the link I'll be sure to check that out.

kguske - sounds like an interesting project you have going there.
I just did a quick install myself and the first thing I noticed in the readme was edit this, edit that etc if your not using the root directory - wouldnt it be easier to declare a global $nukeurl to save all that hassle?
Your thoughts appreciated.
View user's profile Send private message Send e-mail Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Tue Dec 20, 2005 9:20 pm Reply with quote Back to top

In the latest version, there is no need to edit anything for the root directory other than whatever textarea you want to use. Then again, it didn't work correctly on one of the test sites. It works well on the other sites I use it on.

nukeWYSIWYG includes a replacement for the mainfile check_html function that allows filtering HTML using the kses class. Sixonetonoffun had the idea and provide significant assistance in making it happen. You can also define different security levels - for example, to give admins full authority to all FCKeditor functions, vs. visitors or members.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Tue Dec 20, 2005 9:29 pm Reply with quote Back to top

The function is designed so that you can replace FCKeditor with SPAW or another HTML editor if you like. I'm thinking of doing a SPAW version, and adding the ability to configure for which functions not to use it.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Tue Dec 20, 2005 9:50 pm Reply with quote Back to top

Interesting concept.
Yes you are right regarding no editing needing to be done *if* nuke is installed in the root directory but I was thinking out load as to why it would need to be edited at all when we can use $nukeurl to tell it where it is by pre defining the path but then I guess, there will always be someone that wants to install it outside of the conventional nukeroot/modules directory path.
View user's profile Send private message Send e-mail Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Tue Dec 20, 2005 9:58 pm Reply with quote Back to top

Sorry - I meant in the latest version of nukeWYSIWYG. I added some code that eliminates (hopefully) the need to edit the basepath setting in 2 files regardless of whether it's in the root path or a directory. Theoretically, it should support having a subdomain (http://demo.mydomain.com) or a subdirectory (http://mydomain.com/demo). As soon as the install completes, I'll verify that...
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Wed Dec 21, 2005 12:13 am Reply with quote Back to top

After a minor change, it does work for both subdomains and subdirectories on the same site. But still not working on the 2.0 test site. There must be some sort of conflict, but I've checked for javascript conflicts and can't find anything. Six, any ideas?
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-2011 by Raven

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 Modified by the RavenNuke™ Team ::

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

zerosum