Users able to delete listings

This topic contains 5 replies, has 4 voices, and was last updated by  Paolo 8 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #14132

    ldcanto
    Expired Member
    Post count: 65

    I’d like to know how to restrict users on my website from deleting listings they’ve entered. I want only ADMINS to have this capability and preferably only within WordPress.

    #14136

    Guust
    Moderator
    Post count: 29970

    Have you set
    GD > general > general > Allow user to see wp-admin area > NO ?

    Because with that setting users cannot delete their listings.

    #14212

    Paolo
    Site Admin
    Post count: 31206

    hi,

    actually that info is wrong. Users are always able to delete their own listings from the front end.

    There is no option to avoid this. The only solution would be to hide the delete link adding this to your child theme style.css file:

    
    
    .geodir-delete {
        display: none;
    }

    Thx

    #14219

    Guust
    Moderator
    Post count: 29970

    Oops, I did not think of looking at the list of user listings in the dashboard; I only tested the edit links from the detail page.
    Thanks for setting us all straight 🙂

    #64306

    jkirker
    Lifetime Member
    Post count: 298

    Is there a hook or filter now to remove the link? Now that we’ve gone towards more hookable things?

    #64404

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I don’t think there is, I’ll ask to the developers to check.

    Thanks

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