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
kb9nha
Regular
Regular


Joined: Apr 26, 2008
Posts: 60
Location: Windy City

PostPosted: Sat May 31, 2008 6:40 pm Reply with quote Back to top

Hi all! This is my first post here. I recently rebuilt my website using RavenNuke. What a nice web portal. You guys here at Raven deserve a compliment. By the way, I need some info on how to integrate the FCKeditor that comes with RavenNuke to the center block admin menu of my website (
Only registered users can see links on this board!
Get registered or login to the forums!
). I used the NSN center block as in the past & would really like to integrate the FCKeditor in it. I've opened some files but still got no clue as to how to start integrating it.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Sat May 31, 2008 7:30 pm Reply with quote Back to top

Welcome kb9nha. I did this for another site, but it was before nukeWYSIWYG (though it shouldn't be hard to integrate). Compress your admin/modules/cblocks directory and post a link for me to download.
View user's profile Send private message
kb9nha
Regular
Regular


Joined: Apr 26, 2008
Posts: 60
Location: Windy City

PostPosted: Sat May 31, 2008 7:44 pm Reply with quote Back to top

Quote:

<?php

/********************************************************/
/* NSN Center Blocks */
/* By: NukeScripts Network (webmaster@nukescripts.net) */
/*
Only registered users can see links on this board!
Get registered or login to the forums!
*/
/* Copyright © 2000-2005 by NukeScripts Network */
/********************************************************/
/* Original by: Richard Benfield */
/*
Only registered users can see links on this board!
Get registered or login to the forums!
*/
/********************************************************/

global $admin_file, $adveditor;
$adveditor = 0;
if(!isset($admin_file)) { $admin_file = "admin"; }
if(!defined('ADMIN_FILE')) {
Header("Location: ../../".$admin_file.".php");
die();

...edited...


Last edited by kb9nha on Sat May 31, 2008 8:04 pm; edited 2 times in total
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Sat May 31, 2008 7:48 pm Reply with quote Back to top

That isn't what I need. It's the 4 files in the admin/modules/cblocks directory. Please don't post them here, just a link or send them as an email attachment to kguske at bellsouth dot net
View user's profile Send private message
kb9nha
Regular
Regular


Joined: Apr 26, 2008
Posts: 60
Location: Windy City

PostPosted: Sat May 31, 2008 8:00 pm Reply with quote Back to top

I've e-mailed the attachment to you. Just check your Inbox...
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Sun Jun 01, 2008 4:18 pm Reply with quote Back to top

Thanks, you should have the modified files now.
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Sun Jun 01, 2008 6:04 pm Reply with quote Back to top

Just as reference, I recently integrated the fckeditor into a custom module I had written 3 years ago. While having kguske do it for you may be simpler, doing it yourself is not beyond the capabilities of someone who is halfway capable with PHP. Look for instance as the Gcalendar module in your distribution and search on "wysiwyg textarea" and see how Gremmie integrated it into his module. Then model yours after his. Or really look at any of the modules in RN that use the fckeditor and just copy the code over.

You might also want to bookmark the fckeditor web site and forums (google for it) cause there are issues discussed there that can be relevant to any site admin.
View user's profile Send private message Visit poster's website
kb9nha
Regular
Regular


Joined: Apr 26, 2008
Posts: 60
Location: Windy City

PostPosted: Sun Jun 01, 2008 11:28 pm Reply with quote Back to top

fkelly wrote:
Just as reference, I recently integrated the fckeditor into a custom module I had written 3 years ago. While having kguske do it for you may be simpler, doing it yourself is not beyond the capabilities of someone who is halfway capable with PHP. Look for instance as the Gcalendar module in your distribution and search on "wysiwyg textarea" and see how Gremmie integrated it into his module. Then model yours after his. Or really look at any of the modules in RN that use the fckeditor and just copy the code over.

You might also want to bookmark the fckeditor web site and forums (google for it) cause there are issues discussed there that can be relevant to any site admin.


By the way, it was not really my intention for kguske or someone here at Raven to do the FCKeditor integration for my site's center block admin. I know you guys are busy too helping others here. Since kguske offered to help & ask to look on those center block files, I sent the files to him. What I need is the FCKeditor scripts embeded on the block files. I've open several files (including the block file) but all I've seen were mostly copyright scripts on FCKeditor. Nothing that would give me an idea as to how to integrate the particular editor mentioned.

I've also checked the FCKeditors website (fckeditor.net) prior to making my first forum thread here at Raven. I can't find any topics there regarding the editor's integration on PHP Nuke content management distribution.

Thanks for the info fkelly. I'll check the Gcalendar module & get more info.


Last edited by kb9nha on Mon Jun 02, 2008 12:17 am; edited 3 times in total
View user's profile Send private message
kb9nha
Regular
Regular


Joined: Apr 26, 2008
Posts: 60
Location: Windy City

PostPosted: Sun Jun 01, 2008 11:36 pm Reply with quote Back to top

kguske wrote:
Thanks, you should have the modified files now.


Wait... I got it now by e-mail. You sent the edited files. You make my work a lot easier kguske. Thanks a lot man. Very Happy

It works perfectly also. Very Happy
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Mon Jun 02, 2008 2:07 pm Reply with quote Back to top

It took 5 minutes because I'd already done for a client.
View user's profile Send private message
DJ_Raven
New Member
New Member


Joined: Feb 26, 2006
Posts: 14
Location: Colorado, USA.

PostPosted: Tue Dec 21, 2010 3:40 pm Reply with quote Back to top

Can some one post this I have been trying to do the same thing for my center blocks and I have tried everything that I know of. Thank you for your time.
View user's profile Send private message Visit poster's website
wiz
Client


Joined: Oct 09, 2006
Posts: 394
Location: UK

PostPosted: Mon Feb 14, 2011 8:28 pm Reply with quote Back to top

I would also appreciate a wiki link to easily add the fckeditor to various forms on my sites. I saw a topic once on here to replace the textarea of a module; but havent been able to find it since.
Cheers
View user's profile Send private message Visit poster's website AIM Address
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