Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 20 Feb 2011, 18:30
IainMustardGas IainMustardGas is offline
 
Join Date: Oct 2010
Integrating Blab Chat 5 into vB4 Suite 4.1.2

Hi,

I'm having problems integrating Blab Chat 5 into my vB4 Suite installation following these instructions:

HOW TO EMBED BLAB IN VBULETIN 4

1) Go to vBulletin -> Admin CP -> Styles & Templates -> Style Manager -> SELECT: EDIT TEMPLATES -> Navigation / Breadcrumb Templates -> NAVBAR

2) look for:

<li class="selected"><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a>


and replace it with:

<li id="blab_forum" class="selected"><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a>


3) Look for:
{vb:raw template_hook.navtab_end}


and after it copy/paste:
<li id="blab_chat"><a href="forum.php?blab=1" class="navtab">Chat</a></li>


4) look for:

</div><!-- closing div for above_body -->


and exactly above it copy/paste:

<script type="text/javascript">
burl=window.location.toString();
if(burl.indexOf('blab=1')!=-1){
document.writeln('<iframe src="blab/index.php" border="0" frameborder="0" style="width:100%;height:400px;border-width:0px"></iframe>');
document.getElementById('blab_chat').className='selected';
document.getElementById('blab_forum').className='';
}else{document.write('&nbsp;');}
</script>


where blab/index.php is URL or a relative path to your chat.

SAVE

I simply can't find half of the strings that need to be altered. Last time i successfully managed to do this was when i was running vB Suite 4.0.8 (i think) This makes me think that the template code has changed since then and that is why i can't find the necessary strings.

Does anyone here have any idea about this ? I have sent a support ticket to the creator of the software aswell, but i'd like to know if anyone on here can help me out

Any help is greatly appreciated

Regards,

Iain
Reply With Quote
  #2  
Old 20 Feb 2011, 18:51
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
In step 2, I think the string to look for has changed to this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So, just add the id into that line.

The lines to look for in step 3 and 4 are in the default template.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 20 Feb 2011, 19:58
IainMustardGas IainMustardGas is offline
 
Join Date: Oct 2010
Originally Posted by Lynne View Post
In step 2, I think the string to look for has changed to this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So, just add the id into that line.

The lines to look for in step 3 and 4 are in the default template.
Hi Lynne,

You are a star !! That worked perfectly

Thanks so much for your help

Regards,

Iain
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:07.

Layout Options | Width: Wide Color: