I was laying the ground work for the next feature “auto join with party” after adding some much needed auto join buttons (in the friend view and full server view) and decided to upload a release with the current changes seeing as how it will be a while until I can get more work done on this.
Added auto join button to full server view.
Added auto join button to friend view (if they are in a server).
Stability changes and bug fixes on the back-end.
Added some code that will help implementing planned “auto join with party” feature.
Added a button in the mod menu that suggests the user join the “Coderah Battlelog Mods” platoon if they are not already in it.
Developer log (newest commit first):
added join battlelog mods platoon button under mod menu if the logged in user is not in the platoon
changed full server view button size from small to large
changed method of gathering maxPlayers in autoJoin to use mods.serverInfo.getDetailed to remove need for a fallback
added autoJoin button to profile view for player that is in a server
properly fixed error when loading into non-server page (from previous-commit)
changed mods.selectedServer.getUrls method of gathering urls
fixed error when loading into non-server page
added comments in autoJoin.apply to quickly identify render function mods
added mods.serverInfo.getDetailed for gathering server details based on a show link
added autoJoin button for full server view added fallback for getting the maxPlayerCount added styling for “simple” smaller auto join button
changed method of getting server row idx for mods.selectedServer.getInfo
changed method of getting guid for mods.selectedServer.getUrls()
updated dev files (used chrome for pretty formatting)
Project page: http://www.coderah.com/?page_id=389
Source Code (github): https://github.com/Coderah/Coderah-Battlelog-ModsGoogle+