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
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Mon Apr 21, 2008 7:54 pm Reply with quote Back to top

One of the changes with FCKeditor 2.6 that will impact upgrades is that the directory names have changed to all lower case. This causes problems on operating systems that are case sensitive AND previously uploaded files to the includes/FCKeditor/uploads/Image, includes/FCKeditor/uploads/Flash, includes/FCKeditor/uploads/File, or includes/FCKeditor/uploads/Media directories, since these would now become: includes/fckeditor/uploads/image, includes/fckeditor/uploads/flash, includes/fckeditor/uploads/file, and includes/fckeditor/uploads/media respectively.

Since this impacts our ability to upgrade in the future, it makes sense to move the uploads out of this directory. I thought about putting it in the /images/ directory, but since there are more than just images, I didn't want to do that. My next choice was /resources/ and we spent several days testing this (it worked fine on Linux, but failed on Windows). Why? I first thought there might be an issue with _SERVER['PHP_SELF'], but finally figured out that Windows protects the directory name resources!

The question: what to name the folder? Some suggestions:
/files/
/res/
/uploads/

I'm leaning toward /res/ - short for resources, which is more descriptive than files, but wanted to get input before moving ahead. What would you prefer?
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2401
Location: Iowa, USA

PostPosted: Mon Apr 21, 2008 8:14 pm Reply with quote Back to top

Does it upload more than images? How about /media?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Mon Apr 21, 2008 8:19 pm Reply with quote Back to top

It will have the following subdirectories:
file
flash
image
media

The default in FCKeditor is /userfiles/ but that's a subdirectory / folder of fckeditor, which makes upgrading more difficult.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Tue Apr 22, 2008 5:37 am Reply with quote Back to top

How about a default, and the ability to override this by adding a variable in config.php / rnconfig.php ?

But the question remains, what should be the default?

/files/
/res/
/uploads/
?
View user's profile Send private message
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1840
Location: United Kingdom

PostPosted: Tue Apr 22, 2008 5:59 am Reply with quote Back to top

Personally I would choose uploads. JMO
View user's profile Send private message
montego
Site Admin


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

PostPosted: Tue Apr 22, 2008 6:47 am Reply with quote Back to top

Either "files" or "uploads" sounds good to me and I do like the idea of a configuration switch. You know me... love making this easy. Laughing
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4824

PostPosted: Tue Apr 22, 2008 8:18 am Reply with quote Back to top

uploads or files sounds good to me too
View user's profile Send private message Send e-mail Visit poster's website
guidyy
Worker
Worker


Joined: Nov 22, 2004
Posts: 206
Location: Italy

PostPosted: Tue Apr 22, 2008 9:58 am Reply with quote Back to top

files or uploads are fine for me too.
View user's profile Send private message Visit poster's website MSN Messenger
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Tue Apr 22, 2008 10:52 am Reply with quote Back to top

OK. I'll go with uploads. I will make a version available to those who wish to test for a week before adding to SVN.
View user's profile Send private message
jestrella
Worker
Worker


Joined: Dec 01, 2005
Posts: 145
Location: Santiago, Dom. Rep.

PostPosted: Tue Apr 22, 2008 11:45 am Reply with quote Back to top

definitely uploads is the best choice for this... even media can be a good one for this purpose.
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4824

PostPosted: Tue Apr 22, 2008 12:21 pm Reply with quote Back to top

looking forward to playing with the ajax inline editor
View user's profile Send private message Send e-mail Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Tue Apr 22, 2008 12:32 pm Reply with quote Back to top

PM sent. Enjoy...
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4824

PostPosted: Tue Apr 22, 2008 1:13 pm Reply with quote Back to top

Smile
View user's profile Send private message Send e-mail Visit poster's website
montego
Site Admin


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

PostPosted: Wed Apr 23, 2008 6:55 am Reply with quote Back to top

kguske wrote:
PM sent. Enjoy...


Holding out on me? lol....
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Wed Apr 23, 2008 11:21 am Reply with quote Back to top

Of course not...PM sent.
View user's profile Send private message
montego
Site Admin


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

PostPosted: Wed Apr 23, 2008 11:38 am Reply with quote Back to top

Embarassed sorry, was just kidding. BTW, if I can get up enough energy today (home sick), I am planning on testing out the revised directory naming. I'll let you know if I find anything else too.
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Wed Apr 23, 2008 12:26 pm Reply with quote Back to top

No problem. My main concern after testing is that changes to the documentation (namely, readme.txt and upgrade.txt). Because the changes aren't trivial, I want to make sure it's as clear as possible, so I definitely welcome suggestions for improving that Smile
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Mon Apr 28, 2008 5:16 pm Reply with quote Back to top

I've installed it on a few sites, and it seems to be working well. I think I'll add it to the RN SVN, unless there are objections...
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4824

PostPosted: Mon Apr 28, 2008 5:32 pm Reply with quote Back to top

I was hoping to get it installed on a site yesterday but the whole week-end went by way to quickly.
View user's profile Send private message Send e-mail Visit poster's website
montego
Site Admin


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

PostPosted: Tue Apr 29, 2008 5:17 am Reply with quote Back to top

kguske, I've added issue#967 for the upgrade.
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Wed Apr 30, 2008 4:34 am Reply with quote Back to top

It's been added to SVN.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4824

PostPosted: Wed Apr 30, 2008 5:30 am Reply with quote Back to top

Excellent news.
View user's profile Send private message Send e-mail Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Wed Apr 30, 2008 5:40 am Reply with quote Back to top

I really like the DHTML popups - you don't have to resize the Windows in FireFox anymore, and it seems much faster to add images, links, etc.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4824

PostPosted: Wed Apr 30, 2008 7:31 am Reply with quote Back to top

Yes, that is one of the features I was really looking forward to. I'm getting desperate now to get it installed but *things* keep getting in the way Sad

Edit: fix my ridiculous typo(s)


Last edited by Guardian2003 on Thu May 01, 2008 5:46 am; edited 1 time in total
View user's profile Send private message Send e-mail Visit poster's website
montego
Site Admin


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

PostPosted: Thu May 01, 2008 5:19 am Reply with quote Back to top

So odd. I am on the latest SVN working copy and cannot use either the Browse or Upload options. This is on XAMPP 1.6.4 under PHP5 and on Windows XP Professional SP2. I am curious kguske what you are running this same build under since it is working for you.
View user's profile Send private message Visit poster's website
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