[MODDB] Change username color - phpBB mChat (add-on)

Modifications maintained and supported by all4phone
Forum rules
This forum is moderated by all4phone!
User avatar
all4phone
BBCoder IV
BBCoder IV
Posts: 150
Joined: 11 Feb 2011, 13:50
BBCodes: 28
Favourite BBCode: Random text signature
Favourite MOD: BBCode Strikethrough MOD
Location: Poland
Contact:

[MODDB] Change username color - phpBB mChat (add-on)

Post by all4phone »

Modification Name: Change username color - phpBB mChat (add-on)
Author: all4phone

Modification Description: Addon for phpbb mChat, allow to change the color of username mChat only.

Requirements: phpBB mChat have to be installed (RMcGirr83 version)

Author notes: Why change the color of mChat username? Sometimes people change the background of mChat on where the username is not visible. Why? I don't know. So was made this add-on (request on this board).

IMPORTANT
This mod is't validated, so as always do not install on a live board.

Modification Version: 1.0.2
Installation level: Easy
Installation time: ~2 minutes

Features:
  • possibility to change color of mChat username (registered only)
  • possibility to change color of mChat username (administrators and moderators also)
  • possibility to set any color of mChat username (ACP)
  • color of usernames on the board remains unchanged
Available languages:
  • english
  • polish
Available styles:
  • prosilver
Info:
Image
Image

Screenshots: screenshots
Demo: N/A
Modification Download: download
User avatar
all4phone
BBCoder IV
BBCoder IV
Posts: 150
Joined: 11 Feb 2011, 13:50
BBCodes: 28
Favourite BBCode: Random text signature
Favourite MOD: BBCode Strikethrough MOD
Location: Poland
Contact:

[RC] Change username color - phpBB mChat (add-on)

Post by all4phone »

Mod updated to v 1.0.1

Fixed: display problem when is no active display avatars function on mChat
(ACP->.MODs->Configuration mChat->Message Settings->Display avatars->No):
DznNQTY.png
To fix problem without reinstall add-on:
Open: styles/prosilver/mchat_no_avatars.thml
Find This may be a partial find and not the whole line

Code: Select all

<span style="float:left;"><!-- IF not MCHAT_ARCHIVE_MODE and MCHAT_ADD_MESSAGE -->
Add before Add these lines on a new blank line before the preceding line(s) to find

Code: Select all

<div id="mess{mchatrow.MCHAT_MESSAGE_ID}" class="mChatBG{mchatrow.MCHAT_CLASS} mChatHover">
Find This may be a partial find and not the whole line

Code: Select all

<input type="hidden" id="edit{mchatrow.MCHAT_MESSAGE_ID}" value="{mchatrow.MCHAT_MESSAGE_EDIT}" /><!-- IF mchatrow.MCHAT_ALLOW_DEL --> <a href="javascript://" onclick="mChat.del('{mchatrow.MCHAT_MESSAGE_ID}');"><img src="{ROOT_PATH}mchat/del.gif" alt="{L_MCHAT_DELITE}" title="{L_MCHAT_DELITE}" class="mChatImage" /></a><!-- ENDIF --></span>
Add after Add these lines on a new blank line after the preceding line(s) to find

Code: Select all

<br /><div class="mChatMessage">{mchatrow.MCHAT_MESSAGE}</div></div>
New download
User avatar
all4phone
BBCoder IV
BBCoder IV
Posts: 150
Joined: 11 Feb 2011, 13:50
BBCodes: 28
Favourite BBCode: Random text signature
Favourite MOD: BBCode Strikethrough MOD
Location: Poland
Contact:

[RC] Change username color - phpBB mChat (add-on)

Post by all4phone »

Add-on updated to v 1.0.1a

Fixed: restored accidentally removed (by mod) moderation tool of the Mchat (edit/delete/whois IP) in the mchat_no_avatars.html file.

download
User avatar
all4phone
BBCoder IV
BBCoder IV
Posts: 150
Joined: 11 Feb 2011, 13:50
BBCodes: 28
Favourite BBCode: Random text signature
Favourite MOD: BBCode Strikethrough MOD
Location: Poland
Contact:

[MODDB] Change username color - phpBB mChat (add-on)

Post by all4phone »

MOD has been released to the MOD Database.
alexjoseph
BBCoder I
BBCoder I
Posts: 3
Joined: 13 Feb 2014, 14:38
BBCodes: 1

[MODDB] Change username color - phpBB mChat (add-on)

Post by alexjoseph »

Its showing in MOD database or not..?
User avatar
all4phone
BBCoder IV
BBCoder IV
Posts: 150
Joined: 11 Feb 2011, 13:50
BBCodes: 28
Favourite BBCode: Random text signature
Favourite MOD: BBCode Strikethrough MOD
Location: Poland
Contact:

[MODDB] Change username color - phpBB mChat (add-on)

Post by all4phone »

Thanks RMcGirr83.
@alexjoseph, I confirm what he wrote:

Version mod - 1.0.2
phpBB Version - 3.0.12
lisalii
BBCoder II
BBCoder II
Posts: 5
Joined: 02 Sep 2014, 17:22
BBCodes: 2

[MODDB] Change username color - phpBB mChat (add-on)

Post by lisalii »

Sounds interesting. I am pretty new to programming so I am interesting in implementing such feature in my website http://www.gluecksspielschule.de/. I would appreciate if you could have a look at it and tell me how I can implement this feature. This is my website. I would love to build a forum for my website so I still have to figure out how this all works. Would appreciate your feedback. And please be honest. Thanks already in advance!! :)
Last edited by lisalii on 04 Sep 2014, 21:54, edited 1 time in total.
User avatar
all4phone
BBCoder IV
BBCoder IV
Posts: 150
Joined: 11 Feb 2011, 13:50
BBCodes: 28
Favourite BBCode: Random text signature
Favourite MOD: BBCode Strikethrough MOD
Location: Poland
Contact:

[MODDB] Change username color - phpBB mChat (add-on)

Post by all4phone »

So, phpBB mChat have to be installed, is required (RMcGirr83 version).
If you really need these options (offered by my addon) just install it in such a way as typically installed other mods (by AutoMod or manually - read install_mod.xml file in your borwser).
lisalii
BBCoder II
BBCoder II
Posts: 5
Joined: 02 Sep 2014, 17:22
BBCodes: 2

[MODDB] Change username color - phpBB mChat (add-on)

Post by lisalii »

Thanks for your help, will try it out!
Locked