How to put the Chatbox every page!
In this tutorial you will learn how to add the chatbox on every single page, something that a lot of you have been wanting to add as a feature to Forummotion. Well here is a way to make that possible and look perfectly normal.
For starters if you haven't already, lets go set the chatbox so that it doesn't show up on any pages.
Admininistration CP => Modules => Chabox/ConfigurationChange your settings to this:
- Spoiler:
Now that you've done that we can go add our HTML code for the chatbox to the templates in order to get it on every page. This sounds difficult but it's faily simple when you look at what you have to do.
Lets go to the template we need to add the chatbox on every page.
Administration CP => Display => Templates/General => overall headerIf you followed the path correctly you should be on a page where you can edit the HTML of the site. Be very carefull at this point because 1 little thing can screw up the look of your site. Now look for this little bit of code:
- Code:
-
<!-- END html_validation -->
If you haven't modified anything it should be on the bottom of all the script you have. What you want to do is add this script right below it:
- Code:
-
<br>
<center><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0" id="gallery_container"><tr><div class="genmed center"><iframe src="/chatbox/chatbox.forum" width="99%" height="300" scrolling="no" frameborder="0"></iframe><table></tr></center>
Click Save.
Now we stay on the page it takes you to because you have to activate the change in your template. To do that just click the green
+ next to your "overall header" template.
- Spoiler:
Congradulations! If you followed all of this correctly then your site should have a chatbox on every single page looking just as normal as the old one.
Written by Azami