The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm trying to incorporate a chat tool (Zopim) in my forum so the admin can talk to users that need help.
I'm putting this code in the "Header Ad HTML Module" and the chat tool loads correctly and works fine. Code:
<script type="text/javascript"> window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s= d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set. _.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute('charset','utf-8'); $.src='//cdn.zopim.com/?XXXXXXXXXXXXXXXXXXXXXXX';z.t=+new Date;$. type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script'); </script> Code:
<script type="text/javascript"> $zopim(function() { $zopim.livechat.setName('Logged in name'); $zopim.livechat.setEmail('user@somewhere.com'); }); </script> Can someone help me telling me what are the variables for 'Logged in name' and 'user@somewhere.com', so it picks it up from the DB? Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|