ewooonk

Results 12 comments of ewooonk

I propose to use a simple scrapper, e.g. https://github.com/eskerda/pybikes/blob/master/pybikes/open_source_bike_share.py with ``` for station in data: longitude = float(station['lng']) latitude = float(station['lat']) name = station['description'] free = None bikes = int(station['rentalBikes'])...

The following code can be used to calculate the distance (in km) between the user and the stand in functions.js. Next step: implementing in rent() function. ``` latdif = Math.abs($("body").data("mapcenterlat")-lat);...

Full implementation of the geofence. ## **functions.js** **showlocation, changelocation** Change the radius of the circle displayed on the map to 200m. `circle = L.circle([$("body").data("mapcenterlat"), $("body").data("mapcenterlong")],40*5, {` **showstand** Add: ``` latdif...

1. Add the column sub float(1,0) to the credit table. 2. Add the following function to common.php ``` function getusersub($userid) { global $db,$credit; if (iscreditenabled()==FALSE) return; // if credit system...

As an additional idea: make a bike free to use if it not has been used for X days. For example, if it is placed on a remote location.

The following solution solves this issue, but requires users to have a phone with GPS. https://github.com/cyklokoalicia/OpenSourceBikeShare/issues/131

This feature was also requested by our users.

Geofence solves this issue partly. https://github.com/cyklokoalicia/OpenSourceBikeShare/issues/131

I build a simple integration using Mollie.com. They support PayPal, credit cards, Bitcoin, and mayor European payments services (Ideal, Sofort, etc.). Sourcecode can be provided on request.