Go Back   Web Scribble Forums » Joomla » jConnector
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-04-2009, 01:18 PM
Junior Member
 
Join Date: Oct 2009
Posts: 4
Default Empty module after login

After logging in the jconnector module is empty. Is there a way to show some text maybe after logging in, something like : Thanks for logging in through facebook.
Or a way to not show the module when logged in?
Reply With Quote
  #2 (permalink)  
Old 12-08-2009, 01:39 PM
Junior Member
 
Join Date: Dec 2009
Posts: 7
Default

Isn't it the same as with your login module parameters?


and btw, still wondering how you fixed your problem you posted here. I don't understand what you meant by "old" tables.
Reply With Quote
  #3 (permalink)  
Old 12-08-2009, 05:01 PM
Junior Member
 
Join Date: Oct 2009
Posts: 16
Default

Something like this should do it:

<div id="facebook_connect">

<fb:login-button onlogin="update_user_box();"></fb:login-button>

</div>

<script type="text/javascript">
function update_user_box() {
var user_box = document.getElementById("facebook_connect");
user_box.innerHTML =
"<span>"
+"<fbrofile-pic uid='loggedinuser' facebook-logo='true'></fbrofile-pic>"
+"Welcome, <fb:name uid='loggedinuser' useyou='false'></fb:name>."
+" You are logged in with Facebook"
+"<br>";
FB.XFBML.Host.parseDomTree();
}
</script>

It would be necessary to integrate the code above in mod_jconnector/tmpl/default.php
Reply With Quote
  #4 (permalink)  
Old 01-07-2010, 03:34 PM
Junior Member
 
Join Date: Jan 2010
Posts: 1
Default

I tried adding this to the existing default.php but then it gives me two login buttons, one after successful login. Any help merging the two and posting here? If I just use the above, I lose the permission to email call.

Thanks!
Reply With Quote
  #5 (permalink)  
Old 01-20-2010, 09:40 PM
Junior Member
 
Join Date: Oct 2009
Posts: 16
Default

Try to add this:
<?php if(!$has_permission){ ?>
<fbrompt-permission perms="email">Would you like to receive emails from our application?</fbrompt-permission>
<?}?>
To the code above to keep the email question
I am just guessing, I could not even get the default.php to work on my site...
I just read joomlapolis is working on this integration (of course they had said that a while back)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 07:31 PM.