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.
knight.rider69
Registered User
Posts: 177
Joined: Fri Aug 08, 2008 5:44 am

Re: mChat

Post by knight.rider69 » Fri Nov 20, 2009 11:07 pm

hi... i am using phpbb version 3.0.4
do i have to upgrade it to phpbb version 3.0.5 to use this mod ?

tsja
Registered User
Posts: 35
Joined: Sat Jul 22, 2006 10:58 pm

Re: mChat

Post by tsja » Mon Nov 23, 2009 7:14 pm

Adding a Chat Moderator Group

This will give a specific group the ability to edit and delete any messages in the chatbox, similar to how Admins have the ability by default. The first thing you will need to do is have a group ready to add these permissions to. You can either use a current group you already have, or create a new group if need be, the title of the group does not matter. Next you will need the groups id number. There are a number of ways to get it, one way is to go into your User Control Panel -> Usergroups, then put your mouse over the name of the desired group (don't click), look at the address that the link will take you to, the very last number (after the = sign) is that groups id. Remember that number. For example, if the address is http://runicportal.com/memberlist.php?mode=group&g=7, that groups id number is 7.
Note: This is based off of MphUnits Chat Permissions mod.

Open mchat.php
As always, make a backup before you proceed.

Find:

Code: Select all
$mchat_edit = (($mchat_allow_admin_edit && $auth->acl_get('a_')) || ($mchat_allow_moder_edit && $auth->acl_get('m_'))) ? true : false;
Add after, in a new blank line:

Code: Select all
if($user->data['group_id'] == 7)
{
$mchat_edit = true;
}
Note: Change the 7 to the id number of the group you are giving permissions to.


Find:

Code: Select all
$mchat_del = (($mchat_allow_admin_del && $auth->acl_get('a_')) || ($mchat_allow_moder_del && $auth->acl_get('m_'))) ? true : false;
Add after, on a new blank line:

Code: Select all
if($user->data['group_id'] == 7)
{
$mchat_del = true;
}
Note: Change the 7 to the id number of the group you are giving permissions to.
this won't work :(

anyone a solution???
sorry for my bad englisch...

User avatar
Boardtalk.net
Registered User
Posts: 1204
Joined: Fri Jun 05, 2009 8:12 pm
Location: Ireland
Name: Colette
Contact:

Re: mChat

Post by Boardtalk.net » Tue Nov 24, 2009 4:24 pm

knight.rider69 wrote:hi... i am using phpbb version 3.0.4
do i have to upgrade it to phpbb version 3.0.5 to use this mod ?
I've it working fine on a 3.0.0 board that I was using for testing, for some odd reason it didnt work right on a 3.0.5 but both forums were on different servers. If I were you, try it on a test forum that uses the same server as the site you want it on.

;)

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

Re: mChat

Post by Marc » Thu Oct 31, 2013 9:10 pm

MOD Updated to version 1.2.8
See first post for Download Link

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

Re: mChat

Post by Marc » Tue Dec 31, 2013 1:04 pm

MOD Updated to version 1.2.9
See first post for Download Link

Locked

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