Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Submit New Gallery Entry

  • Geppie
  • Geppie
  • OFFLINE
  • Posts: 18
  • Thanks: 2
  • Karma: 2
11 years 4 months ago - 11 years 4 months ago #229060 by Geppie
[SOLVED] Submit New Gallery Entry was created by Geppie
Hi Support,

I have a question about the Profile Gallery.
I have it working but not on the way that i want it to work.
Users can now only Submit New Gallery Entry's on their profile page.
Is there a easy way to config that the users can Submit New Gallery Entry's on their edit profile page?

Looking forward to your respons,

Geppie
Last edit: 11 years 4 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
11 years 4 months ago #229101 by krileon
Replied by krileon on topic Submit New Gallery Entry

Is there a easy way to config that the users can Submit New Gallery Entry's on their edit profile page?

No, that would be an HTML form inside of an HTML form, which is impossible. Uploads must be done from profile view.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
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 CST to 4:00 PM CST. 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.

Please Log in or Create an account to join the conversation.

  • Geppie
  • Geppie
  • OFFLINE
  • Posts: 18
  • Thanks: 2
  • Karma: 2
11 years 4 months ago #229119 by Geppie
Replied by Geppie on topic Submit New Gallery Entry
Hmm oke, i almost got it to work. Only the submitting part is going wrong but i think i can manage that (with some small help).

In the file cb.profilegallery.php i switched

function getDisplayTab($tab,$user,$ui) with function getEditTab($tab,$user,$ui) {

So the upload galery part is know available in the edit profile part but the uploading is not working yet. When clicking on submit for uploading a picture the whole edit form is saving.

Any push in the right direction would be nice :)

Geppie!

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
11 years 4 months ago #229120 by krileon
Replied by krileon on topic Submit New Gallery Entry
Again, that will be a form within a form. HTML does not allow this. It will not work. You're causing all the form variables of profile edit and profile gallery to be mixed into a single form that will post to profile edit save.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
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 CST to 4:00 PM CST. 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.

Please Log in or Create an account to join the conversation.

  • Geppie
  • Geppie
  • OFFLINE
  • Posts: 18
  • Thanks: 2
  • Karma: 2
11 years 4 months ago #229184 by Geppie
Replied by Geppie on topic Submit New Gallery Entry
That's a bummer! Then i have to find a other solution

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
11 years 4 months ago #229200 by krileon
Replied by krileon on topic Submit New Gallery Entry
You can try using multiple image fields, which are managed from profile edit. Problem is the number of images they can upload would be limited to the number of fields you provide.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
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 CST to 4:00 PM CST. 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.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum