PDA

View Full Version : Script Location Forum/Cms


kylek
03-02-2013, 10:12 PM
We are trying to incorporate the skysa toolbar into our site and I cant find one location where to add it so it will work forum wide and work when someone is viewing the vbcms.

<script type="text/javascript">
var _SKYAUTH = {
loginUrl:'http://xxxxxxxxx.com/forum/login.php?u=$bbuserinfo[userid]',
memberNick:'$bbuserinfo[username]',
memberId:'$bbuserinfo[userid]',
profileUrl:'http://xxxxxxxx.com/forum/member.php?u=$bbuserinfo[userid]',
photoUrl:'http://xxxxxxxxx.com/forum/image.php?u=$bbuserinfo[userid]'
};
</script>

It works if added to forumhome template but so far haven't found where I can add it so it works in the vbcms.

Tried it in header template - shows in forum but not cms

Anyone got any suggestions?

Thanks!

Reycer
03-02-2013, 10:37 PM
Open your footer template and add your code to the top. ;)