Author Topic: Vbulletin integration step 8 kinda vague. Need clarification  (Read 1409 times)

adoxtater

  • Newbie
  • *
  • Posts: 1
    • View Profile
Greetings!
I just bought the Integrated Plus package and am trying to install it. The vBulletin instructions (http://www.flasherize.com/install_chat_vbulletin.php) are a bit vague so I need clarification. Step 8 reads:

Add this code near the rest of the JavaScript

Can you clarify what this actually means? I pasted the code in question near what I assume is the scripts you speak of but it just posts all the code on the forum and nothing else. Doesn't work. Can you give me a better idea where this goes? It might be beneficial to make the instructions a bit more clear as well. The rest of the info is great actually... its just that one step that's not clear.

Thanks so much!

fredric

  • Administrator
  • Jr. Member
  • *****
  • Posts: 75
    • View Profile
Re: Vbulletin integration step 8 kinda vague. Need clarification
« Reply #1 on: May 03, 2010, 08:24:44 »
This part is a bit tricky since the code you will see in the template is dependent on what theme you are using. As long as it's inside a <script> tag the code will work just fine. You don't need to put it in any special tag, anyone works.

Hawkmaster

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Vbulletin integration step 8 kinda vague. Need clarification
« Reply #2 on: October 13, 2010, 11:16:25 »
NO matter where I place this:

Code: [Select]
function launchChat(url) {
myWindow = window.open(url,'name','height=407,width=650,status=1');
if (window.focus) {
myWindow.focus();
}
return false;
}
It come out showing up on my site and does not work?

fredric

  • Administrator
  • Jr. Member
  • *****
  • Posts: 75
    • View Profile
Re: Vbulletin integration step 8 kinda vague. Need clarification
« Reply #3 on: October 25, 2010, 16:30:24 »
It needs to be inside a <script> tag. If it's nside a script tag it will not show up on the site.

Like so:
Code: [Select]
<script>
function launchChat(url) {
myWindow = window.open(url,'name','height=407,width=650,status=1');
if (window.focus) {
myWindow.focus();
}
return false;
}
</script>
« Last Edit: October 25, 2010, 16:32:40 by fredric »