View Dries's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
There is no map since this is used by users to fill in their location and to make it userfriendly to type the correct location. In my eyes it's pretty useless to show a map to yourself because you probably know where your location is when you fill it in. A map would only add extra useless info and does not add a usefull value imo. Correct me if I'm wrong, if it proves usefull I'll change it :)
can it be used with galli google maps
yes
Well, I wanted to know how could I use this plugin for adding location, for example, to a wire post.
For example: I want to post something in the wire.In the wire create form there is a location field, that I put the location I am right now.
Well, of course its a little bit complicated, but is it possible? If it is, please help me?
Hi Dries, one suggestion, I´ve my site over https, so I´ve to change in start.php the Google api URL:
elgg_register_js('google_places', 'http://maps.googleapis.com/maps/api/js?sensor=false&libraries=places');
to
elgg_register_js('google_places', 'https://maps.googleapis.com/maps/api/js?sensor=false&libraries=places');
This is right for the next plugin version?
Great plugin!
so the url must be https://maps.googleapis.com/maps/api/js?sensor=false&libraries=places if your elgg site is https?
@Phill Colins: Yes, the only thing this plugin does is using the default location input view elgg uses, so if you use the default /views/input/location for your wire plugin, the geocomplete will just work, but you must use the elgg default locationview.
@Javier & @UK: Yes, forgot about that, shame on me :) just add the extra 's' in your startfile, I'll update it in the next version. @Javier, thanks!
thanks : )
the https link is set in github
Thanks @Dries, but how could I call the item location when the wire is posted?
I tried it before, just added the "location" field to the wire post and it worked well...I added some locations to some wires.
But in the river create tried to get the item location via "$item->location"....nothing happened.
Can you help me?
I think 'cim' made the plugin you need:
http://community.elgg.org/plugins/1167789/1.2/geoplugin
Ok, thanks again! I'm gonna try right now!
Well, the geoplugin (http://community.elgg.org/plugins/1167789/1.2/geoplugin) is a great plugin, but its not what i am looking for :(
This plugin returns in every wire post the location of the user that posted...
But I want to return the wire post's location if some user added location to a specific wire post.It's like facebook, you post and add a location to the post, and then you have a location only to that wire post.
I don't know how could I make it possible,but I need help.
Hi Phill,
Sorry, thought you needed something like that. I understand what you need now.
It's not in my scope for the moment, but this shouldn't be too difficult to make I think. I thought some users here were joining forces to create an extended wire plugin which has these kind of options. Anyway, if you ever make this, and you use the default location inputfield from the Elgg API (you should ;) ) Then my plugin will just interact with your plugin.
@ Phill, Ismayil recently uploaded his HypeWall plugin what does what you want, you might want to check it out.
I loved it, works great.
Can you make a feature like people nearby? same as in Badoo.com ?
Please see if you can create a feature like that would AWESOME !!!
Cheers
The plugin Geocomplete don't works in register page. It works perfectly in edit profile.
Thanks