in shoutbox i can't view
Code:
function show_shoutbox_commands ()
{
echo '
<table class=main border=0 cellspacing=0 cellpadding=0 width=100%><tr><td class=embedded>
<table width=100% border=1 cellspacing=0 cellpadding=10>
<table class="none" border="0" cellpadding="4" cellspacing="1" width="100%">
<tr>
<td class="thead" colspan="10" align="center"><font color=#FF0000>SHOUTBOX COMMANDS - USE THE COPY AND PASTE FUNCTION TO COPY COMMAND INTO SHOUTBOX</a></font></td>
</tr>
<tr>
<td align="center">Prune delets all text within the shoutbox with no chance of recover. Use wisely. To use type /prune</td></td>
<td align="center">Pruneshout will delete a single word throughout the shout or a group of words. See Example #1 Below. </td>
<td align="center">Shouts a notice to all users within the shoutbox. To use type [/notice your text here without the brackets]</td>
<td align="center">Ban will ban a user from the shoutbox till you unban them. To use type /ban [username here without the brackets]</td>
<td align="center">Unban will unban a user from the shoutbox giving them access to shout again. To use type /unban [username here without the brackets]</td>
</tr>
<tr>
<td align="center"><input type="text" size="20" value="/prune"></td>
<td align="center"><input type="text" size="20" value="/pruneshout"></td>
<td align="center"><input type="text" size="20" value="/notice"></td>
<td align="center"><input type="text" size="20" value="/ban"></td>
<td align="center"><input type="text" size="20" value="/unban"></td>
</tr>
<tr>
<td align="center">Warn will give a user a warning for not following the rules of the shoutbox. To use type /warn [username here without the brackets]</td></td>
<td align="center">Unwarn will remove a user a warning allowing them to use the shoutbox again. To use type /unwarn [username here without the brackets]</td>
<td align="center">Status show the details of the user within the shoutbox. To use type /status [username here without the brackets]</td>
<td align="center">Pruneshout will delete a single word. To use type [/pruneshout hello] which will delete the word hello throughout the shoutbox</td>
<td align="center">Pruneshout will delete a phrase of words. To use type [/pruneshout hello how is everyone] which will delete the phrase "hello how is everyone" from the shoutbox</td>
</tr>
<tr>
<td align="center"><input type="text" size="20" value="/warn"></td>
<td align="center"><input type="text" size="20" value="/unwarn"></td>
<td align="center"><input type="text" size="20" value="/status"></td>
<td align="center"><input type="text" size="20" value="example#1"></td>
<td align="center"><input type="text" size="20" value="example#2"></td>
</tr>
</table>
';
}
the function that allow owners to view the shoutbox commands
some one can fix this problem?
Meanwhile I did so:
create the file : shoutbox_commands.php
and add this
Code:
<table class=main border=0 cellspacing=0 cellpadding=0 width=100%><tr><td class=embedded>
<table width=100% border=1 cellspacing=0 cellpadding=10>
<table class="none" border="0" cellpadding="4" cellspacing="1" width="100%">
<tr>
<td class="thead" colspan="10" align="center"><font color=#FF0000>SHOUTBOX COMMANDS - USE THE COPY AND PASTE FUNCTION TO COPY COMMAND INTO SHOUTBOX</font></td>
</tr>
<tr>
<td align="center">Prune delets all text within the shoutbox with no chance of recover. Use wisely. To use type /prune</td></td>
<td align="center">Pruneshout will delete a single word throughout the shout or a group of words. See Example #1 Below. </td>
<td align="center">Shouts a notice to all users within the shoutbox. To use type [/notice your text here without the brackets]</td>
<td align="center">Ban will ban a user from the shoutbox till you unban them. To use type /ban [username here without the brackets]</td>
<td align="center">Unban will unban a user from the shoutbox giving them access to shout again. To use type /unban [username here without the brackets]</td>
</tr>
<tr>
<td align="center"><input type="text" size="20" value="/prune"></td>
<td align="center"><input type="text" size="20" value="/pruneshout"></td>
<td align="center"><input type="text" size="20" value="/notice"></td>
<td align="center"><input type="text" size="20" value="/ban"></td>
<td align="center"><input type="text" size="20" value="/unban"></td>
</tr>
<tr>
<td align="center">Warn will give a user a warning for not following the rules of the shoutbox. To use type /warn [username here without the brackets]</td></td>
<td align="center">Unwarn will remove a user a warning allowing them to use the shoutbox again. To use type /unwarn [username here without the brackets]</td>
<td align="center">Status show the details of the user within the shoutbox. To use type /status [username here without the brackets]</td>
<td align="center">Pruneshout will delete a single word. To use type [/pruneshout hello] which will delete the word hello throughout the shoutbox</td>
<td align="center">Pruneshout will delete a phrase of words. To use type [/pruneshout hello how is everyone] which will delete the phrase "hello how is everyone" from the shoutbox</td>
</tr>
<tr>
<td align="center"><input type="text" size="20" value="/warn"></td>
<td align="center"><input type="text" size="20" value="/unwarn"></td>
<td align="center"><input type="text" size="20" value="/status"></td>
<td align="center"><input type="text" size="20" value="example#1"></td>
<td align="center"><input type="text" size="20" value="example#2"></td>
</tr>
</table>
and upload in your ts directory
than in your ts setting pannel create the plugin :
Code:
<font color=#FF0000>SHOUTBOX
and add
Code:
<CENTER><a href="" onclick="javascript:open('/shoutbox_commands.php', 'SHOUTBOX COMMANDS','width=450,height=455,scrollbars=yes,menubar=no,top=100,left=100');">
<font color=#FF0000>SHOUTBOX COMMANDS - USE THE COPY AND PASTE FUNCTION TO COPY COMMAND INTO SHOUTBOX</font></A></CENTER>
it isn't so cool but it works :)