Is there a short code for "my listings" or "my account"

This topic contains 16 replies, has 2 voices, and was last updated by  Stiofan O’Connor 7 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #391932

    Steve
    Full Member
    Post count: 1019

    Good morning.

    I am wondering if there is short code for “gd my listings” or gd-my account.

    Why? I have another plugin for registration and currently when a user goes to the m2 plugin “account” their subscriptions will be listed there for other services and user profile.

    I wanted to, if they subscribe to GD directory or Post events, display also their gd items.

    Any ideas on how this may be accomplished?

    https://usfdins.com

    #391944

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Steve,

    What plugin are u using for registration?
    We have our own that will display those things in your profile: https://userswp.io/

    you can use the “[gd_listings]” shortcode to output what you want, you can find the parameters here:
    https://wpgeodirectory.com/docs/core-shortcodes/

    Thanks,

    Stiofan

    #391945

    Steve
    Full Member
    Post count: 1019

    The registration plugin is Member2 Pro. (wpmudev)

    #391948

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    ok, you would have to use the shortcode i mentioned.

    Stiofan

    #391952

    Steve
    Full Member
    Post count: 1019

    Thank you Stiofan. Is this configuration correct as it is not working for me as admin ?
    [gd_listings post_type=”current_user”]

    For my particular site needs I would like to show in the m2 account page the GD

    current user listing
    current user event or events

    #391955

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Nope, i think you are mixing up post_author and post_type

    You probably want

    [gd_listings post_author="current_author"]

    or

    [gd_listings post_author="current_user"]

    Thanks,

    Stiofan

    #391957

    Steve
    Full Member
    Post count: 1019
    This reply has been marked as private.
    #391961

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Your site is not loading right for me and i can’t login to test, i looks like something to do with a CDN.
    And the only other member of the team online just now gets a message saying he is blocked by wordfence…

    Stiofan

    #391966

    Steve
    Full Member
    Post count: 1019
    This reply has been marked as private.
    #391968

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    There seems to be a problem with the UK CDN, lots of CSS and JS files are not loading for me, for example https://usfiredepartmenins-w3aynzbn9gnxrf4q1lh.netdna-ssl.com/wp-includes/js/jquery/jquery.js?ver=1484172073
    If i check it from around the world it fails in the UK so its not just me https://www.host-tracker.com/InstantCheck/1/b52af8dd-0885-e711-a6a0-0003ff73517a

    I am just leaving for the weekend but i have tested this one on my local host and it works

    [gd_listings  post_author="current_user"]

    If you are using a different CPT you need to add that like

    [gd_listings post_type="gd_place" post_author="current_user"]

    I’ll pick this up on Monday if its still not resolved.

    Thanks,

    Stiofan

    #391971

    Steve
    Full Member
    Post count: 1019

    Once again my apology. The site is for a United States Insurance agent that only sells insurance in the United States. Thus US & Canada are the only Countries.

    I will change locations setting now.

    #391978

    Steve
    Full Member
    Post count: 1019

    contacting hosting company and maxcdn regarding issues also.

    #392117

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
    #392194

    Steve
    Full Member
    Post count: 1019

    Thank you. I will follow that example and test later this week. Did you add a test listing to see if it would display for you?

    #392199

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Yes, i had to add a test listing for that user as it had no listings.

    Stiofan

Viewing 15 posts - 1 through 15 (of 17 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