IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Mon 10 Sep 2018, 10:48

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

» Numbering of messages in the topic
by SLGray Mon 04 Dec 2017, 22:40

Recent Tutorials
Top posting users this month
Who is online?
In total there are 3 users online :: 0 Registered, 0 Hidden and 3 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

Font Awesome

View previous topic View next topic Go down

avatar
SLGray
Valued Member
Gender : Male
Age : 45
Posts : 2465
Points : 5095
Reputation : 290
Location : United States
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : ModernBB
View user profile http://www.fmthemes.forumotion.com https://www.facebook.com/FM-Themes-655055824604957 https://twitter.com/FMThemes https://pinterest.com/FMThemes

PostSLGray on Tue 07 Feb 2017, 00:06

I have installed Font Awesome in my 2 forums and installed the Font Awesome button in the editor. Is there any way that it could get all the icons without you having to manually add the icon codes to the scripts?
avatar
Ange Tuteur
Administrator
Gender : Male
Age : 22
Posts : 4735
Points : 9948
Reputation : 2369
Location : Macungie, PA
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 07 Feb 2017, 11:19

Unfortunately no, the icons have to be updated manually. I did however, write a script that automatically compiles a list of the icons. See "How do I update the icon list ?" :
https://github.com/SethClydesdale/sceditor-fontawesome#how-do-i-update-the-icon-list-

Executing the script on the Font Awesome cheatsheet will return an Object or Array ( which is provided below ) of all the icons available. Here's the array :
Code:
var fa = ['','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','',''],
Just replace
Code:
var fa = [...],
with the code above. Wink

--------

Ange Tuteur
Tips and TricksContact Me

avatar
SLGray
Valued Member
Gender : Male
Age : 45
Posts : 2465
Points : 5095
Reputation : 290
Location : United States
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : ModernBB
View user profile http://www.fmthemes.forumotion.com https://www.facebook.com/FM-Themes-655055824604957 https://twitter.com/FMThemes https://pinterest.com/FMThemes

PostSLGray on Wed 08 Feb 2017, 19:45

Thanks. I figured that there was no a way.
avatar
Van-Helsing

Gender : Male
Age : 44
Posts : 853
Points : 2792
Reputation : 84
Location : Somewhere out there!
Language : English, Greek
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : punBB
View user profile http://itexperts.forumgreek.com/

PostVan-Helsing on Mon 23 Oct 2017, 16:35

Hello @Ange Tuteur,
I have created two custom buttons and it shows me on their symbols' background a "?". scratch
The one of the buttons is for awesome fonts and the other one is for moderation messages. How can I fix them?

--------

avatar
Ange Tuteur
Administrator
Gender : Male
Age : 22
Posts : 4735
Points : 9948
Reputation : 2369
Location : Macungie, PA
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Sun 29 Oct 2017, 13:14

Hi @Van-Helsing,

Use the following CSS rule to remove the question mark from custom buttons.
Code:
.sceditor-button-NAME:after {
  content: "";
}

Replace NAME by the custom class of your button. ".sceditor-button-fontawesome" for example.

--------

Ange Tuteur
Tips and TricksContact Me

avatar
Van-Helsing

Gender : Male
Age : 44
Posts : 853
Points : 2792
Reputation : 84
Location : Somewhere out there!
Language : English, Greek
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : punBB
View user profile http://itexperts.forumgreek.com/

PostVan-Helsing on Tue 31 Oct 2017, 19:31

Thank you very much @Ange Tuteur I have been fixed it. Smile

--------

Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum