TinyPortal
Development => Resources => Topic started by: Bobbyplant on March 28, 2008, 09:58:32 AM
Hi,
As i have SMF shout box installed on my forum is there a way to make it work on the homepage?
Thanks
What code is used to call the shoutbox? Where is the shoutbox code? Which files does it edit?
Im sorry you lost me?? Im very new to this. I was just wondering as i have SMF shoutbox just above the news fader on my forum is there any way SMF shoutbox can be implemented on to my homepage say in a centre block.
Probably. But without knowing the code for it, we can't tell you how.
link to where you got your shoutbox from might be helpful :)
Hi thanks again for replying guys here is the url http://www.simplemachines.org/community/index.php?topic=224554.0;topicseen
Looks like you would need something like:
global $sourcedir;
require_once($sourcedir . '/sbox.php');
sbox_display();
Put this in a php block.
This is completely untested. It's just what I would try first if I was going to do what you want to do.
// display shoutbox
if (function_exists('sbox')) sbox();
thats how i used to call it on to another page just out that in a phph box
Works an absolute treat guys, thanks again this is just what i was after :up: