Amember, wordpress, phpbb integration.

Discussion in 'Integration' started by roadogz, Feb 25, 2009.

  1. roadogz

    roadogz Member

    Joined:
    Aug 12, 2008
    Messages:
    42
    So life is beautiful when it comes to amember login in WP and phpBB. Has anyone had issues when login in through phpbb? It works fine for amember and phpbb. The only problem is, WP doesn't get logged in.

    I tried to do a page forward to amember/login.php on the login form in phpbb, but for some reason it wont log in phpbb when I do this.

    Thanks
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    How about adding a link to your blog using login and redirect from phpbb
    /amember/login.php?amember_redirect_url=yourblogurl


    David
  3. roadogz

    roadogz Member

    Joined:
    Aug 12, 2008
    Messages:
    42
    I could, except what I'm hoping for is; when a visitor logs in at the forum with the Amember plugin it also logs in wordpress as well. I tried changing the link on the forum header to point to login.php in amember, and I tried redirecting the login page in the forum to login.php, but for some reason it wont login in the forum when I do that.

    Thanks
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Keep the forum login, change the link to the blog from the forum to
    /amember/login.php?amember_redirect_url=yourblogurl

    David
  5. roadogz

    roadogz Member

    Joined:
    Aug 12, 2008
    Messages:
    42
    Sorry, I'm not explaining well, or I'm misunderstanding you. What's happening is; I log into the Forum. the forum (phpbb) shows me logged in. If I then choose the link to go to the forum. (I have the:

    <?php
    session_start();
    if ($au=$_SESSION['_amember_user']){ // user is logged-in.. etc etc etc

    in the header of the blog)

    The problem is, I'm not logged in, in the blog. Even if I refresh the page. However, it does show me logged in, in the rest of the site.

    Thanks again.
  6. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    So members are logging into the forum. How are they then going to the blog?

    David
  7. roadogz

    roadogz Member

    Joined:
    Aug 12, 2008
    Messages:
    42
    They go to the blog with a regular link on the page in the forum.
  8. cbryant

    cbryant New Member

    Joined:
    Feb 27, 2009
    Messages:
    1
    roadogz...

    I'm having exactly the same issue with phpBB3 and Joomla.

    Joomla >< aMember work perfectly.
    If I log in to login.php (linked to from Joomla), I'm also logged into phpBB.

    But if I link to login.php from phpBB, for some reason it only logs me into Joomla and not phpBB.

    Did you ever find a solution?
  9. dezco

    dezco New Member

    Joined:
    Apr 5, 2007
    Messages:
    11
    Question

    I have this plugin installed and everything seems to work ok but I have a question.

    If a user doesn't have a amember account yet, and he creates an account on the phpbb board. Should this create an amember account? I'm thinking no but maybe somehow the amember code (when a user logs into amember) looks at the phpbb database for authentication.

    Or is this plugin just one sided in that it creates a phpbb account when you signup to amember.

    Lastly, I saw something about the plugin deactivating phpbb accounts!?!?! Can someone explain what I need to look out for in that regard?

    Thanks for any help in advance.
  10. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    No, you need to have them signup in amember.

    Can you explain where/what you saw?

    David

Share This Page