Relationship and users custom fields, multiple owners etc

This topic contains 4 replies, has 2 voices, and was last updated by  Ares Theofilopoulos 6 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #415275

    Ares Theofilopoulos
    Expired Member
    Post count: 2

    Hello, I need to know how I can create relationships custom fields. I want to dynamically get multiple custom posts and users inside a listing with a multiselect or something similar.
    To be more exact, I use geodirectory to create project listing on a map. My need is to allow owner of the project to invite other users ( I have buddypress installed too) to the project and add them as colleagues, and have discussions or forums for the project (maybe a hook upon creating the project to create corresponding buddypress group??). Non invited users should not have access of course!
    And last, for another type of listing, I need multiple owners. Is it doable??

    Thank you very much!

    #415277

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    Thanks for writing in Ares. What kind of information are you looking for?

    Another member was asking about post relationships here:

    https://wpgeodirectory.com/support/topic/alternative-plugin-to-gd-related-posts/#post-415276

    Tags are a good way to group listings in a CPT.

    #415328

    Ares Theofilopoulos
    Expired Member
    Post count: 2

    Hello Alex, I want to create a multiselect custom field inside a geodirectory listing that could be relational with other custom post types or wp users. As far as I got my hands in geodirectory, it doesn’t offer the ability to create one out of the box. Is there a way to create it programmatically?

    The other thing I am asking if there are hooks like “listing_created_successfully” or “listing_is_favorited” so I can use these to hook my custom code upon events. To be more specific I need to catch the event when a listing is created and when a listing is deleted for starts.

    Hope I was more clear that my previous post! Thank you for the superfast response!

    #415336

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    Correct, there is only the link feature and it is not a custom field:

    https://wpgeodirectory.com/docs/linking-custom-post-types/

    I will flag your questions for the developers.

    #415338

    Ares Theofilopoulos
    Expired Member
    Post count: 2

    Thank you very much. This is not the feature I am looking for though. If this linking could be extended to users or other custom post types outside GD maybe would solve some of my challenges!

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount