Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DSO - Font Awesome Details »»
DSO - Font Awesome
Version: 1.2.5, by Dragonsys Dragonsys is offline
Developer Last Online: Apr 2023 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.2.x Rating:
Released: 11-18-2015 Last Update: 11-21-2016 Installs: 16
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files  
No support by the author.

Adds Font Awesome support to your forums, also include a BBCode.
Font Awesome icons - https://fortawesome.github.io/Font-Awesome/icons/

Install
Step 1. Decide if you want to use the CDN (external files) or self hosted (additional files)
Step 2. Get your CDN Code (here) or download the latest self hosted version (here)
- Step 2a. If using Self Hosted: Upload files from {archive_file}/font-awesome-{version} to {bburl}/DSO/font-awesome (overwrite all)
Step 3. Import product => product-dso_fa.xml
- Step 3b. If using CDN: ACP->Options->DSO Font Awesome | Enable CDN and input your CDN Embed Code
Upgrade
Step 1. Decide if you want to use the CDN or self hosted files
- 1a. If upgrading from 1.0.0: Delete {bburl}/DSO/font-awesome-4.4.0 folder
Step 2. Get your CDN Code (here) or download the latest self hosted version (here)
- Step 2a. If using Self Hosted: Upload files from {archive_file}/font-awesome-{version} to {bburl}/DSO/font-awesome (overwrite all)
- Step 2b. If using CDN: delete {bburl}/DSO/font-awesome (remove {bburl}/DSO if empty)
Step 3. Import product => product-dso_fa.xml (tick box to allow overwrite)
- Step 3b. If using CDN: ACP->Options->DSO Font Awesome | Enable CDN and input your CDN Embed Code

Usage:
BBCode use:
Code:
[fa]icon-name[/fa] (ie: [fa]fa-male[/fa])
You can use icon options by adding them to the bbcode as well:
Code:
[fa]icon-name option[/fa] (ie: [fa]fa-male fa-5x[/fa])
Stack:
Code:
[fas=icon-name(back) option]icon-name(top) option[/fas] (ie: [fas=fa-square-o fa-stack-2x]fa-twitter fa-stack-1x[/fas])
HTML use (such as in a template):
Code:
<i class="fa {icon}"></i> (ie: <i class="fa fa-male"></i>)
Demos:
Reference:
Refer to here for the icons.
Examples - https://fortawesome.github.io/Font-Awesome/examples/

Todo:


Changelog:
1.0.0 - Initial Release
1.1.0 - Updated to FA v4.5.0
- Added Stack BBCode
- Added FAQ with links
1.1.1 - Fixed FAQ not importing properly
1.2.0 - Added version check to FAQ
1.2.5 - Added ability to use CDN

FAQ:
  • How to update to latest Font Awesome version: #1: Download the latest version from here #2: Upload files from {archive_file}/font-awesome-{version} to {bburl}/DSO/font-awesome (overwrite all) #3: Enjoy latest Font Awesome Icons
  • How can I tell what version of Font Awesome is currently installed. Check out your Forum's FAQ, it should list the currently installed version.

Download Now

File Type: zip dso-fa-1.1.1.zip (505.3 KB, 20 views)
File Type: zip dso-fa-1.2.0.zip (539.1 KB, 26 views)
File Type: zip dso-fa-1.2.5.zip (2.2 KB, 39 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-22-2016, 06:38 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Added ability to use CDN so no file uploads are required.
Reply With Quote
  #13  
Old 09-04-2017, 06:15 PM
IggyP IggyP is offline
 
Join Date: May 2012
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just tried this with vb4.2.5 php 5.6 and the cdn tech....

fail?

its not grabbing the icons for some reason...i get the rectangle broken image thing instead

does the mod need an update to work with FA 4.7?

double checked all the obvious stuff....hmm
Reply With Quote
  #14  
Old 09-04-2017, 06:38 PM
IggyP IggyP is offline
 
Join Date: May 2012
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

traced it to custom style conflict...oof....hmm...
Reply With Quote
  #15  
Old 09-05-2017, 02:13 AM
IggyP IggyP is offline
 
Join Date: May 2012
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i was able to get this working by using some cancelling css code...

.fa, .fa:before {
font-family: FontAwesome;
font-style: normal;
}

the size option bb code still isnt working tho....i can only get them tiny sized...any ideas a fix of that?? i cant imagine what could have changed in it that would effect such a small detail
Reply With Quote
  #16  
Old 09-05-2017, 03:33 AM
IggyP IggyP is offline
 
Join Date: May 2012
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok got that one too......btw, fwiw this is in regard to sultanthemes styles...in this last case i had to remove a "font-size : inherit" code he has in there.....then it worked 100% now finally lol

EDiT...
oh and of course for responsive too der
.material-icons {
font-size: initial!important;
}
Reply With Quote
  #17  
Old 09-18-2017, 01:23 PM
IggyP IggyP is offline
 
Join Date: May 2012
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

found a typo in the faq translation/links....

you have entered fontawesome as "fortawesome" in the links....triggers warnings filling up the logs if you dont notice
Reply With Quote
  #18  
Old 09-18-2017, 02:42 PM
IggyP IggyP is offline
 
Join Date: May 2012
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh...um...in hook actually need edit for full fix..
Reply With Quote
  #19  
Old 09-21-2017, 08:56 AM
IggyP IggyP is offline
 
Join Date: May 2012
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh hmm....just checked the links.....still doesnt work...guess it wasnt a typo....that cleared the log bombs but for the proper fix need to replace with the links that the fortawesome ones redirect too
Reply With Quote
  #20  
Old 12-08-2017, 04:40 PM
IggyP IggyP is offline
 
Join Date: May 2012
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

version 5 was just released.....this will need some updating hmm...couple big changes like "fa" depreciating and being replaced...with more than one variable...messy hmm
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04510 seconds
  • Memory Usage 2,320KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete