Thread Rating:
  • 6 Vote(s) - 4.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Font-Awesome Forum Icons & Unique Ficons
#91
(03-20-2017, 01:43 PM)Eric J. Wrote: It's a little awkward, because the spinners are coded oddly. However you should be able to accomplish it pretty easily by doing the following:

In your showthread_quickreply template (And anywhere else you might have a spinner), replace this:
<div id="quickreply_spinner" class="showthread_spinner" style="display: none"><img src="{$theme['imgdir']}/spinner.gif" /></div>

with this:
<div id="quickreply_spinner" class="showthread_spinner" style="display: none"><img src="{$theme['imgdir']}/spinner.gif" style="display: none;" /><i class="fa fa-spinner fa-spin"></i></div>

You'll also want to edit the variables in your headerinclude template for things like quickedit and multiquote:
	var spinner = "<img src='" + spinner_image +"' alt='' />";

to

	var spinner = "<img src='" + spinner_image +"' alt='' style='display: none' /><i class='fa fa-spinner fa-spin'></i>";

Annnddd that should be it. Just hid the original image (Because the JS still needs to interact with it), and added the FA icon in instead. If you want to avoid loading the original image though, you'll probably want to make some core edits.

https://github.com/mybb/mybb/blob/featur...ead.js#L10
https://github.com/mybb/mybb/blob/featur...xml#L14012

Great, thank you very much! I added +1 rep. However does MyBB use small and large spinner? I f yes, both of them are replaced, right?
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
#92
What do you have to do to put awesome fonts individual to the default theme? I know how to configure it  on global css and all but the original icons remain on the forum and the other ones are on top tiny.. where are the on off icons to remove or really how do you do it

solved... Ashley1 helped me and it is successful.. Smile


#93
Clickable icons for Mark as read function does not work !

Does anyone have any idea !!?


Forum Jump:


Users browsing this thread: 1 Guest(s)