Apr
06

Amember with wordpress – a trial

Membership sites, WordPress  

Install Amember

  • Download the trial to somewhere on your web server.  If re-uploading to another server, do it in binary
  • If you don’t have it Get and load the zend optimiser.  (or ioncube) To install you will need to know where php and apache are on your server.
  • If haven’t setup DB yet, do it now, else same as wordpress.
  • Browse to amember location.  Configuration script will run.  You will need your mysql details – I used same as wordpress, except for table names.
  • I got a bunch of warnings about tables that did not exist and functions that are deprecated.  No output due to headers sent.  tried to refresh, told me /config.inc.php already existed and I had to delete it.  I deleted it and repeated the exercise, reentering the config info.
  • ‘Continue Installation?’ yes….   warnings again about deprecated functions, and then no output due to headers already sent….. groundhog day…..
  • Created php.ini for am directory and set warnings off.  refreshed, went through the whole exercise again, including redeleting and re-entering config.
  • Gave up on the setup url, went back to homepage… could not login . Also get a spelling mistake causing an undefined constant error in the config.inc.php
  • Gathered I probably had not finished setup – went to their setup.php – found line 23 and commented it out.
    //error_reporting(E_ALL ^ E_NOTICE);
  • Was then able to complete setup (i think..), albeit with a bunch of messages.
  • Logged in to admin screen – error message and blank
  • Edited config.inc.php and config- dist and commented outchanged line 19 //error_reporting(E_ALL ^ (E_NOTICE | E_DEPRECATED)); to
    error_reporting(E_ALL ^ E_NOTICE);

Whew – now we have the admin control panel, but we are not seeing all those many errors…..

Configure Amember

  • Utilities > Setup / Configuration > Plugins > tick wordpress on.
  • Got message Table ‘wp.users’ does not exist… well its not called that now is it? So…
  • Utilities > Setup / Configuration > WordPress – Fill in fields.    You may need to save and then re-edit to get the roles to come up  – see instructions at the bottom of that page
  • Copy plugins/protect/wordpress/ma-amember_widget.php  to the wordpress plugins directory

Configure rest of amember

  • Add a product, add a free one for quick and easy testing. Note that to achieve integration with wordpress you must specify the wordpress role and/or level.  The user should then automatically get updated in wordpress.  If not, try rebuilding the database in amember.
  • Configure free
  • Configure Email etc
  • Configure paypal, put in sandbox details etc

Configure wordpress in wordpress

  • activate the widget plugin
  • goto widgets, choose the widget area that you want the amember login to appear in
    • specify the amember url ie where amember has been installed
    • specify the signup page – this is the amember signup page. Eg: http://localhost/am/signup.php
The widget when you are not logged in

The widget when you are not logged in

Some points to note:

  • Login to amember via /where amember is/admin. This does not log you in as a user unlike wordpress.
  • Can add admin users with different levels of access.  Unfortunately They still see all the menu options though, just are not allowed to do the actions.
  • Register via the amember widget. this will create userid. Check whether you have set that  User signup must be confirmed or completed before wordpress user will be created!
  • Check that the test user has not expired…

testing logins…

  • add a product, link to a wordpress role (i used the roles that the free memberwing plugin setup) and/or level, define expiry period etc, landing page.  set it up as 0 cost initially
  • register a new user for that product – yes – wordpress user created thank you
  • login…. can login to amember no problems, but does not login to wordpress.  Can login to wordpress separately using newly registered user and the free memberwing protection works nicely on the defined roles but cannot get logins to work together… tried cookie  settings, didn’t seem to make a difference
  • this made me question expiry….does not seem to integrate there either.

Think I am going to give up here…..

It’s looking too hard and I keep thinking of what I’d have to do still to  make the look and feel work from a user (website owner)  perspective – yes I could split up the admin area and probably add wordpress menu options for the admin framed areas, yes I could restyle etc.  Yes I could pay another nearly $700 for “the wordpress amemeber integration package” and maybe still not get what I think we need..

Going to start looking for plan B now while i wait to see if there is any feedback on issues logged…

    Still to do

    • Configure Cron
    • Configure Global, Advanced, Email
    • Enable payment system plugin & configure, test payment system
      Edit Emails
    • Create any content folders and directories, chmod 777, Protect folders – .htaccess and figure out a way for wordpress to load some uploads into special folder (yes of course we can ftp, but we looking at non-skilled user perspective)
    • Customise templates:
    • signup,
    • member
    • login
    • Turn off test mode and go live.

    Related posts:

    1. Import users to wordpress db without emailing There are a number of plugins out there that help with importing users to wordpress. The ones I found would...
    2. WordPress admin password problems? Every now and then it happens….   even though I meticulously keep an encrypted password protected record of all the many...
    3. Your Member Admin area Home – statistics and news Members and subscriptions Member management – paged list of members, can filter and sort.  Would...
    4. Looks good, dived in with a developers license A record or informal guide of the installation process of the Your Members wordpress membership plugin....
    5. Improve your wordpress web’s security – Prevention Easy improvements for the non-technical: are you displaying your username for all the hackers to see? Go to your wordpress...

    8 Comments

    1

    Hi Anna, did you manage to find the answer to the problem with the amember that does not login the user into wordpress? I am banging my head here for over a week searching for answers and still nothing…

    2

    Hi – Sorry I gave up on amember and went with YM. Wishlist also seemed good.

    3

    I am familiar with WishList (currently have an install with it where Simple:Press Forum, SPF, is not getting updates on new memberships) but I am curious what YM refers to.

    4

    Well, with a little research I have a guess …
    is it “Your Members” out of the uk?
    Which they refer to as “The Professional Membership Plugin for WordPress.”

    I had not come across this plugin in my previous searches. Would you mind sharing how long you have been using it at this point and what your thoughts are on it? Have you happened to use it with SPF (Simple:Press Forum) plugin?

    5

    Okay … so I missed the obvious … scrolling back up to the top of your post I see a link to “Your Members”

    Still, if you could share a little in regards to your experience with the plugin it would be appreciated.

    Thanks.

    6

    There are some slightly old links here http://webdesign.anmari.com/tag/your-members/.
    There is a new version out which I have not had a chance to look at yet. Possibly in another month or so I’ll be looking at it again.

    And no – have not used it with Simple Press (had a quick look at SF, decided was not so simple?! – thought I might write my own, very simple template if I had the time, but now think either bbpress or wait for Justin Tadlocks! http://justintadlock.com/archives/2010/07/16/a-wordpress-forum-plugin-using-custom-post-types.

    7

    Hi Anna-marie, is this the plug that I’ve soo during my registration?
    Is it free?
    Thank’s

    8

    Hi Diego if you mean Amember. no that is an expensive plugin. Not mine. See plugin page on menu for mine.

    WP Questions

    Preferred Web Host

    Web hosting by ICDSoft Icdsoft - Why? They are good and reasonable, used them since 2001. Read more