vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - DSO - Font Awesome (https://vborg.vbsupport.ru/showthread.php?t=320828)

Dragonsys 11-18-2015 10:00 PM

DSO - Font Awesome
 
1 Attachment(s)
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.

Manoel J?nior 11-19-2015 11:01 PM

Ho my God. Thanks!!!!!

How to configure this?

Dragonsys 11-20-2015 01:43 AM

nothing to configure. I guess I should post usage though, lol
Examples added to description post.

Nirjonadda 11-20-2015 04:38 PM

Do you have any demo or ScreenShot to look, How it work?

Dragonsys 11-20-2015 05:22 PM

Template Demo - http://forums.txracers.com/slips.php?do=listtracks (The Homepage & Facebook icons are Font Awesome)

BBCode Demo - http://dragonsys.noip.me/vb4/showthr...0-Font-Awesome

blackberry 11-20-2015 05:24 PM

woow thank you was waiting for it :D

Can we use them for section icons?

Dragonsys 11-20-2015 05:36 PM

Quote:

Originally Posted by blackberry (Post 2559038)
woow thank you was waiting for it :D

Can we use them for section icons?

If you can use bbcode or html for the section icon, yes.

Dragonsys 11-24-2015 03:19 PM

I plan on updating this to Font Awesome 4.5, and add some reference FAQs in the next few days.
I'm also looking at adding Stacked Icons BBCode

MattGarner 12-01-2015 09:19 AM

Awesome, any chance it can support the new icons in 4.5 as well?

Dragonsys 12-01-2015 01:13 PM

Quote:

Originally Posted by MattGarner (Post 2559538)
Awesome, any chance it can support the new icons in 4.5 as well?

Yep, next version coming very soon. In this next version, I will make updating the base FA easier, without having to update the entire plugin.


All times are GMT. The time now is 09:57 PM.

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.01023 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete