amember 2.1.8pro and mamboserver 4.5

Discussion in 'Integration' started by movado, May 31, 2004.

  1. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Please try to download plugn again, there should be a zip file inside with module.

    Frank,
    thank you very much for contributing it!
  2. futang

    futang Guest

    Unfortunately, this plugin will bring you out of Mambo which looks very strange to the users. I thought it would login both aMember and Mambo and stayed in Mambo so that I could have user menus for them to access.

    This is very bad. Am I doing things wrong?

    Felix
  3. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    There is a fix necessary for Mambo 4.5.1+ to keep single-login working. If you contact support@cgi-central.net, we will send you necessary files.
  4. futang

    futang Guest

    Got it. Thanks.

    Felix
  5. Can't relog-in to Mambo if still logged into aMember

    Here's the problem:

    If the session in Mambo expires, and the user tries to log in again, Frank's script does the login stuff and shows the "redirect to protected" page in aMember, but once in Mambo, the user is STILL logged out.

    The SOLUTION:

    If I go into aMember as the user, aMember still sees him as logged in. Only after I manually log the user out in aMember then go back and use the Mambo/aMember login module to login will it then log the user into Mambo.

    Any ideas as to why this is happening and more importantly how to fix it?

    Thanks!!

    - jeff
  6. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    It happens because Mambo's PHP session expires before aMember's PHP session. You may try to do the following: edit file mambo/configuration.php and replace line:
    $mosConfig_lifetime = '900';
    to
    $mosConfig_lifetime = '7200';
  7. Still doesn't work

    Alex, I have done this, only with smaller values, and still amember seems to be LIVE until I close the browser or manually logout.

    • Placed this code in .htaccess files both in the root of Mambo AND in the root of Amember:
      php_value session.cookie_time 60
      php_value session.gc_maxlifetime 60​
    • Also changed Mambo session time to 900 (had it set to 60 for testing purposes). Either way, this 900 is far greater than the 60 set in the .htaccess files.

    After 60 seconds aMember should not allow me to log back in without having to enter login data, right? But it allows me back in with no problem. I've restarted my server, cleared the cache and cookies, etc in my browser (firefox and safari, somewhat with EI).

    I really need a fix to this.... I'm way late with this site and can't wait too much longer.

    Anyone have suggestions or similar experience?

    - jeff
  8. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    I would prefer to not discuss the same things in 2 places. Lets continue our discussion in helpdesk.
    Or, we can continue here, but interval between my replies may be 1-7 days :)
  9. nikko

    nikko New Member

    Joined:
    Mar 6, 2005
    Messages:
    19
    Sorry to be silly, but, where is the Mambo plugin???

    Oups, I needed to scroll the combo box!!! I've found it!
  10. latinflava31

    latinflava31 Guest

    Doesn't Work Well with Community Builder

    Hello All, I have purchased a Member and am dissapointed with the results. I asked the dev team if it would integrate well with Mambo and Community Builder as I wanted to us the CB features within mambo. Well it doesn't function as I was told. In order to use the CB features I have to constantly sync the users through the Tools menu within CB. This links the mambo and CB tables. I haven't found any way to automate this, I am hoping someone will be able to help me. i will keep trying with the dev team at aMember, but it is a struggle so far. If anyone has any ideas please help.

    PS. If PHP Nuke can have a fully integrated membership/ecommerce solution why can't Mambo. I feel Mambo is more powerfull than Nuke and the developers are much more talented. You can see their module at www.nukeroyal.com
  11. nikko

    nikko New Member

    Joined:
    Mar 6, 2005
    Messages:
    19
    I've found a turn around.

    I'm working on a mambo-phpshop plugin for amember that will synchronize amember with both mambo and phpshop.

    That way you can sell thru phpshop easily without asking the users to register to phpshop a second time.

    This will give a good solution for mambo users that want to build a shop and sell in a regular way.

    About your question, I think that you should only use amember to subscribe your members. Amember synchronize subscription, deletion, and updates of members with mambo very well.
    But if you use mambo to register your user, they will not be registered in amember at all. The mambo plugin made to synchronize from amember -> mambo.
  12. tomarriola

    tomarriola Member

    Joined:
    Mar 29, 2003
    Messages:
    140
    nikko, integrating with any cart would be great!
    Tom
  13. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Unfortunately, there are integration limitations in aMember Pro. aMember Pro only can sync database tables. This way if user registered in aMember, he will be added to Mambo. However, for your custom Mambo shopping cart script, it is not enough. It seems that it changes Mambo code to work, this way you have not-standart Mambo installation. aMember Pro is unable to handle this situation.
  14. Frustrated

    Frustrated Guest

    Problems with Amember mod for mambo

    Hi

    I just had to add this from my own experience. I was using the Amember login mod instead of the mambo login and it does work perfectly for all except one situation.

    I had a link that allowed registered and logged in users to add content of their own through Mambo. They submitted it and it would be approved by admin before being published.

    If the user had logged in with the Amember mod login they showed up in the db as being authenticated but still received the "you are not authorised" message when they clicked on this one link. All other registered user pages displayed perfectly.

    So if you're not planning to use the feature that allows a user to add their own content then yes you can use the amember mod login instead of the mambo one and have a single login system.

    Cheers
    Claire
  15. rasada

    rasada New Member

    Joined:
    May 30, 2005
    Messages:
    1
    amember & Mambo Integration please advice

    Thanks so much for this discussion it helps me plan mplementing a membership system

    I list the understanding I have to date and hope any of you can comment or suggest from your experience how best to approach the job.

    The plan is for 2 diffrent kinds of memberships
    1. A free membership with newsltter subscription and maybe limited data
    2. A paid membership with newsletter subscription and all kinds of extra content and downloads

    Now i have 2 questions clear in my mind
    1. Why make the free membership go through aMember - because everything i read about problems between mambo and amember says its the easiest way to get a working complete newsletter subscription database. Is this true or are there any other solutions

    2. What kind of problems will this create with 2 diffrent logins one for free membership and one for paid - when i read the comments in this discussion the way the mambo module works is once people login it is not so easy to make a certain group of members have access to one section of data in mambo and another group a diffrent section of data - any further expaling of how this works will help a lot

    i hope what i am saying makes sense

    thanks rasada
  16. Frustrated

    Frustrated Guest

    What you want to do is possible and easy!

    Hi Rasada,

    What you want to do is possible and quite easy with amember and mambo. My site has a free subscription and a paid one, both of which have a login.

    Set up your free sub in amember CP and select "public" with the Mambo integration field on the product page.
    Set up your paid sub in amember CP and select "registered" with the Mambo integration field on the product page.

    That way no matter which sub a user gets they will still have their login details created within Mambo. Now with your paid content set it in Mambo admin as "registered" only. Everything else set as "public". You can now use the AMember Login Module for Mambo instead of the Mambo login.

    Just be aware that any document that's published as public will be viewable to users whether they are logged in or not. At the moment there is no way to set-up Mambo so that registered users can only view some registered pages and not others. That would require "group" functions which is something the next release of Mambo will have.

    Cheers
    Claire
  17. paperlion

    paperlion New Member

    Joined:
    Mar 5, 2006
    Messages:
    4
    Am running 4.5.3
    Can anyone do a quick walk-through on integrating aMember on Mambo along with the login integration. I.e, what needs to be unpublished/uninstalled from Mambo modules and how the aMember login is supposed to know it's needed inside Mambo, etc.? The doc doesn't seem to have everything.

    thanks.
  18. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    You just install and configure aMember's Mambo plugin as described in plugin Readme.

    Mambo module installation


    1. Enable plugin in aMember Admin CP -> Setup -> Plugins,

    2. Go to aMember CP -> Setup -> Mambo and configure it.

    3. Login into aMember Control Panel -> Edit Products and set correspoding
    Mambo access group for every your product.

    4. Enjoy!

    Login integration will also work if users will be first registering in aMember.

    To continue I need to know - is your site free? Or there are free and paid areas in Mambo?
  19. paperlion

    paperlion New Member

    Joined:
    Mar 5, 2006
    Messages:
    4
    Am running free and paid areas.

    The piece that wasn't clear - which I think you answered for me on the helpdesk, is to install the login plugin WITHIN Mambo's module installer after uninstalling the default Mambo login module.

    Not sure why it's not explained in the doc, but it's running - would like to have a step by step to having the login (and any other amember screens - are there any?) open within the Mambo wrapper. Am trying to piece this logic together from some forum posts, but I imagine others have done it. Would be nice to see here in one place on the forum.

    thanks.
  20. ianh

    ianh New Member

    Joined:
    May 31, 2005
    Messages:
    23
    You can also integrate aMember and Joomla by splitting up your page into a header and a footer and making the appropriate changes in the Smarty templates of aMember and the css file of Joomla. See http://www.pnirs.org for a fairly seamless integration of Joomla and aMember that I did for a Client.

    Happy to help either way.

    ianh

Share This Page