[RC] mChat New version

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
megaw
Registered User
Posts: 145
Joined: Wed Mar 31, 2004 3:07 am

Re: [RC] mChat New version

Post by megaw »

djs596 wrote:There is a Who's chatting? on mchat.php :)
Is there one? How come I dont see it?

User avatar
Hippie459MN
Registered User
Posts: 929
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

Re: [RC] mChat New version

Post by Hippie459MN »

Awsome guys! Glad to see this taken over. Time to update to the new version here. :D

autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: [RC] mChat New version

Post by autinhyeu »

Thanks for new version ;)
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] mChat New version

Post by RMcGirr83 »

megaw wrote:
djs596 wrote:There is a Who's chatting? on mchat.php :)
Is there one? How come I dont see it?
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.

Admins have a lot more control over the chat now.

Someone using it inappropriately? Simple, enter the ACP, go to the users permission for the mchat (it has it's own tab in the permissions section) and set "can view and can use the mchat" to "never" then they won't be able to use it nor see it. If you wanted to torment them, set it to "never" on "can use", that way they can still see it but can't post in it. It will drive them absolutely nuts, guaranteed. ;)

PS there may still be a few "features" (aka my version of "bugs") but they will get sorted out in due time...just need people to test it out as we can't possibly test every scenario that may occur.

Also, I think this important, once the settings are made in the config entries for the chat they are cached and as they can only be set in the ACP, they are cached for one year's time...bascially a "set it and forget it" thing. That way there are no additional queries/sql load on the server. If the settings are changed in the ACP, then the cache is destroyed and is rebuilt when someone visits the index.php page, the custom chat page or the archive page of the mod. Just an FYI. :)
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

megaw
Registered User
Posts: 145
Joined: Wed Mar 31, 2004 3:07 am

Re: [RC] mChat New version

Post by megaw »

Nice.. thank you.

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] mChat New version

Post by stokerpiller »

Bug found
Open mchat/mchat_ajax_mini.js
Find

Code: Select all

 @copyright (c) djs596 ( http://djs596.com/ ), (c) RMcGirr83 ( http://www.rmcgirr83.org/ ), (c) Stokerpiller ( http://www.phpbb3bbcodes.com/ )
Replace with:

Code: Select all

* @copyright (c) djs596 ( http://djs596.com/ ), (c) RMcGirr83 ( http://www.rmcgirr83.org/ ), (c) Stokerpiller ( http://www.phpbb3bbcodes.com/ )
Download is updated with this fix.
I am done with phpBB

megaw
Registered User
Posts: 145
Joined: Wed Mar 31, 2004 3:07 am

Re: [RC] mChat New version

Post by megaw »

This version is so much better. Thanks. :)

User avatar
NiceM
Registered User
Posts: 572
Joined: Sat Jul 30, 2005 9:25 am
Location: Denmark
Contact:

Re: [RC] mChat New version

Post by NiceM »

Thanks for taking ower, i don't know why someone would like a whos chatting, it's a shoutbox not a chat. ;)
Download games for phpbb-Arcade at:
origon.dk

User avatar
Ahri89
Registered User
Posts: 520
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: [RC] mChat New version

Post by Ahri89 »

Author: RMcGirr83, Djs596 & Stokerpiller
:O This is great :P

Thanks!!!
MODs translated to Spanish: ACP Add User MOD, ACP Announcement Centre, Advertisement Management, Custom Profile Fields, Update Reminder, Flood time setting per forum, MOD Version Check, Posting template, Prune Log, Simple Trash Bin, TinyPic Plugin, User Reminder, View Profile, View your topics, and more...

Sorry for my bad english xD

joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: [RC] mChat New version

Post by joebart72 »

First thank for this mod :D 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 ?
I learn English with phpbb.com :)

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [RC] Mchat New version

Post by RMcGirr83 »

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.
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 ?
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).
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?
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.

I am leaning towards just retaining the permissions way. ;)
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] mChat New version

Post by stokerpiller »

Bugfix for BBCodes not working with IE8

Open: styles/xxx/template/editor.js
Find:

Code: Select all

		for (sel_start = 0; range_all.compareEndPoints('StartToStart', range) < 0; sel_start++)
Before add:

Code: Select all

try
		{
Find:

Code: Select all

		caretPos.end = txtarea.sel_start;
After add:

Code: Select all

}
		catch(e)
		{
		}
SVN updated. Fix will be included in next version.
Which means you will have to do it your self for now.
I am done with phpBB

fasko
Registered User
Posts: 185
Joined: Wed Jan 28, 2009 9:49 am

Re: [RC] mChat New version

Post by fasko »

THANKS Nice :D :D

Add font color palete

Image

Image

open mchat_body.html
find

Code: Select all

<!-- IF MCHAT_ALLOW_SMILES -->
add bofer

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>
find

Code: Select all

<!-- IF MCHAT_READ_ARCHIVE_BUTTON -->
add bofer

Code: Select all

<input type="button" class="mChatButton" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
open language/en/mods/mchat_lang
find

Code: Select all

'MCHAT_BBCODES' => 'BBCode',
add after

Code: Select all

'FONT_COLOR' => 'Font Color',
  'FONT_COLOR_HIDE' => 'Hide Font Color',
find

Code: Select all

));
?>
add bofer

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
',
'BBCODE_E_HELP' => 'List: Add list element',
'BBCODE_F_HELP' => 'Font size: small text',
'BBCODE_IS_OFF' => '%sBBCode%s is <em>OFF</em>',
'BBCODE_IS_ON' => '%sBBCode%s is <em>ON</em>',
'BBCODE_I_HELP' => 'Italic text: text',
'BBCODE_L_HELP' => 'List:
  • text
',
'BBCODE_LISTITEM_HELP' => 'List item: [*]text[/*]',
'BBCODE_O_HELP' => 'Ordered list:
  • text
',
'BBCODE_P_HELP' => 'Insert image: [img]http://image_url[/img]',
'BBCODE_Q_HELP' => 'Quote text: [quote]text[/quote]',
'BBCODE_S_HELP' => 'Farba písma: text Tip: môžete použiť aj farbu=#FF0000',
'BBCODE_U_HELP' => 'Underline text: text',
'BBCODE_W_HELP' => 'Insert URL: http://url or URL text',
'BBCODE_D_HELP' => 'Flash: [flash=width,height]http://url[/flash]'[/code]
Last edited by fasko on Tue Sep 22, 2009 8:14 pm, edited 1 time in total.
Sorry for my english

lovelysummer
Registered User
Posts: 437
Joined: Fri Mar 20, 2009 1:49 pm

Re: [RC] mChat New version

Post by lovelysummer »

I have installed this new version mchat. It works very nice. Wonderful ! Authors of this version are all very helpful and nice. :D

User avatar
ameisez
Registered User
Posts: 1166
Joined: Sun Nov 04, 2007 7:04 am

Re: [RC] mChat New version

Post by ameisez »

Looks nice...

Is the delete button (deleting message in the chatbox) really working in the sense that the message is being removed on every users' windows?

Because the common problem in the phpbb chat i've used was when the admin deletes a message, it is only deleted on his screen but not to others. For me, actually, it is more sensible if it will be the other way around, when delete button is pressed, it will be deleted on others windows but now on the db so that admin still have copies of deleted messages. However, Im not a programmer and Im not sure if it is possible :)

and if I may suggest, it would great if the user can have an option to receive alerts when a message is post in the chat box. an option could be a choice of...

sound alert | blinking taskbar | small temporary pop up | move window on top of all windows | none

I hope I am making sense here :oops:
PHPBB on HOSTGATOR SERVER. MY PERSONAL CHOICE ;)
Need phpBB images and buttons? HIRE ME
my MOD: BB3 Media Player | a phpbb based media player

Locked

Return to “[3.0.x] MODs in Development”