Skip to Content Skip to Menu

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

Adding a new database table to CB Pro

  • vjbeng
  • vjbeng
  • OFFLINE
  • Posts: 13
  • Thanks: 0
  • Karma: 0
11 years 3 months ago #230322 by vjbeng
Hi Guys,

i'm using CB for a few years now with not too fancy uses, but now i'd like to use it for something heavier. Your advice would be very much appreciated, in order to know what direction to head first.

My needs :
- create a catalog of 'objects' (with properties) owned by CB users
- search in this entire catalog
- in the results, if a user finds what he needs, he's able to ask/chat with the user that owns the 'object'.

In my opinion, and maybe for further needs, it would be cleaner and easier to create a different table for the 'objects', connected to CB User Ids.

I tried to cut down my needs to the most simple, so as to stay clear, but please do not hesitate asking for details.

Note : I work with a developper, who is able to do and understand things i'm not able, so, feel free in your answer ;)

Thanks very much for your help and advice !
Adrien

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 3 months ago #230364 by krileon
Replied by krileon on topic Adding a new database table to CB Pro
Sounds like you need a Listing extension. Not something I suggest trying to force CB to be. You should look into the below extensions to use in conjunction with CB.

extensions.joomla.org/extensions/ads-a-affiliates/classified-ads

The above are for various classified ads extensions as that sounds like what you're wanting. As for the contact CB has no chat feature, but you could use UddeIM so they could send private messages or you could look into any of the below chat extensions.

extensions.joomla.org/extensions/communication/chat


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.

  • vjbeng
  • vjbeng
  • OFFLINE
  • Posts: 13
  • Thanks: 0
  • Karma: 0
11 years 3 months ago #230748 by vjbeng
Replied by vjbeng on topic Adding a new database table to CB Pro
Hello Krileon,

Thanks for your reply, I took the time necessary to make a clear answer.

Regarding the chat, I misexplained. I just need a private message system (it is provided by CB, no ?) in which, there would be a 'Yes or No' button. Let say clicling the Yes button would then display a simple Form, and the No button would bring back to the inbox.Is that doable with CB, does it need hardcoding, what would be a right way to start ? Thanks for your advice.

Regarding the listing, yes, it's what I need, but after exploring the Classified Ads extensions, I'd rather see something simpler. At best, it would be a new Tab in the profile. Perhaps, the best way to do that is going from the photo tab, and change its display, so just CSS ?

Assuming we'do that way, do you think it's possible to hack up a little the Photo tab, to call an external Non-CB table that would contain all info (photos, title, desc...) ?

Thanks for your help,
Adrien

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 3 months ago #230773 by krileon
Replied by krileon on topic Adding a new database table to CB Pro

Regarding the chat, I misexplained. I just need a private message system (it is provided by CB, no ?) in which, there would be a 'Yes or No' button. Let say clicling the Yes button would then display a simple Form, and the No button would bring back to the inbox.Is that doable with CB, does it need hardcoding, what would be a right way to start ? Thanks for your advice.

CB doesn't have a built in PMS. You need to install UddeIM then configure the Private Message System plugin within CB > Plugin Management to use it. How you reach UddeIM is entirely up to you so yes I suppose you could have a "Yes" and "No" button.

Regarding the listing, yes, it's what I need, but after exploring the Classified Ads extensions, I'd rather see something simpler. At best, it would be a new Tab in the profile. Perhaps, the best way to do that is going from the photo tab, and change its display, so just CSS ?

I've no idea what your needs are specifically, but CB has no listing features beyond Userlists as created within CB > List Management, but those are just lists of users.

Assuming we'do that way, do you think it's possible to hack up a little the Photo tab, to call an external Non-CB table that would contain all info (photos, title, desc...) ?

You maybe able to output all of that using CB Query Field as it's designed to output the results of a database query as a field.


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.

  • vjbeng
  • vjbeng
  • OFFLINE
  • Posts: 13
  • Thanks: 0
  • Karma: 0
11 years 3 months ago #231107 by vjbeng
Replied by vjbeng on topic Adding a new database table to CB Pro
Thanks Krileon,

I have some research work to do now ;)

Best
Adrien

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

Moderators: beatnantkrileon
Powered by Kunena Forum