images in front of the text

Chat rooms for mChat with optional password protection and 1-on-1 chats
rammstein
Donor
Posts: 53
Joined: 13 Jan 2018, 01:11

images in front of the text

#1

Post by rammstein » 20 Mar 2019, 17:47

hello kasimi
I have two questions to ask you?
question 1) how can we put the fa icon in front of the text lobby and Jukebox like at home?
question 2) it would be possible to one can dismiss the icon enter lili and the padlock
I thank you ahead
mchat.PNG
You do not have the required permissions to view the files attached to this post.

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

Re: images in front of the text

#2

Post by kasimi » 21 Mar 2019, 11:35

Hi rammstein :wave:
  1. It's this BBCode: https://www.phpbb.com/customise/db/bbco ... me_bbcode/
  2. Add this CSS:

    Code: Select all

    - This code is only accessible to donors -

User avatar
delv
Donor
Posts: 14
Joined: 09 Dec 2016, 13:20

Re: images in front of the text

#3

Post by delv » 21 Mar 2019, 14:27

Nice addition. This works perfect :+1:
But there is one problem. When you afterwards select rooms (for example to invite users) the rooms are named:
coffee Lobby
user-secret Team
instead of:
Lobby
Team

Can this be solved?

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

Re: images in front of the text

#4

Post by kasimi » 21 Mar 2019, 14:31

I understand what you mean. For some BBCodes you want their content to be retained ([b]BOLD[/b] room name should become BOLD room name in the invite dialog) and for others you want it removed ([fa]icon[/fa] Room name should become Room name).

At the moment I can't think of a solution. :|

rammstein
Donor
Posts: 53
Joined: 13 Jan 2018, 01:11

Re: images in front of the text

#5

Post by rammstein » 21 Mar 2019, 15:38

hello I have to install the BBCODE but I can not get you can explain how we do

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

Re: images in front of the text

#6

Post by kasimi » 21 Mar 2019, 15:42


rammstein
Donor
Posts: 53
Joined: 13 Jan 2018, 01:11

Re: images in front of the text

#7

Post by rammstein » 21 Mar 2019, 16:43

ok I understand very well for the message in the chat but I would like to put the icon in the chatroon just next to the title as we can see here on Mchat back
Capture.PNG
You do not have the required permissions to view the files attached to this post.

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

Re: images in front of the text

#8

Post by kasimi » 21 Mar 2019, 21:44

Rooms version 1.2.6 added support for BBCodes in room names.

User avatar
delv
Donor
Posts: 14
Joined: 09 Dec 2016, 13:20

Re: images in front of the text

#9

Post by delv » 22 Mar 2019, 09:02

kasimi wrote:
21 Mar 2019, 14:31
I understand what you mean. For some BBCodes you want their content to be retained ([b]BOLD[/b] room name should become BOLD room name in the invite dialog) and for others you want it removed ([fa]icon[/fa] Room name should become Room name).

At the moment I can't think of a solution. :|
Perhaps by adding a extra separated field (Room icon) where you can ad a Font Awesome icon in, like in the pages extension?
Font-Awesome-icons.jpg
The BBCodes can be used further in the existing field Room Name.
You do not have the required permissions to view the files attached to this post.

rammstein
Donor
Posts: 53
Joined: 13 Jan 2018, 01:11

Re: images in front of the text

#10

Post by rammstein » 22 Mar 2019, 09:35

kasimi wrote:
21 Mar 2019, 21:44
Rooms version 1.2.6 added support for BBCodes in room names.
thank you kasimi it's good I was still in version 1.2.5 after installing version 1.2.8 now it still works thank you

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest