Plugin

[BF3/BF4/BFH][v1.7][27.06.2016] Show Map Rotation

- Permalink
Post edited 35x times, last by
Topicstarter
Show Map Rotation by
GreatApo
&
DarkThanos

☰ About :

This plug in shows the map rotation of each server as small map icons on the server browser. A must-have plugin for battlelog! This is the most used plugin of BBlog!

☰ Preview :

Features
- Show maps in rotation on servers
- Map rotation slideshow on click
- Map name & mode as tooltip
- Style same as the avatars
- Blue style on current map
- Works on BF3, BF4 & BFH
Images
Server Browser
(BF3 / BF4 / BFH)

Server Browser Popup Modal
(BF3 / BF4 / BFH)

☰ Nerd Stuff :

Changelog
v 1.7
(27.06.2016)
- BFH support added
v 1.6
(04.09.2015)
- CPU overload bug found and fixed
v 1.5
(26.9.2014)
- Style fixes (on style errors caused by bblog v4.5)
v 1.4
(12.09.2014)
- Several fixes pointed out by BrainFooLong (http://getbblog.com/en/board/post/126815)
- Quality code fixes
- Added minified version of the script
v 1.3
(07.09.2014)
- Rewrited bblog import code
- Also works on favourites & history
- CSS optimizations
- Added BF3 support
- Fixed chat bug
v 1.2
(06.09.2014)
- Map rotation slideshow on image click
v 1.1
(05.09.2014)
- Firefox images fix
- images optimizations
- ajax fixes
- css improvements
v 1.0
(04.09.2014)
- First release
Bugs
- BF3: current map cannot always be specified (BF3 set as current every map based on title, so if you play metro, and the map rotations is 3 metro all are set as current)


☰ PlugIn Links :

http://alites.tk/battlelog-plugins/show-map-rotation/show-map-rotation.latest.bblog.js
(
Full Code
)
http://alites.tk/battlelog-plugins/show-map-rotation/show-map-rotation.latest.bblog.min.js
(
Minified Code
)
(The plugin is also available in the PlugIn Gallery. You are adviced to load it from the Gallery.)
http://g.bf4stats.com/0l7UWoH4/pc/GreatApo.png
That is pretty cool. I like the idea!
Battlelog ►
http://battlelog.battlefield.com/bf4/en/user/BreakingBrady/

Twitter ►
https://twitter.com/Brady_The

Xfire ►http://www.xfire.com/profile/bradythe
raptr ►http://raptr.com/Brady_The
Youtube ►
http://www.youtube.com/user/bTBradyThe


http://g.bf3stats.com/pc/BBLog/BBBB_or_FEED.png
- Permalink
Post edited 2x times, last by
WasserGrosskatze wrote:
this plugin has some options to turn on?


No, it has no option to turn on.

Please delete it from your plugins, and install it from the one-click button.
Then check again.

If it still don't work please report me your browser (name - version) and sent me a message with the console report (on your browser : F12 -> Console )

**EDIT**
One-click button no longer exist. Please use bblog's plug-in gallery to install it.
- Permalink
Post edited 1x times, last by
Topicstarter
It has a small bug where it is not working if your have a chat on.
http://g.bf4stats.com/0l7UWoH4/pc/GreatApo.png
- Permalink
Post edited 1x times, last by
Topicstarter
I don't see any error from my script BUT there are some errors from other Chrome addons you have install. Try this, disable all your chrome addons exept from BBLog and try again...

If this works, one of your addons is messing with battlelog's code.
http://g.bf4stats.com/0l7UWoH4/pc/GreatApo.png
- Permalink
Post edited 4x times, last by
Administrator
This plugin contains a lot of bugs that make it in most cases unusable.

Bugs i've found

* Only work on native english pages (http://battlelog.battlefield.com/bf4/server..), pages with the language in the url doesn't work (http://battlelog.battlefield.com/bf4/de/server...)
* There are much unitialized variables which is not allowed in strict javascript code.
RAW Text
for(page in ...)
must be
for(var page in ...)

Before you use a variable the first time you need to initliaze it with
RAW Text
var myvar = ...

* instance.checkIf.loggedIn() is not required - BBLog only will be initialized when the user is already logged in.
* To check in which mode the page is you just need this
RAW Text
BBLog.cache("mode") // return bf4,bf3,mohw,bfh


I recommend to inactivate the plugin in the plugin gallery and work on fixes.
Plugins in plugin gallery should only be well tested.

I tested in chrome and i tried several changes in the code to make it working, but everytime a new error appears.
https://bfldev.com
- All my stuff on one page
https://leiwandsoft.at
- Permalink
Topicstarter
BrainFooLong, i believe everything is fixed. Check it out...
I am waiting for your approval to enable it on the Plugin Gallery.
http://g.bf4stats.com/0l7UWoH4/pc/GreatApo.png
- Permalink
Topicstarter
Me and Darkthanos created this plugin because we felt like this was a necessary feature that battlelog lucks... Now, i just can't choose a server without it...

I can see that there are 700 users per day using this addon... maybe it should be in BetterBattleLog's main code or default on?

@ BrainFooLong: I talked to DarkThanos and we agreed that if you want to implement it in BBLog (and improve it) you should go ahead.
http://g.bf4stats.com/0l7UWoH4/pc/GreatApo.png
Administrator
It's a good plugin and it's better to let it as a plugin.
Simply because there is a lot of work in this plugin and you deserve it that it is the most used plugin.

To integrate it into bblog this will cost me a lot of time, the code of the plugin is 20% of the whole bblog code :)

I don't have much time for bblog since a year or so, therefore i created the plugin and theme system to keep bblog active even if i have less time.

Greetz
https://bfldev.com
- All my stuff on one page
https://leiwandsoft.at
- Permalink
Topicstarter
Even with your narrow time limits, you manage to keep BBLog alive... thats hard and everybody knows it :)
http://g.bf4stats.com/0l7UWoH4/pc/GreatApo.png