Skip to:
Content
Pages
Categories
Search
Top
Bottom

Auto Login


  • sanraj
    Member

    @sanraj

    Hi all,

    I want to auto login in bbPress from my site.

    How can I do that?

    Thanks in advance……………………..

Viewing 4 replies - 1 through 4 (of 4 total)
  • You mean to force people to login before they can do anything?


    sanraj
    Member

    @sanraj

    No not like that, What I want to do is , I am having one app for that app I am using bbpress forum. I want to give link from my app to this forum with some encrypted params and using that I want to login in forum application.

    I just want to avoid second login in bbpress forum.

    Is there any plugin which I can use for AutoLogin?


    itsoft3g
    Member

    @itsoft3g

    hi,

    I need same kind of plugin. can you guys help me out.

    Thanks in advance.

    Hi sanraj,

    Just put the following code into your login action and give the right path for the bb-load.php file and enjoy :)

    Here is script:-

    require(‘bbpress/bb-load.php’);

    $user = bb_login( @$_POST, @$_POST, ” );

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.