Extension:Phpbb Single Sign-On

If you are having problems with GuMax, post here.

Extension:Phpbb Single Sign-On

Postby DuskMan » July 12th, 2012, 11:41 am

Hello
I'm trying to use the extension Phpbb Single Sign-On, but I can not find a place where to put this code in Gumaxdd.php:

Code: Select all
$phpbbUser = new phpbbSSO();
$forumURL = 'http://example.org/forum';         
 
if($phpbbUser->isAnonymous()){
        //If a logged in user is not part of the group, he's treated as not logged in. Thus we don't display the Login link if group membership is required.
        if(!phpbbSSO::REQUIRE_GROUP){
                echo '<a href="'.$forumURL.'/ucp.php?mode=login" title="Login" accesskey="l">Login</a>
                 / <a href="'.$forumURL.'/ucp.php?mode=register">Register</a>';
        }
}else{
        echo '
        <a href="'.$prefsUrl.'">wiki preferences</a> |
        <a href="'.$forumURL.'/ucp.php?i=pm&amp;folder=inbox"><strong>'.$phpbbUser->messages.'</strong> new messages</a> |
        <a href="'.$forumURL.'/ucp.php?mode=logout&sid='.$phpbbUser->session_id.'" title="Logout [ '.$phpbbUser->userName.' ]" accesskey="l">Logout [ '.$phpbbUser->userName.' ]</a>';
}


Tell me please and sorry for my bad English.
User avatar
DuskMan
Rank 0
Rank 0
 
Posts: 1
Joined: July 12th, 2012, 11:36 am

Re: Extension:Phpbb Single Sign-On

Postby Paul » August 21st, 2012, 5:39 pm

Follow their instruction and modify mediwiki core files, they are not in skin.
User avatar
Paul
Development Team Leader
Development Team Leader
 
Posts: 1132
Joined: October 20th, 2007, 2:23 pm


Return to GuMax Troubleshooting and Problems

Who is online

Users browsing this forum: No registered users and 2 guests

cron