Welcome, Guest
Username: Password: Remember me

TOPIC: [ADDED] Upload files to a user specific directory

Upload files to a user specific directory 26 Jun 2013 15:16 #7707

  • vivek
  • vivek's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 2
  • Karma: 2
Hi,
How to upload files to a user specific directory.In the configuration, we have options to set the upload directory with markers like [IMAGES],[MEDIAS].

But if you can add [MEDIAS]\[USERID], it would be really useful.

Regards
Vivek
The administrator has disabled public write access.

Upload files to a user specific directory 26 Jun 2013 15:59 #7711

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
I can do it easily.

Not in the upload directory, but in the rename property.
{ID} is the id of the item
{USERID} could easily be the userid
A piece of cake.

'/' directory separators are supported in this rename property since 2.5
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: vivek

Upload files to a user specific directory 30 Jun 2013 15:23 #7765

  • vivek
  • vivek's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 2
  • Karma: 2
Thanks, that will do wonders..
The administrator has disabled public write access.

Upload files to a user specific directory 30 Jun 2013 16:40 #7769

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 414
  • Thank you received: 130
  • Karma: 46
Hi There
More Extensive dynamic folder uploads kindly provided by Tomaselli

www.j-cook.net/index.php/forum/coding-in...r-paths?start=6#7013

works for me
The administrator has disabled public write access.

Upload files to a user specific directory 12 Oct 2013 03:56 #11373

  • vivek
  • vivek's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 2
  • Karma: 2
Hi Admin,
Is this rename property available with Jcook now?
The administrator has disabled public write access.
Time to create page: 0.095 seconds

Get Started