Limiting number of listings per users

This topic contains 11 replies, has 4 voices, and was last updated by  John Allsopp 9 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #22514

    Viktor V
    Free User
    Post count: 4

    Hi,

    How can I set up he GD general plug in so the users are limited to add only one listing?

    Many thanks

    #22515

    Guust
    Moderator
    Post count: 29970

    Thag is not possible just with GD, but maybe can be achieved with a third party plugin.

    #22522

    Viktor V
    Free User
    Post count: 4

    What kind of plug in would do the trick? Can you recommend something?

    Many thanks

    #22525

    Guust
    Moderator
    Post count: 29970

    Mmmmm, maybe not, have a look at this topic: https://wpgeodirectory.com/support/topic/limit-1-listing-per-user/

    #22554

    John Allsopp
    Expired Member
    Post count: 399

    Came across this – don’t have time to test it, but it may be worth a look?
    https://wordpress.org/plugins/bainternet-posts-creation-limits/

    #22594

    Viktor V
    Free User
    Post count: 4

    Thank you John!

    I have installed it and going to test it know. Will let you know how it worked out.

    #22598

    Viktor V
    Free User
    Post count: 4

    Selected to limit gd_post s tried a few different user types but still allows to post more than the limit I have set.

    It could be working and I might be doing something wrong but cant get it right just yet.

    #22606

    John Allsopp
    Expired Member
    Post count: 399

    I am assuming you will need to specify the post-type, and if you do, you will need to make sure it matches exactly e.g.: gd_place?

    #22609

    Viktor V
    Free User
    Post count: 4

    hey John, I tried but still nothing.

    I might found out why though, sorry I am new to WP or coding so not sure if I understand it correctly.

    Here the developer talks about how to use it on front end forms:
    https://wordpress.org/plugins/bainternet-posts-creation-limits/faq/
    https://wordpress.org/support/topic/user-frontend-limit?replies=6

    Is the Geodirectory add listing page would be classed as a frontend form?

    If yes than I should add a code to the front end, something like this:

    [IN_LIMIT type=”CUSTOM_POST_TYPE_NAME”][wpuf_form id = “X”][/IN_LIMIT]

    where custom-post_type_name is gd_place and the second half [wpuf_form id = “X”] is a shortcode for adding a listing?

    What do you think?

    #29759

    merchbroker
    Expired Member
    Post count: 32

    I need to limit to one Listing as well. Were you able to find the solution?

    #29822

    Guust
    Moderator
    Post count: 29970

    What will stop a user registering another user account and submitting another listing?

    #29839

    John Allsopp
    Expired Member
    Post count: 399

    I am thinking of attempting something like this on a personal project i am building.
    I want to restrict posting events to people who have paid for a place listing (free place users can’t post events)
    My initial thoughts are to maybe try and integrate Restrict Content Pro, and give paid members a different user role – then use RCP to stop free users adding events……?

    If i decide i need to do it (and manage to implement it) i will post my solution 🙂

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

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

Open Support Ticket