replace or add new block shoutbox_block.php
// TorrentTrader 2.6
//
// Created by michaelpanic
//
// This file was last updated: august 9 2010
//
//
if ($site_config['SHOUTBOX']){
begin_block("Shoutbox");
//if the user is logged in, show the shoutbox, if not, dont.
if(!isset($_GET['history'])) {
if (isset($CURUSER)){
?>
<script language=javascript>
function SmileIT(smile,form,text){
document.forms[form].elements[text].value = document.forms[form].elements[text].value+" "+smile+" ";
}
</script>
<iframe src='shoutbox.php' width='100%' height='290' frameborder='0' name='sbox' marginwidth='0' marginheight='0'></iframe><br><br>
<?
}else{
echo "<br /><div class='shoutbox_error'>You must login to shout.</div>";
}
}
}//END IF $SHOUTBOX
end_block();
?>
[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=4155"]shoutbox.php[/url]
<?// TorrentTrader 2.6
//
// Created by michaelpanic
//
// This file was last updated: august 9 2010
//
//
if ($site_config['SHOUTBOX']){
begin_block("Shoutbox");
//if the user is logged in, show the shoutbox, if not, dont.
if(!isset($_GET['history'])) {
if (isset($CURUSER)){
?>
<script language=javascript>
function SmileIT(smile,form,text){
document.forms[form].elements[text].value = document.forms[form].elements[text].value+" "+smile+" ";
}
</script>
<iframe src='shoutbox.php' width='100%' height='290' frameborder='0' name='sbox' marginwidth='0' marginheight='0'></iframe><br><br>
<?
}else{
echo "<br /><div class='shoutbox_error'>You must login to shout.</div>";
}
}
}//END IF $SHOUTBOX
end_block();
?>
[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=4155"]shoutbox.php[/url]