locking down add listing pages

This topic contains 3 replies, has 2 voices, and was last updated by  urbanfix 8 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #37925

    urbanfix
    Expired Member
    Post count: 310

    1) I wish to restrict access to the add listing page based on a member level. I am aware some people use s2member however i prefer PMpro.
    Just like s2member, PMpro has shortcodes and a php if member level function would I simply be able to use the php function on the add listing php template?
    (I have read how to put the template into the child theme btw).

    2) would it also be possible to lock it down as far as package ids?
    http://urban-fix.co.uk/add-listing/?listing_type=gd_food_and_drink&package_id=12

    I want to do this using php, where will i find the files? I can construct the if and else if functions… In s2 member i believe it would be possible with URI’s but PMpro doesnt have this…

    This should be the same process as using the if s2 member level php functions, so think of it like that!
    Thankyou,

    #37965

    Guust
    Moderator
    Post count: 29970

    It would be very easy with s2 as you say, because they use URIs.
    No idea about PMpro.
    But I guess you could add the code to the add-listing.php template.
    http://docs.wpgeodirectory.com/customizing-geodirectory-templates/

    #38065

    urbanfix
    Expired Member
    Post count: 310

    Yeah thats what i thought, but i need more than one free level and dont want to pay for the pro version of s2member.
    thankyou @guust
    please mark as resolved

    #58163

    urbanfix
    Expired Member
    Post count: 310

    I ended up purchasing the pro version of s2member, its the only way!}
    Thanks,
    UF

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

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

Open Support Ticket