[HowTo] White icons for dark styles

Support area for phpBB's mChat extension
Post Reply
User avatar
kasimi
mChat developer
Posts: 775
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

[HowTo] White icons for dark styles

#1

Post by kasimi » 14 Nov 2016, 22:28

Since mChat 2.0.0-RC6 there is an easy way to change the icons in your messages from black to white. mChat supports a few black styles where the icons are white already. If you use a style where they are not, follow these simple steps:

  • Create the following folder structure if it doesn't already exist:
    [board root]/ext/dmzx/mchat/styles/[your style name here]/template/event
  • Inside this event folder create en empty file dmzx_mchat_messages_define_icons.html
  • Add this code to the file:

    Code: Select all

    <!-- DEFINE $MCHAT_USE_WHITE_MESSAGE_ICONS = TRUE -->
  • Save the file and refresh your board cache.
Please post the name of your style here so that the next mChat release can come with this fix included. :+1:

nastyknight
Posts: 3
Joined: 14 Nov 2016, 08:16

Re: [HowTo] White icons for dark styles

#2

Post by nastyknight » 15 Nov 2016, 07:14

Again thanks for the fix working great now on my dark style.

Style:- ne-blackgreen

User avatar
andares
Donor
Posts: 8
Joined: 30 Dec 2016, 17:22
Location: Barcelona (Spain)

Re: [HowTo] White icons for dark styles

#3

Post by andares » 30 Dec 2016, 17:36

Congratulations kasimi for CDB :+1:

Applied the fix in these dark styles and in others that aren't but it looks better:

360Elite
Black_Star
blue_lagoon
Blue-Night
Brown
bubbleogd
conan
Cynthia
dark_vision
digi
DVGFX
honour
lucid_lime
ongraydark
ongraydark_footballact
proDVGFX
Rainbow-AOP
redpassionogd

User avatar
kasimi
mChat developer
Posts: 775
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: [HowTo] White icons for dark styles

#4

Post by kasimi » 30 Dec 2016, 21:49

That's an impressive list, thanks. I will check them all. :+1:

User avatar
kasimi
mChat developer
Posts: 775
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: [HowTo] White icons for dark styles

#5

Post by kasimi » 09 Jan 2017, 17:23

andares wrote:Applied the fix in these dark styles and in others that aren't but it looks better
The next mChat version will have white icons for all styles you listed except for dark_vision, I can't find a working download link for that one.

Thanks again andares for the long list. :+1:

User avatar
andares
Donor
Posts: 8
Joined: 30 Dec 2016, 17:22
Location: Barcelona (Spain)

Re: [HowTo] White icons for dark styles

#6

Post by andares » 11 Jan 2017, 19:26

You're welcome kasimi, I started using mchat with 3.0 and I am happy to see that its development continues even with 3.1 & 3.2 :+1:

Dark vision is available here:

http://reyno41.bplaced.net/phpbb/viewto ... f=32&t=118

User avatar
kasimi
mChat developer
Posts: 775
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: [HowTo] White icons for dark styles

#7

Post by kasimi » 11 Jan 2017, 22:48

I think it was the same board I tried to download it from yesterday but it always timed out. Now it works, all added. :+1:

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest