Menu

#463 can upload media to directory specific to user

phpGedView
open
nobody
None
5
2005-11-22
2005-08-28
JeffK
No

I am working on a site with multiple GED databases and
multiple contributors for each database (
http://x.cmginc.net/PhpGedView ) .

I have used the opportunity to specify a new
subdirectory as a repository for media files for each
database to keep media files seperate however I don't
have the luxury of specifying a subdirectory for each
registered user/editor.

In thinking through the potential ways to manage media
files I determined that the easiest way to administrate
and most user friendly would be to create a subdirectory
for each user to deposit each users media files however
when users upload files they land in the directory that
you specify in the GED configuration file. For now this
means that I need to manually move the files into the
users subdirectory.

So this is a small snapshot of the directories that I have
setup to manage media files:

media
media>sundermann - all sundermann users upload here
media>sundermann>jkoenig
media>sundermann>dsunderman
media>sundermann>thumbs
media>sundermann>thumbs>jkoenig
media>sundermann>thumbs>dsunderman
media>stotz
media>stotz>jkoenig - all stotz users upload here
media>stotz>rstotz
media>stotz>thumbs
media>stotz>thumbs>jkoenig
media>stotz>thumbs>rstotz

I used the user name for the subdirectory name and it
probably goes without saying that to function correctly I
needed to include the same directory name in the
thumbs sub to make everything work smoothly.

If this continues to prove to be a good model to manage
user media files then the long-term solution is to allow
the admin to control where the users media files land - it
would save steps if the script would create the
appropriate directory(s) when the user is created.

Thanks for the great program!!!

Discussion

  • Roland Dalmulder

    • assigned_to: nobody --> roland-d
     
  • Roland Dalmulder

    • assigned_to: roland-d --> nobody
     
  • Paul King

    Paul King - 2006-08-03

    Logged In: YES
    user_id=1566627

    Ability to make and access a unique media folder for each
    indidual would be very valuable - especially if media files
    for a given individual needs to be found & updated or
    downloaded manually - and each person might have 20 imaages
    or documents!

    Nearly impossible to work out which picture belongs to whom
    after a while, unless all users happen to follow the same
    strict naming convention - very unlikey!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.