Hello, Someone could explain to me how you can protect wordpress content like post and pages. Because it's not possible to put your contents on a specific folder on the root... What are modalities to protect wordpress content ? Many thanks.
There are a couple of ways to go about it. 1) You can protect wordpress as a whole (or as David calls it, a "walled garden") this will protect ALL of your content 2) There is a wordpress plugin that, when used in conjunction with the Amember plugin, allows you to protect specific posts and pages. This allows you to have some public content as well as teasers to protected content while protecting your members only content.
There's 2 ways you can look at protected content. Walled Garden - all content is protected, usually in its own directory. aMember and the amember plugin, if you want comments, are needed for this. Magazine Model - teaser text is shown, but the rest of the content is protected. aMember, the aMember plugin and a couple of additional free wordpress plugins are needed for this. See my signature for a demo of the Magazine Model. David
David, Sometimes I feel like we could finish each others sentences... then I get all creeped out over it ;-) Skippy
I just purchased amember and have started setting it up. I'm definitely trying to achieve the "magazine model". What's the name of the plugin that can do that? Would you happen to have a link? I purchased both amember and the wordpress plugin that is offered here. Is that the plugin you were referring to? Sorry for my ignorance. Thanks so much for your help!
The plugins I use are hidepost and role-manager. The amember widget I wrote, (included in your wordpress download), will work alongside of the hidepost plugin to give you the proper login and signup links. David
I have been trying to setup similar protection. I have both hidepost and rolemanager plugins. However, I cannot get the amember wordpress plugin to work correctly. I am using worpress 2.6.2 with semiologic theme. Two things seem NOT to happen. When registering via amember the plugin does not set the person to subscriber in wordpress though they are added a user. I have to manually change them to subscriber. Second, using the widget does not successfully log them in. Any news if the plugin is supposed to be working with wordpress 2.6, I notice it is not list in the options on the configure page of the amember wordress. Thanks! Eric
If its not in the list, then your version isnt up to date- ask amember to send you the latest one for 2.6 (and ask them to put it on the download page...) David
David, Thanks much! They had already uploaded a new version. Now when I register in amember the user is created in wordpress as a subscriber. However, using the widget on my blog the login does not work. It appears to go to the amember page for processing but when the blog comes back up the widget just shows the login fields again - not the amember links. Any ideas? Thanks again! Eric
Hi David & skippybosco, I'm definitely going for the walled garden experience, not so successful. Using WP 2.5.1 and aMember 3.1.2 with the WP plug-in updated. I have the WP directory (/members) protected by php_include method and have added the array of acceptable products to the WP template. However, users are not getting in correctly. Whenever users attempt to access the protected directory, they're prompted to login with amember's login form, so far so good. Providing the correct credentials brings the user back to the same page with this message "Access to this membership area is not allowed. Please go to "Membership information page" to renew or add subscription". Following the link to the Membership Info page, users can click on their active subscription in the left sidebar and are only then redirected to our protected /members directory with the right WP permissions. Why don't they get in the first time when they enter their credentials? I'm totally stuck. Have been going back and forth with support for a while and I'm not understanding what they're asking...."Remove the current log in form and use the amember sidebar widget". Not clear how to remove this form and this sounds like the Magazine approach? Not what my client wants. site: csa-online.org/members user: ericrdb pwd: test333 Maybe there's a step-by-step for the Walled Garden approach? Sorry for the book, any help is appreciated! Cheers, Eric DB www.mydbsolution.com
To start with I'd recommend upping to wordpress 6.1.2 and amember 3.1.4 if you can. Then instead of using php_include, if you want a walled garden, use new_rewrite. Also check to see if your site is using www or non-www for both amember and wordpress. If they dont both use the same, this could be a problem. David
aMember redirects logged in member to public content only I am having the exact same issue as Eric_minn. I have WordPress 2.6.2 installed with a theme. I am also on aMember 3.1.4PRO. I have downloaded and installed the new WordPress plugin from aMember, including rebuilding the database as in the readme. The new plugin asks for your version and now includes 2.6. Plus, for 2.6 it asks for additional security information. All filled in. I have defaulted both WordPress plugin and the product with a default WordPress role of Subscriber and a level of zero. I am using the [hidepost] plugin. I have also downloaded and installed the Role Manager plugin, but it makes no difference to the output I am seeing. What occurs now is what occurs before the new plugin was added. A member comes to the site and sees membership content. The member clicks on the "login" link and is taken to aMember's login page correctly. The member enters their information correctly. The aMember program than comes up and says it is redirecting them. The site is reloaded and the membership content is still hidden. It goes through the entire process, but it looks as though it does not pick up the release to [hidepost]. (and yes, I have the latest release of [hidepost]). Here are the things I have tried: Changing the Role and Level for the plugin and the product to Contributor and Level 1. Deleting the User and reinstalling the membership subscription. Accessing the user privileges via the WordPress login page (this works fine, but then gives access to the Dashboard and requires a second login. No thanks). Changed [hidepost] to [hidepost=0] to see if adding the level (a new feature) would work. No change. Based on the fact that the user privileges are appropriate via WordPress, this looks like an issue with aMember. Any more ideas? I've opened a ticket yesterday on this and have not heard a thing from support. I'm adding this in a reply as it has a lot more information in it. Thanks...Scot
Unfortunately, won't be an option right now...And, isn't it reasonable to expect to achieve a walled garden even with these versions? After all, these used to be the most current versions and people did deploy successfully with these versions, right? Yah, and I prefer to new_rewrite too. Had some challenges with the .htaccess and wordpress. With the new_rewrite implemented, anytime a user clicked on a post header to read more or comment, the link was broken. So, I implemented new_rewrite wrong. Advice? Thanks, we're definitely not using the www prefix for anything. I'll do another check just for sanity's sake. Other options? Thanks all, Eric DB www.mydbsolution.com
Thanks for your reply David. Actually, not using the SEO plugin. As of just a few minutes ago, this post helped get new_rewrite configured correctly. http://www.amember.com/forum/showpost.php?p=29004&postcount=7 Different issue now: users aren't getting automatically logged in to WordPress and so can't leave comments without logging in to both aMember and WordPress separately. I tested by creating a new user; aMember is definitely connecting to the WordPress db. Same credentials work in both login forms. Sure appreciate the help!
Hey ericrdb, Ran into this problem with another guy in this forum just yesterday. Here is what I did to resolve it: Specifically make sure you read the readme file, modify the wordpress config and setting file and ensure your auth, secure and login keys do not have any special characters (' " & etc.)
Please excuse my ignorance but when you refer to modifying the wordpress file per sidebar readme instructions, what does that mean? where are said intstructions? Thanks!
I am having an issue actually. It seems that aMember isnt passing info to WP. Whether I log in through the sidebar widget or the login page. If I register a new user through aMember, I can login through the WP back-end and access everything correctly but it doesn't work if I log in through aMember. I've already commented it the code snippet that you posted above and have tried some other things as well. I've made sure that my secure keys do not include ' or " as well. I'm kind of stumped at this point. Any suggestions you can make are very much appreciated.