| Ajax Shoutbox help I installed Ajax Shoutbox on my forums and it works great. The only thing is that when you use it it goes to another page. I want to put it on the main page as part of the forums. As with any mod that I have seen so far, it is understandably configured for the default templete SubSilver.
But mods usually have instructions on how to modify it for other templetes, usually replacing SubSilver with your templete name. The instructions say you should be able to add it to main page by adding these lines to any php file like so: To include the shoutbox to any php file just put where you want the shoutbox to appear:
include($phpbb_root_path.'shoutbox.'.$phpEx);
You can fix the width and height of the shoutbox putting it like this in your file:
$shoutbox_width = <your desired width>;
$shoutbox_height = <your desired height>;
include($phpbb_root_path.'shoutbox.'.$phpEx);
Or if you would like to use an iframe to have the shoutbox in any html page use this to configure the dimension:
<iframe src="www.dom.com/shoutbox.php?width=900&height=600" width="900" height="600"></iframe>
See the readme file for more info.
I have tried this and it doesn't seem to work for me. If anybody is familiar with this and got it to work on the main page could you please help me out. Thanks for any help. |