Dragonsys
11-18-2015, 10:00 PM
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 (http://fontawesome.io/get-started/)) or download the latest self hosted version (here (http://fontawesome.io/#modal-download))
- 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 (http://fontawesome.io/get-started/)) or download the latest self hosted version (here (http://fontawesome.io/#modal-download))
- 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: icon-name (ie: fa-male)
You can use icon options by adding them to the bbcode as well:
icon-name option (ie: fa-male fa-5x)
Stack:
icon-name(top) option (ie: fa-twitter fa-stack-1x)
HTML use (such as in a template): <i class="fa {icon}"></i> (ie: <i class="fa fa-male"></i>)
Demos:
Template (HTML) Demo - http://forums.txracers.com/slips.php?do=listtracks (The Web & FB icons are Font Awesome)
BBCode Demo - http://forums.txracers.com/showthread.php?24-Font-Awesome
Reference:
Refer to here for the icons (https://fortawesome.github.io/Font-Awesome/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 (https://fortawesome.github.io/Font-Awesome/) #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.
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 (http://fontawesome.io/get-started/)) or download the latest self hosted version (here (http://fontawesome.io/#modal-download))
- 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 (http://fontawesome.io/get-started/)) or download the latest self hosted version (here (http://fontawesome.io/#modal-download))
- 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: icon-name (ie: fa-male)
You can use icon options by adding them to the bbcode as well:
icon-name option (ie: fa-male fa-5x)
Stack:
icon-name(top) option (ie: fa-twitter fa-stack-1x)
HTML use (such as in a template): <i class="fa {icon}"></i> (ie: <i class="fa fa-male"></i>)
Demos:
Template (HTML) Demo - http://forums.txracers.com/slips.php?do=listtracks (The Web & FB icons are Font Awesome)
BBCode Demo - http://forums.txracers.com/showthread.php?24-Font-Awesome
Reference:
Refer to here for the icons (https://fortawesome.github.io/Font-Awesome/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 (https://fortawesome.github.io/Font-Awesome/) #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.