Listing cannot be edited by customers

This topic contains 5 replies, has 3 voices, and was last updated by  Alex Rollin 4 years, 10 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #496856

    Eileen Quick
    Full Member
    Post count: 165

    When customers log in they are directed to a welcome page. On this page they can add a new listing, view their listings and edit their listings.

    I have version 2 which I have just upgraded to. I have used the shortcode building and the add listing works fine.

    However when using the gd listings and selecting current user so that they just get their listings, even though they are logged in they cannot edit those listings.

    Also if you select one of the listings and then choose Next (underneath) it takes you to other peoples listings ie shows all even though show all is delected.

    What I want it to do is for people to log in, go to welcome page, (both fine and working) then be able to edit their own listings (not working) or add new ones. (working)

    Can you let me know if that is a bug or whether I have not selected the correct options.

    Here is the code:

    [gd_listings title=”My Listings” post_type=”gd_therapy” post_author=”current_user” sort_by=”az” title_tag=”h3″ layout=”1″ post_limit=”5″ add_location_filter=”1″ bottom_pagination=”1″]

    Add Listing

    [gd_add_listing post_type=”gd_therapy” show_login=”1″]

    #496857

    Kor
    Moderator
    Post count: 16516

    Hi Eileen Quick,

    Thanks for your post. To allow editing listings, could you try inserting the “GD > Author Actions” widget to the listings sidebars as shown in the attached screenshot and see if it’s what you’re looking for?

    #496871

    Eileen Quick
    Full Member
    Post count: 165

    Hi There

    The options of where to show this are gd pages and i want the customer to be able to edit his listings from his welcome page.

    Before it was easy with V1 as you just used the gd listings shortcode so I am surprised that I cannot use this in v 2.

    Kind regards

    #496909

    Alex Rollin
    Moderator
    Post count: 27815

    V2 has many many more options than V1.

    By default, V2 includes GD Author Actions in the Archive Item template. However it has the option for “author page only” enabled to improve performance.

    You can edit the Archive Item template and switch out the GD Author Actions shortcode to remove that option so that the edit buttons etc are shown on every page, instead of just the author page.

    https://wpgeodirectory.com/docs-v2/templates/archive-item/
    https://wpgeodirectory.com/docs-v2/templates/archive-item/#gd_author_actions

    You should use the shortcode builder when you need to see the shortcode options

    https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/

    #496930

    Eileen Quick
    Full Member
    Post count: 165

    I have added the shortcode author actions to the archive page and have added the shortcode gd listings to the welcome page using the current user version.

    This way the user logs in and is taken to a bespoke welcome page where their listings are shown and also the option to add listings.

    When they select which of their listings they want they are then sent to the archive page which has the edit feature.

    The only design flaw I can see is that if they have more than one listing then the layout is not good in that they are right next to each other instead of some space between (see attached image) and also

    when they select the required listing there is an option to select “previous or next” which actually takes them to someone elses listing not their previous or next one (although they cannot edit this it is a bit odd).

    Is there a way of adding some spacing between the listings and also taking the “previous or next” bit out or make them go to the correct ones ?

    thanks.

    #496985

    Alex Rollin
    Moderator
    Post count: 27815

    I recommend you try using listview or grid 2 as the spacing issue with grid 1 is due to the fact that it is for use in sidebars for vertical display.

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

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

Open Support Ticket