Skip to Content Skip to Menu

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

[SOLVED] mod_cbgallery

11 years 9 months ago - 11 years 9 months ago #219696 by techbranchsm
[SOLVED] mod_cbgallery was created by techbranchsm
What table does mod_cbgallery store the association between the user profile and the images uploaded into the gallery by that user to mod_cbgallery?

I need to be able to find the title and description data as well.

Since I am using this to run a tournament I would like to be able to make my own page that extends the features of mod_cbgallery by grabbing other user profile information, the title and description data as well as other stuff to show with the pictures.

Thanks Very much
Last edit: 11 years 9 months ago by krileon.

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

11 years 9 months ago #219697 by techbranchsm
Replied by techbranchsm on topic mod_cbgallery
I found the gallery associated table, its : _comprofiler_plug_profilegallery

I still would like some advice on what I am trying to do, if you have any?

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

11 years 9 months ago #219700 by techbranchsm
Replied by techbranchsm on topic mod_cbgallery
I think this may be a better way to express this question:

I am trying to allow my users to upload a image and have more than just the title and description data associated with it. So that I can list out all of the data and allow users to click a link to see the image. If I create a tab and lets call it the image tab.

I would like to put some fields in that tab.
Date fish was caught
Size of Fish
Type of Fish
image_upload of the fish

Then I will make my own queries to the page using {source}my php{/source}

Do you see and obstacles to this or have any advice?

Thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago #219763 by krileon
Replied by krileon on topic mod_cbgallery
We don't support core edits so we can't help you with modifying CB ProfileGallery. The module just displays CB ProfileGallery content, it doesn't actually add said content. If you want to add new fields to CB ProfileGallery you'll need to first extend the database table _comprofiler_plug_profilegallery with your new columns and then edit the plugin to have more inputs and store those inputs to your new columns.

Your best bet is to just develop a plugin to fit your needs. There's all kinds of hacky workarounds to accomplish what you want, but they're all not going to work very well. One option for example is to have 4 fields (date, integer, text, and image) for each upload, but that won't display the same as CB ProfileGallery module.


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.

11 years 9 months ago #219773 by techbranchsm
Replied by techbranchsm on topic mod_cbgallery
Kyle thanks.

I went ahead and just did my own query of the database table _comprofiler_plug_profilegallery and joined it with the jos_users table and created this report.
Please look, its cool:
thekayakclub.com/kayak-fishing-tournaments-florida

Next I will just add another table and use the gallery module for what you guys had intended.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum