wpmu strips javascript from posts. It’s well-known behavior and there are tons of threads about it over in the mu forums.
http://mu.wordpress.org/forums/search.php
The bar works on my site this is just to sync it to the site member db. It works cause it goes thou a plugin. So do you know how to get the membernick, memberid,profileurl or photourl which I guess would be the avtar code.
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>
//
Great to look at this .I know about skysa for 1 yr.But I don’t know that we can integrate skysa’s member ship to wordpress yet.
I put this code in my theme’s footer.php file.But skysa is still asking for registration.
//
<script type="text/javascript">
var _SKYAUTH = {
loginUrl:'http://iliked.info/wp-login.php',
memberNick:'<?php echo bp_loggedin_user_fullname() ?>',
memberId:'<?php echo bp_loggedin_user_id() ?>',
profileUrl:'<?php echo bp_loggedin_user_domain() ?>',
;
</script>
//
Could you please help me?
I don’t understand what to enter here :
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',
Are these lines correct?
memberNick:'<?php echo bp_loggedin_user_fullname() ?>',
memberId:'<?php echo bp_loggedin_user_id() ?>',
profileUrl:'<?php echo bp_loggedin_user_domain() ?>',