Linux 软件免费装
Banner图

FF Communitymap

开发者 andibraeu
更新时间 2021年3月8日 03:18
捐献地址: 去捐款
PHP版本: 3.6 及以上
WordPress版本: 5.6.2

标签

community map freifunk wifi

下载

2.1 3.0 3.1 4.0 4.1 4.2 4.3

详情介绍:

This plugin provides a shortcode to display the well known freifunk community map: [ffcommunitymap] It is fully configurable to embed your own sources. These options are available: Another shortcode is for displaying a community table: [ffcommunitytable] Available options are: The shortcode [ffapijs] simply loads ffctable.js and dependencies for use API data in pages and posts. Example code to embed a selction of email addresses of communities: ` Adresse Nächste Communities finden Communities * [select your-communities id:mycommunities multiple] [submit "Senden"] var cTable; jQuery(document).ready(function() { cTable = FFCTABLE.init("dummyid", "//api.freifunk.net/map/ffApiJsonp.php?mode=summary&callback=?", "mail@dingsund.so", "3"); cTable.getData(function(e) {}); jQuery("#zipsubmit").click(function(e) { cTable.getDistanceByZip(cTable, function(data, type) { console.log(data); jQuery("#mycommunities").empty(); _.each(data.communityDataDisplay, function(item, key, list) { if (item.socialprojects && item.socialprojects.contact) { email = item.socialprojects.contact; } else if (item.contact && item.contact.email) { email = item.contact.email; } if (email) { email = email.replace('mailto:', ''); jQuery("#mycommunities").append(new Option(item.name + " (ca. " + item.distance + " km)", email, true, true)); } }) }); }); }); `

更新日志:

4.2 4.1 4.0 3.2 3.1 3.0 2.1 2.0 1.0