images in front of the text

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

images in front of the text

Post by rammstein »

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: 1108
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: images in front of the text

Post by kasimi »

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
Posts: 14
Joined: 09 Dec 2016, 13:20

Re: images in front of the text

Post by delv »

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: 1108
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: images in front of the text

Post by kasimi »

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
Posts: 55
Joined: 13 Jan 2018, 01:11

Re: images in front of the text

Post by rammstein »

hello I have to install the BBCODE but I can not get you can explain how we do
User avatar
kasimi
mChat developer
Posts: 1108
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: images in front of the text

Post by kasimi »

rammstein
Posts: 55
Joined: 13 Jan 2018, 01:11

Re: images in front of the text

Post by rammstein »

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: 1108
Joined: 06 Oct 2016, 09:56
Location: Germany

Re: images in front of the text

Post by kasimi »

Rooms version 1.2.6 added support for BBCodes in room names.
User avatar
delv
Posts: 14
Joined: 09 Dec 2016, 13:20

Re: images in front of the text

Post by delv »

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
Posts: 55
Joined: 13 Jan 2018, 01:11

Re: images in front of the text

Post by rammstein »

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

Who is online

Users browsing this forum: CCBot [Bot] and 0 guests