The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Chatbox in the header?
Hi There,
Every year I purchase the rights to a chatbox (shoutmix.com). I would like to be able to insert this "chatbox" at the top of my website on every page (Homepage, Forums, etc) My Question is this, Shoutmix gives me a code to insert into the html source code but I am not sure where to place the code to get it to show up where I want it. Where would I place this code? I want my chatbox to appear just below the Main Logo in the heading area. Right now I have the vBulletin Logo but will be replacing this with a banner soon). Basically I want my chatbox to appear just below the vBulletin Logo, which would be just sitting above the Navigation Bar. Most likely this code would be placed in the header area or headinline area in the "styles manager" of the admin cp. But there is a lot of code there and i'm not sure where exactly to place my code. If anyone has some advanced coding experience I could use your help. |
#2
|
||||
|
||||
Quote:
|
#3
|
|||
|
|||
Quote:
Just saying you want to add it Here etc.. not very helpful |
#4
|
|||
|
|||
I could see how that could help, sorry about that!
Here is the iframe code... Code:
<!-- Begin ShoutMix - http://www.shoutmix.com --> <iframe title="hotspotcafe" src="http://www6.shoutmix.com/?hotspotcafe" width="160" height="400" frameborder="0" scrolling="auto"> <a href="http://www6.shoutmix.com/?hotspotcafe">View shoutbox</a> </iframe> <br /><a href="http://www.shoutmix.com" title="Get your own free shoutbox chat widget at ShoutMix!">ShoutMix chat widget</a><br /> <!-- End ShoutMix --> I just need to know where to place the code? |
#5
|
||||
|
||||
Quote:
At the header template find the following code: HTML Code:
<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div> And right after it, add this code: HTML Code:
<br /><br /><br /><br /><div><!-- Begin ShoutMix - http://www.shoutmix.com --> <iframe title="hotspotcafe" src="http://www6.shoutmix.com/?hotspotcafe" width="160" height="100" frameborder="0" scrolling="auto"> <a href="http://www6.shoutmix.com/?hotspotcafe">View shoutbox</a> </iframe> <br /><a href="http://www.shoutmix.com" title="Get your own free shoutbox chat widget at ShoutMix!">ShoutMix chat widget</a><br /> <!-- End ShoutMix --></div> I changed the height because the way you had it, it would have blown the header way out of propotion. Here can be seen the end result witht he shoutbox right under the logo as you wanted it. Hope it helps. |
#6
|
|||
|
|||
Quote:
HTML Code:
<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div> |
#7
|
||||
|
||||
Thanks for correcting my typo Updated the post with the closing angel bracket.
|
#8
|
|||
|
|||
Thanks so much for your help, I really appreciate it.
Most likely I'll be changing the dimensions a bit, the dimensions I posted originally were just the default set. Now what if I wanted to center it? I'm not sure if I want the chat box to be centered with absolute dimensions or if I want it to be liquid and stretch with the users browser size. But if I did want absolute dimensions, is there a way to center it? Thanks again guys, your a real help! |
#9
|
||||
|
||||
Quote:
HTML Code:
<br /><br /><br /><br /><div style="text-align:center"><!-- Begin ShoutMix - http://www.shoutmix.com --> <iframe title="hotspotcafe" src="http://www6.shoutmix.com/?hotspotcafe" width="160" height="100" frameborder="0" scrolling="auto"> <a href="http://www6.shoutmix.com/?hotspotcafe">View shoutbox</a> </iframe> <br /><a href="http://www.shoutmix.com" title="Get your own free shoutbox chat widget at ShoutMix!">ShoutMix chat widget</a><br /> <!-- End ShoutMix --></div> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|