News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

FA Board Icons

Started by SychO, April 20, 2019, 05:30:45 AM

Previous topic - Next topic

Dream of Omnimaga

Thanks, it works now! I had to keep the option disabled, though, else it won't work when I re-enable it again.

Kindred

This is cool, SychO

As a note, it's simple to install this mod and then also add alternative font-packs

Code ( in Sources/FA-BoardIcons/FA-BoardIcons.php find) Select

loadCSSFile('fabi.css', array(
'force_current' => false,
'minimize' => true
), 'smf_fabi');

Code (add code like this after it) Select

loadCSSFile('starwars-glyphicons.css', array(
'force_current' => false,
'minimize' => true
), 'smf_swglyph');


Make sure that your additional font pack CSS file is added in Themes/default/css and that the reference in the CSS file (if local/relative) points the the correct location
(in my case, the font css references the font itself in an additional "fonts" directory)
and then you can reference them in the board settings, just like you would the fas fa icon (in my case like so...  swg swg-r2d2-3)

example: https://test2.turtleshellprod.com/index.php
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

SychO

Oh that's neat! didn't think you could use different fonts with it as well.

Also you could add the call to loadCSSFile in your template file as well (index.template.php) instead of editing the source file, you'd just have to add it before template_css function is called.
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

gevv

ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

SychO

Quote from: gevv on February 03, 2021, 10:33:35 AM
Hi @SychO

Redirect board count problem  smf 2.1 rc3 https://github.com/SimpleMachines/SMF2.1/issues/6490

Thanks for the report, I'll look into it when I can
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Kindred

hmmmm... I have the mod installed into 2.1 RC3 and it seems to work

https://test2.turtleshellprod.com/index.php


Edit... Oh, wait, I see it now
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

camefromwpandmybb

hi.  what did i do wrong.  i installed this via package manager, installed fine. went into my db and checked to see if the two tables were added, etc.  all is fine.  but when i went to the modifications> misc section, there were no options to change the boards.

running 2.1rc3 and a reponsive theme
i hate wordpress, vanilla, mybb and phpbb

camefromwpandmybb

hi i solved my own issue.  looks like even though the steps to install it through package manager had zero errors, i went via ftp, saw that sources and themes folders were not uploaded, the only thing that happened was the database.php file ran and changed the tables.  so i uploaded both sources and themes folders, now it works

weird?
i hate wordpress, vanilla, mybb and phpbb

Aleksi "Lex" Kilpinen

Small, but somewhat irritating bug that I came across. This mod changes redirect -boards to look and act like actual boards.
(This was tested on a recent 2.1 version from Github.)

Edit: Oh, right - I wasn't the first one to mention :P Well, here's an example anyways.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

smartmouse

Hello, are you going to release a version for SMF 2.1 RC4?

Speed King

Quote from: smartmouse on July 15, 2021, 06:49:58 AM
Hello, are you going to release a version for SMF 2.1 RC4?

Version 1.3 works fine with SMF 2.1 RC4 :)

smartmouse

Quote from: Speed King on July 15, 2021, 07:09:07 AM
Quote from: smartmouse on July 15, 2021, 06:49:58 AM
Hello, are you going to release a version for SMF 2.1 RC4?

Version 1.3 works fine with SMF 2.1 RC4 :)


You are right, thank you.

Mick.

Dude! This nifty mod is off the hook! Makes the feather theme look like an app lol

You cannot view this attachment.

TurtleKicker

Bug?

Tried setting a specific icon, didn't work (just this one icon, it's working fine otherwise). So let's say a person makes a typo.

But clearing the field and then [Modify] in SMF admin doesn't clear the field, so the icon remains broken (blank). Return to the board editor, and the old incorrect fa text is still there. No matter how many times you clear and [Modify].

How to actually "clear"?

cuongvttt

Hello guys,

This Modification works so perfectly in the version SMF 2.1 RC3 but it causes SMF 2.1 RC4 to load slowly on mobile devices. I wish the author could update the mod as soon as possible :D

Thank you guys so so much for your hard work :D

Kindred

??   can not replicate.

test2.turtleshellprod.com is running this mod on 2.1RC4 and I notice no slowdowns
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

cuongvttt

Hello Kindred,

Please have a look at these pictures.


Diego Andrés

Did you test with and without the mod for your site?
What exactly is the resource causing problems for you?

SMF Tricks - Free & Premium Responsive Themes for SMF.

pikeman

Works well with 2.1.1. :)

Senkusha

Sorry, I know this is an old thread, but do I have to use an FA icon, or could I use an icon I make?
Thank you!
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

Advertisement: