This thread is a discussion for the wiki article: FCKEditor
   
 
FCKEditor
Posted: 12 August 2008 10:13 AM   [ Ignore ]  
Summer Student
Total Posts:  26
Joined  12-16-2007

Hi,

I’d like to use FCKeditor extension in my Multi Site Manager (MSM) installation, but have problems using it in all the sites within my MSM-installation.

The EE installation is located in
/home/###/domains/site 1/public_html/
and fckeditor installation in
/home/###/domains/site 1/public_html/scripts/fckeditor/

The other locations are
/home/###/domains/site 2/public_html/ for site 2
/home/###/domains/site 3/public_html/ for site 3

When I use the Insert Image function from FCKeditor in Site 2 and 3, I’m getting the Images from Site 1, since the settings of the Script URL (in the extension settings) are pointed to the /home/###/domains/site 1/public_html/scripts/fckeditor/ folder.

What are the possibilities to make it possible to use the editor in all three sites?

Profile
 
 
Posted: 14 November 2008 06:01 PM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  5
Joined  07-09-2008

$Config[‘Enabled’] = true ;

Note the comment DIRECTLY ABOVE this line in the FCKEditor code:

// WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only
//        authenticated users can access this file or use some kind of session checking.

As this states, simply setting ‘Enabled’ = true is NOT a secure way to run this fck file browser. If you know the address (and a savvy hacker familiar with ee or fckeditor could very easily figure it out), you can easily navigate directly to this file browser and use it WITHOUT logging in to EE.

Unfortunately, the EE routines for logging in and validating users are pretty dense stuff, and I haven’t yet been able to figure out how to extrapolate the standalone PHP code necessary to check for a logged in user on a non-EE PHP page like this. Any suggestions would be helpful.

Profile
 
 
   
 
 
‹‹ Installation of iBrowser      Ajax search ››
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64932 Total Logged-in Users: 49
Total Topics: 81896 Total Anonymous Users: 32
Total Replies: 440248 Total Guests: 248
Total Posts: 522144    
Members ( View Memberlist )
Newest Members:  PetrovichusharurblaisdellLevagstudioigotthelemonmileswkakiharaAurelsbhairab