Is there one? How come I dont see it?djs596 wrote:There is a Who's chatting? on mchat.php
Is there one? How come I dont see it?djs596 wrote:There is a Who's chatting? on mchat.php
The mchat.php page that djs is referring to is the "custom page" that is displayed when clicking on the link in overall header (up by the "FAQ" link). As far as the "who is chatting" on the side I, for one, never liked that especially as hidden users didn't remain hidden. I also think it unnecessary but that's just my opinion on it.megaw wrote:Is there one? How come I dont see it?djs596 wrote:There is a Who's chatting? on mchat.php
Code: Select all
@copyright (c) djs596 ( http://djs596.com/ ), (c) RMcGirr83 ( http://www.rmcgirr83.org/ ), (c) Stokerpiller ( http://www.phpbb3bbcodes.com/ )
Code: Select all
* @copyright (c) djs596 ( http://djs596.com/ ), (c) RMcGirr83 ( http://www.rmcgirr83.org/ ), (c) Stokerpiller ( http://www.phpbb3bbcodes.com/ )
:O This is greatAuthor: RMcGirr83, Djs596 & Stokerpiller
Ashley.S. wrote:Don't know if your planning on adding this feature or not, but are you intending to include a pruning feature of some kind? be it a click of a button in the ACP or a automatic prune setting after x days to keep your database nice and clean.
I have been considering adding this...but by which. Number of days or message count? I can see problems with both types (no messages showing after so many days or a number).joebart72 wrote:Would it be possible to add in CPA an auto purge for mchat, with number of messages to keep in archive ? Others would be deleted ?
Could add a link to take the user, if correctly authed, directly to the users permissions tab in the ACP I suppose...other than that I really can't think of another way to do it without adding an additional table in the database, which then means an additional query on the forum which then means more stuff in the ACP which then means more coding.Also, I see that it's fully permission controlled, but to save settings what about a quick banning feature being added? so you can ban certain users who abuse the chat without fiddling with their permissions?
Code: Select all
for (sel_start = 0; range_all.compareEndPoints('StartToStart', range) < 0; sel_start++)
Code: Select all
try
{
Code: Select all
caretPos.end = txtarea.sel_start;
Code: Select all
}
catch(e)
{
}
Code: Select all
<!-- IF MCHAT_ALLOW_SMILES -->
Code: Select all
<div id="colour_palette" style="display: none;">
<div align="center">{L_FONT_COLOR}:</div>
<DIV ALIGN=CENTER>
<table style="align:center" width="50%" cellspacing="0" cellpadding="0" border="0">
<tr style="align:center">
<td width="80" style="align:center" valign="top">
<script type="text/javascript">
// <![CDATA[
function change_palette()
{
dE('colour_palette');
e = document.getElementById('colour_palette');
if (e.style.display == 'block')
{
document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
}
else
{
document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
}
}
colorPalette('h', 15, 10);
// ]]>
</script>
</td>
</tr>
</table>
</DIV>
</div>
Code: Select all
<!-- IF MCHAT_READ_ARCHIVE_BUTTON -->
Code: Select all
<input type="button" class="mChatButton" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
Code: Select all
'MCHAT_BBCODES' => 'BBCode',
Code: Select all
'FONT_COLOR' => 'Font Color',
'FONT_COLOR_HIDE' => 'Hide Font Color',
Code: Select all
));
?>
Code: Select all
'BBCODE_A_HELP' => 'Inline uploaded attachment: [attachment=]filename.ext[/attachment]',
'BBCODE_B_HELP' => 'Bold text: [b]text[/b]',
'BBCODE_C_HELP' => 'Code display: [code]code