Automatic upload file to gallery

1 month 3 weeks ago #303349 by Andromeda57
Hey guys,

we tried a little with automatic extension, but we did not find a way..

For example, a user register for an account type in cb subs, after first login (or something else...) there should be 2 files automatically uploaded into the profile of the user (for example cb gallery)...

How can we do this?

Thanks a lot.


regads

Tobias
1 month 3 weeks ago #303355 by krileon
There's no functionality for handling automatic uploads. You'd have to place the files in the appropriate location and create database entries for them. CB Gallery stores its files in the following path.

/images/comprofiler/plug_cbgallery/USER_ID/MEDIA_TYPE

Example as follows.

/images/comprofiler/plug_cbgallery/93/photos


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM EST to 4:00 PM EST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Moderators: beatnantkrileon
Time to create page: 0.151 seconds
Facebook Twitter Google LinkedIn