Skysa
-
Im running wpmu and buddypress both on the latest releases. techtronic7.net I need to be able to do this.
<script type=”text/javascript”>
var _SKYAUTH = {
loginUrl:’REPLACE WITH FULL LOGIN URL’,
memberNick:’REPLACE WITH CONTEXT CODE TO GET MEMBER USER NAME’,
memberId:’REPLACE WITH CONTEXT CODE TO GET MEMBER ID’,
profileUrl:’REPLACE WITH MEMBER PROFILE URL’,
photoUrl:’REPLACE WITH MEMBER PHOTO URL’
};
</script>
Anyone got any ideas on this, It looks like a great addition to buddypress , I have tried a few different variable but I just do not have the knowledge neccesary to make it work
Perhaps ask them if they can help you further or if they can write a plugin to make it work with wordpress/buddypress?
Ok, I got it to work. well everything but the Avatar but the chat and comments box now recognizes the logged in user and displays them as online.. anyway here is what I used and it works perfect.
<script type=”text/javascript”>
var _SKYAUTH = {
loginUrl:’http://zombielink.com/wp-login.php’,
memberNick:'<?php echo bp_loggedin_user_fullname() ?>’,
memberId:'<?php echo bp_loggedin_user_id() ?>’,
profileUrl:'<?php echo bp_loggedin_user_domain() ?>’,
photoUrl:’http://zombielink.com/files/2010/04/chatbub-e1271138868680.gif’};
</script>
The code is not working if the wordpress installation is Multisite and buddypress .I tried and all the users online are having the same name as ” You ” .I mean that if four users are online and chatting with each other . All of them are identified as the same person “you” at all time. I didn’t get fix for this .
Could any body help me?
- The topic ‘Skysa’ is closed to new replies.