Author Topic: [feature request] alternative category/folder name  (Read 9427 times)

0 Members and 1 Guest are viewing this topic.

Offline Clow Read

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://vectorcandy.com
[feature request] alternative category/folder name
« on: January 13, 2003, 06:30:20 AM »
could you create a feature for 4images where it uses a customized category/folder name instead the default one just like Gallery...

example:
Category name: CLAMP
Folder name = 1

instead of the the no. 1 as it's folder name, we could tell 4images to use a customized name...

example:
Category name: CLAMP
Folder name = clamp

something like that...

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Yes, but...
« Reply #1 on: January 13, 2003, 02:07:11 PM »
One of the problems with this approach is the administrator can create long category names with embedded spaces and other punctuation.  These kinds of names present problems for some operating systems.

Offline Clow Read

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://vectorcandy.com
[feature request] alternative category/folder name
« Reply #2 on: January 16, 2003, 07:37:58 AM »
well...that's true but you could always put some restrictions like spaces, !, ?, #, etc. and tell 4images to only use the allowed characters like an underscore ( _ ) and such

Offline bernd

  • Full Member
  • ***
  • Posts: 214
    • View Profile
[feature request] alternative category/folder name
« Reply #3 on: January 16, 2003, 10:54:44 PM »
I'm definetly no PHP wizard but storing texts instead of integers for categories would make the database bigger and slower when receiving data from it, wouldn't it?

Could something like this be done:
category ID = 1
category folder name = 001_clamp

And when grabbing files from a category folder only the first three characters are taken and converted into integer. Would this be possible? Of course this would restrict the number of categories to 999 ... :)

cheers,
Bernd

Offline Clow Read

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://vectorcandy.com
[feature request] alternative category/folder name
« Reply #4 on: January 22, 2003, 08:01:15 AM »
well...i don't know

Gallery uses this kind of method and it can call a requested folder very fast

Offline julien

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • http://julienbayle.net
[feature request] alternative category/folder name
« Reply #5 on: January 23, 2003, 11:57:16 AM »
I think that 2 new features should be implement:
- category naming/folder naming
- folder indentation

1/ for the naming, it must work on
  * string of title given by administrator
  * a randomly number to prevent 2 category with the same name

2/ that should be better if we could have the same overlap with folders than with the really organization of our galleries ...


I worked on this two points ....
Inform you when it's done, if it's done ;)
Julien

Offline Clow Read

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://vectorcandy.com
[feature request] alternative category/folder name
« Reply #6 on: January 27, 2003, 06:55:02 AM »
yay! ^^
i'm looking forward for it!