phpBB mChat

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: mChat new version

Post by RMcGirr83 » Fri May 07, 2010 10:13 pm

You can try this which should display a message in the chat

OPEN

mchat.php

FIND

Code: Select all

				// Run cleaner
				$sql = 'TRUNCATE TABLE ' . MCHAT_TABLE;
				$db->sql_query($sql);
AFTER ADD

Code: Select all

				$message = 'Messages have been pruned';
				
				// Add function part code from http://wiki.phpbb.com/Parsing_text
				$uid = $bitfield = $options = ''; // will be modified by generate_text_for_storage
				generate_text_for_storage($message, $uid, $bitfield, $options, $mchat_allow_bbcode, $mchat_urls, $mchat_smilies);				

				// message stating who cleared chat
				$sql_ary = array(	
					'user_id'			=> $user->data['user_id'],
					'user_ip'			=> $user->data['session_ip'],
					'message' 			=> $message,
					'bbcode_bitfield'	=> $bitfield,
					'bbcode_uid'		=> $uid,
					'bbcode_options'	=> $options,
					'message_time'		=> time()
				);
				$sql = 'INSERT INTO ' . MCHAT_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary);
				$db->sql_query($sql);
I haven't tested it though so user beware. Make a backup of your file first. ;)

[EDIT]Removed forum_id and post_id[/EDIT]
Last edited by RMcGirr83 on Fri May 07, 2010 10:37 pm, edited 1 time in total.
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

Dragoth
Registered User
Posts: 52
Joined: Mon May 04, 2009 3:30 pm

Re: mChat new version

Post by Dragoth » Fri May 07, 2010 10:18 pm

Code: Select all

General Error
SQL ERROR [ mysql4 ]

Unknown column 'forum_id' in 'field list' [1054]

SQL

INSERT INTO phpbb_mchat (forum_id, post_id, user_id, user_ip, message, bbcode_bitfield, bbcode_uid, bbcode_options, message_time) VALUES (0, 0, '2', '99.108.180.160', 'Messages have been pruned', '', '', 7, 1273270646)

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: mchat.php
LINE: 149
CALL: dbal_mysql->sql_query()
thats what come up when you clear chat

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

Re: mChat new version

Post by RMcGirr83 » Fri May 07, 2010 10:36 pm

Remove these two entries.

Code: Select all

              'forum_id'          => 0,
               'post_id'         => 0,      
the forum_id and post_id are for the new topic add-on.
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

Dragoth
Registered User
Posts: 52
Joined: Mon May 04, 2009 3:30 pm

Re: mChat new version

Post by Dragoth » Fri May 07, 2010 10:41 pm

alright RMcGirr83 you rock it work perfect

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

Re: mChat new version

Post by RMcGirr83 » Fri May 07, 2010 10:48 pm

:D
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

Patriotqube
Registered User
Posts: 6
Joined: Sat May 08, 2010 12:25 am
Location: Denmark
Name: Carsten Kabel

Re: mChat new version

Post by Patriotqube » Sat May 08, 2010 12:36 am

Hey

i just installed your mchat mod and it seems to work nicely

thx :)

i do have a small question tho
im using customstyles and it seems to me that the mchatbody is prosilver, is there a way to make it blend better in to my style?

link --> http://et.qubenet.net/index.php

also im not sure what it is but when i tries to admin my users now i get this error

Code: Select all

Parse error: syntax error, unexpected ';', expecting ')' in /opt/games/et.qubenet.net/forum/includes/acp/acp_users.php on line 1524
but i didnt touch that file so im like lost.
hope someone can help

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25227
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: phpBB mChat

Post by Paul » Mon Dec 06, 2010 10:19 am

MOD Updated to version 1.3.4
See first post for Download Link
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25227
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: phpBB mChat

Post by Paul » Sat Feb 26, 2011 9:10 pm

MOD Updated to version 1.3.5
See first post for Download Link
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5390
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: phpBB mChat

Post by Marc » Thu Oct 24, 2013 7:38 am

MOD Updated to version 1.3.6
See first post for Download Link

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17027
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: phpBB mChat

Post by DavidIQ » Sun Dec 29, 2013 2:46 am

MOD Updated to version 1.3.7
See first post for Download Link
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5390
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: phpBB mChat

Post by Marc » Tue Mar 11, 2014 10:17 pm

MOD Updated to version 1.3.8
See first post for Download Link

Locked

Return to “[3.0.x] MOD Database Releases”