WordPress.org

Ready to get started?Download WordPress

Forums

Skysa sync with wpmu (6 posts)

  1. josh101
    Member
    Posted 4 years ago #

    Im running wpmu and buddypress both on the latest releases. I need to be able to do this.

    for more info about this
    http://www.skysa.com/forums/?page=post&id=A8D63165-B5C1-493A-AF16-A2C67570AEBE&fid=A0706DE6-4121-4904-8C09-6FFBB979A301

    for info on skysa go to skysa.com

    my site techtronic7.net

    <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>

  2. 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

  3. josh101
    Member
    Posted 4 years ago #

    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.

  4. netzombie
    Member
    Posted 4 years ago #

    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>
    //

  5. asshu
    Member
    Posted 3 years ago #

    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?

  6. asshu
    Member
    Posted 3 years ago #

    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() ?>',

Topic Closed

This topic has been closed to new replies.

About this Topic