Pruning will come later, I started on an admin script with pruning a while back but got frustrated with it, I'll try again later. I'll keep your suggestion in mind and make a cron-compatible script to prune shouts as well.
As long as you have edited index.php, created the 'forumhome_shoutbit' template, edited the 'FORUMHOME' template correctly, and switched the iframe off in the 'Shoutbox Settings' part of 'vBulletin Options', it should work.
Sure enough, index.php, my copy and paste job from the install was off, all I pasted in was
"// Shoutbox Latest Shouts
// Shoutbox hack by squall14716
Left out the rest, haha. Thanks for the advice though.
when I do that i get this:
Warning: main(./global.php): failed to open stream: No such file or directory in /home/nurses/public_html/forum/admincp/install_shoutbox.php on line 23
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nurses/public_html/forum/admincp/install_shoutbox.php on line 23
// ----------------------------------------------------------
// ### END PLUGIN USERGROUP PERMISSIONS BITFIELDS HERE ###
// now take all the usergroup bitfields and define constants for spot permission checks
foreach($_BITFIELD['usergroup'] AS $_permgroup)
{
foreach($_permgroup AS $_constname => $_constval)
{
define(strtoupper($_constname), $_constval);
}
}
unset($_constname, $_constval, $_permgroup);
i attached a picture of what the shoutbox looks like on my page... would you happen to know what went wrong?
it works when i turn i-frame off though... if its alot of work ill just leave iframe off but i would prefer to turn it on so if its not hard to fix then please tell me how
Thanks alot!
when I do that i get this:
Warning: main(./global.php): failed to open stream: No such file or directory in /home/nurses/public_html/forum/admincp/install_shoutbox.php on line 23
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nurses/public_html/forum/admincp/install_shoutbox.php on line 23
any suggestions?
That error indicates that global.php in the admincp directory doesn't exist!?! Did you happen to rename your admin folder?
// ----------------------------------------------------------
// ### END PLUGIN USERGROUP PERMISSIONS BITFIELDS HERE ###
// now take all the usergroup bitfields and define constants for spot permission checks
foreach($_BITFIELD['usergroup'] AS $_permgroup)
{
foreach($_permgroup AS $_constname => $_constval)
{
define(strtoupper($_constname), $_constval);
}
}
unset($_constname, $_constval, $_permgroup);
i attached a picture of what the shoutbox looks like on my page... would you happen to know what went wrong?
it works when i turn i-frame off though... if its alot of work ill just leave iframe off but i would prefer to turn it on so if its not hard to fix then please tell me how
Thanks alot!
Make sure your shoutbox_iframe_shoutbit template exists
Will be installing this I just wondered how I uninstall this if I need to I'd really appreciate it if someone could give me some instructions before I do install thanks