Hi all I had a little issue when the facebook connect was published and a user was logged in. In that my website design was affected.
From the source code I noticed that after the facebook connect box it was including a closing div but not an opening one thus throwing my design out.
I narrowed this down to the login module mod_cbloging.php line 463
[code:1]
$divHtml = ( $horizontal ? '<span class="mod_logout_plugin'.$class_sfx.'">' : '<div class="mod_logout_plugin'.$class_sfx.'">' );
echo $divHtml . implode( '</div>' . $divHtml, $pluginsResults ) . '</div>';
[/code:1]
To solve this I copied and slightly altered the code that it produced when it is showing a login box found around line 722.
My new code at line 463 is now
[code:1]
$divHtml = ( $horizontal ? '<span' : '<div' ) . ' class="mod_logout_plugin'.$class_sfx.'">';
$sldivHtml = ( $horizontal ? '</span>' : '</div>' );
echo $divHtml . implode( $sldivHtml . $divHtml, $pluginsResults ) . $sldivHtml;
[/code:1]
Would someone mind having a nosey at this as my problem is solved however I would hate to cause myself further problems by cutting, pasting and adapting this code.
Thanks
Mike
Post edited by: ducks_mrd, at: 2010/03/17 22:07