images in front of the text

Chat rooms for mChat with optional password protection and 1-on-1 chats
User avatar
kasimi
mChat developer
Posts: 1004
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: images in front of the text

#11

Post by kasimi » 22 Mar 2019, 13:36

I found an alternative solution. You can define your BBCode so that the FontAwesome identifier coffee is provided as an attribute and leave the content empty: instead of [fa]coffee[/fa] you use [fa=coffee][/fa].

Here's a BBCode definition that supports both versions. All your existing [fa]coffee[/fa] icons will keep working, and in addition you'll be to use [fa=coffee][/fa].

  • BBCode usage:

    Code: Select all

    - This code is only accessible to donors -
  • HTML replacement:

    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

#12

Post by delv » 22 Mar 2019, 13:54

Tested and working perfect :+1:
Thank you very much ;)

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

Re: images in front of the text

#13

Post by rammstein » 24 Mar 2019, 00:04

it would be possible to delete the word [fa] in Invite a user
Capture.PNG
You do not have the required permissions to view the files attached to this post.

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

Re: images in front of the text

#14

Post by kasimi » 24 Mar 2019, 10:15

Yes, I posted one way of getting rid of it in post #11. :+1:

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

Re: images in front of the text

#15

Post by rammstein » 24 Mar 2019, 11:51

hello kasimi
ok it's good again thanks to you your awesome :+1:

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests