I installed cb facebook plugin on cb123. It seems to work but when on cb pages (ie viewing profile, editing cb info), The logout button displays strange... Please have a look here:
www.janglo.jewishideas.com/
Click Login and use the fbconnect button.
Compare the view of the homepage and pages under com_comprofiler. (
www.janglo.jewishideas.com/index.php?option=com_comprofiler
)
I disabled all plugins and js and I still get this strange result.
Please please help!!!
Thanks!
On the homepage:
[code:1]<form action="
www.janglo.jewishideas.com/component/option,com_comprofiler/task,logout/" method="post" id="mod_login_logoutform" style="margin:0px;">
<span id="mod_login_greeting">Hi, Nathan_Meloul</span>
<script type="text/javascript" src="
www.janglo.jewishideas.com/components/com_comprofiler/js/jquery-1.4.2/jquery-1.4.2.min.js">
<script type="text/javascript"><!--
jQuery(document).ready(function($){
if ( window.FB ) {FB.init({appId: '158866577459516',status: true,cookie: true,xfbml: true});$( 'html' ).attr( 'xmlns:og', '
opengraphprotocol.org/schema/' );$( 'html' ).attr( 'xmlns:fb', '
www.facebook.com/2008/fbml' );}});
--></script>
<script type="text/javascript"><!--
function fbc_login() {if ( window.FB ) {FB.login( function( response ) {if ( response.session ) {location.reload();}}, { perms: 'email' });}};function fbc_logout() {if ( window.FB ) {FB.logout( function( response ) {window.location = '
www.janglo.jewishideas.com/index.php?option=com_comprofiler&task=logout&Itemid=270';});}};function fbc_unjoin() {if ( window.FB ) {if ( confirm( 'Are you sure you want to unjoin
www.janglo.jewishideas.com?' ) ) {FB.api({ method: 'Auth.revokeAuthorization' }, function( response ) {location.reload();});}}};
--></script>
<link type="text/css" rel="stylesheet" href="
www.janglo.jewishideas.com/components/com_comprofiler/plugin/user/plug_cbfacebookconnect/cb.facebookconnect.css"/>
<script type="text/javascript"><!--
jQuery(document).ready(function($){
$( '#mod_login_logoutform' ).find( ':input[type=submit]' ).remove();});
--></script>
<span class="mod_logout_plugin"><input class="fbc_button_small" onclick="fbc_logout();" type="button" title="Logout of your Facebook account." value="" /></span><input type="submit" name="Submit" class="button" value="" style="width:25px;height:20px;border-width:0px;margin:0px;cursor:«»pointer;vertical-align:top;background-image:url(
www.janglo.jewishideas.com/modules/mod_cblogin/logout.png);background-position:0 0;background-repeat:no-repeat;" title="Logout" />
<input type="hidden" name="op2" value="logout" />
<input type="hidden" name="lang" value="english" />
<input type="hidden" name="return" value="B:aHR0cDovL3d3dy5qYW5nbG8uamV3aXNoaWRlYXMuY29tLw==" />
<input type="hidden" name="message" value="0" />
<input type="hidden" name="cbsecuritym3" value="cbm_504e9c77_0be4597d_c6df0c3d17d14e8cd07bf87807731cfa" />
<input type="hidden" name="jb39611799c6424228481140382a444a7" value="1" />
</form>[/code:1]
on cb pages (*much shorter output)
[code:1]<form action="
www.janglo.jewishideas.com/component/option,com_comprofiler/task,logout/" method="post" id="mod_login_logoutform" style="margin:0px;">
<span id="mod_login_greeting">Hi, Nathan_Meloul</span> <span class="mod_logout_plugin"><input class="fbc_button_small" onclick="fbc_logout();" type="button" title="Logout of your Facebook account." value="" /></span><input type="submit" name="Submit" class="button" value="" style="width:25px;height:20px;border-width:0px;margin:0px;cursor:«»pointer;vertical-align:top;background-image:url(
www.janglo.jewishideas.com/modules/mod_cblogin/logout.png);background-position:0 0;background-repeat:no-repeat;" title="Logout" />
<input type="hidden" name="op2" value="logout" />
<input type="hidden" name="lang" value="english" />
<input type="hidden" name="return" value="B:aHR0cDovL3d3dy5qYW5nbG8uamV3aXNoaWRlYXMuY29tLw==" />
<input type="hidden" name="message" value="0" />
<input type="hidden" name="cbsecuritym3" value="cbm_6dc23c72_721684d3_ebc5acae455517b2f36a640693f9fb7d" />
<input type="hidden" name="jb39611799c6424228481140382a444a7" value="1" />
</form>[/code:1]
Post edited by: eskimex, at: 2010/10/11 18:32