aMember -> Wordpress

Discussion in 'Troubleshooting' started by shudogg, Sep 9, 2010.

  1. shudogg

    shudogg New Member

    Joined:
    Feb 9, 2010
    Messages:
    12
    My membership site has been setup for a few months now, everything great.

    I did notice however (when browsing through the log files) that even expired users are able to login to my wordpress area and access all the information. This is a huge deal. Those who have expired and realize they can still login to the wordpress and get the content without paying, they will never pay again lol.
    So I am forced to hunt down all expired memebers. The only option I have is to delete them from amember, then update the database to remove them from WP as well. However this is a problem itself because then they lose their account in the event that they would have logged in and updated their subscription....

    I have noticed there are WP roles and levels. Obviously their role will never be higher than a subscriber. However there are 10 levels to wordpress. Right now by default in amember this level dropdown is empty.

    I tried to set the level in amember to 1, then down to 0 if they expire. Then in my wordpress content used [ hidepost = 1 ]. Upon testing, even active members couldn't get to the content..

    What is the best way to do this? Maybe a better hide content plugin for wordpress?

    David, I know you do a lot with amember -> wordpress membership sites :cool:
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
  3. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Upgrade to using Ken's amprotect plugin.

    You will need to change your hidepost tags from hidepost=1 to amprotect=amember product ids. This can be done with phpmyadmin.

    David
  4. shudogg

    shudogg New Member

    Joined:
    Feb 9, 2010
    Messages:
    12
    Thanks, I just bought amProtect through you David. ;) My way of giving back. I know you create membership sites for people, but I am a techie and know php and all that. Just time is of the essence, so thank you for pointing me in the right direction instead of saying "join membership academy and I will help you". Good man.

    I know amprotect does more then just block PENDING and EXPIRED members from being able to access the content still.. But I bought amember to setup a protected membership site, plus spend a few hundred bucks on plugins (I paid 1sc to talk to amember, amember to wordpress, ect.). Now I have to buy a plugin to handle something that amember should do out of the box.

    I hope in version 4 of amember that they fix this. PENDING AND EXPIRED MEMBERS SHOULD NOT BE ABLE TO ACCESS PROTECTED CONTENT!
  5. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Just to prevent any confusion, aMember 3 DOES block pending and expired members from accessing protected content.

    While amProtect will certainly make your protecting and configuring a simpler and more feature rich process, the issue that you see with the core aMember + wordpress setup is most likely a result of an invalid configuration.

    If you are concerned about having to buy an additional plugin, consider sending a support ticket to aMember explaining your situation with aMember core + Wordpress and they can probably get you sorted easier than trying to diagnose it from a forum post.

Share This Page