With the introducing of BBLog 2.0.0 we integrated the plugin system.
This give you the ability to modify the whole Battlelog. You can do everything that BBLog can do - But you need something about JavaScript and how BBLog works. Therefore I give some basic information that helps you with first steps in plugin creation.
At first some helpful links
* Battlelog use the JavaScript Library "jQuery". Simple the best JS Framework.
http://api.jquery.com/
* JavaScript Tutorial from w3schools -
http://www.w3schools.com/js/default.asp
Some example scripts that are ready to use
*
http://getbblog.com/plugins/example.js
Other helpful things
* Use chrome for JS development, fastest way to develop with the integrated tools (Press F12) - Well, firefox have good tools too but chrome is faster and better designed for this case.
* For fast development you should use a own webserver where you can fast edit your files - Or - Even better - Use a local webserver and
http://localhost
- It's the really fastest way. Link to a easy to use webserver -
http://www.apachefriends.org/en/xampp.html
* Make sure that your script work in both browser. Nothing bothering more than a script only for one exclusive browser.
* For security reasons BBLog and the Plugins only loaded when the user ALREADY logged in. On the login mask no BBLog or Plugin scripts running.
Topicstarter
BrainFooLong
Administrator
I am working on BBLog v3.0 and for that reason the whole Plugin Engine will be changed.
Featured Plugins will be removed, no featured plugins until yet added.
HotFix Plugin will automatically be in BBLog v3.0.
The plugin engine is pretty much finished so i give all of you the new required plugin format.
BBLog v3.0 will come soon, so you have some time to modify your plugins that they will work when the release is comming out.
Example Plugin:
http://dev.getbblog.com/plugins/example.js
Post edited 1 x times, last by
BrainFooLong
Administrator
Topicstarter
BrainFooLong
Administrator
Don't forget - On 21. November 2012 we release BBLog v3 with a new plugin structure.
Make sure that all your plugins be ported to be working fine.
http://getbblog.com/plugins/example.js
digitalcassette
the link to the example javascript isn't working :(
Topicstarter
BrainFooLong
Administrator
digitalcassette wrote:
the link to the example javascript isn't working :(