The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Members Log In for Skysa Chat Box

Go down

Members Log In for Skysa Chat Box Empty Members Log In for Skysa Chat Box

Post by rabz22 April 15th 2010, 8:09 pm

Hi

I have installed the Skysa toolbar and it is working fine except for the chat feature.

It requires me to insert the following code into the template:

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

However I don't know where to get the values for each field from.
Obviously the all except loginUrl will be script variables like this below (this is configured for wordpress):

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

So my question is, does anyone know where I can find those bits of information that I need?

Any help will be appreciated.

Thank you very much guys!
avatar
rabz22
New Member

Posts : 1
Reputation : 0
Language : english

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum