[wp-hackers] Multiple Locations

Ryan Boren ryan at boren.nu
Sun Sep 12 22:01:21 UTC 2004


On Sun, 2004-09-12 at 20:43 +0000, mark.wordpress wrote:
> Very nice! It'd be really easy to write a function to take care of
> number 4. With WP 1.3, this whole thing could be done as a plugin only
> (or at least no modification of core code), what with the new hooks
> into the admin menu, (I think). I think I'll hold off for now, but
> I'll definitely be interested in it when WP 1.3 rolls around.

I'd like to see all of the Geo/Location stuff move out of core and into
a plugin.

The post_lat_lon fieldset could be emitted on the 'edit-form-advanced'
action.  The plugin could create an Options->Location page for twiddling
the options.  The Geo options in Options->Misc would then go away.

I'd like to get the plugin architecture to the point where this is easy.
add_option_page(), options-header.php, and options-footer.php would get
us closer.

So, I say replace the current Geo stuff living in the core with a plugin
version of Kitty's Location Manager.  We could make it the test case for
adding admin UI via plugins.

Ryan

> -------Original Message-------
> > From: Kitty <kitty at mookitty.co.uk>
> > Subject: Re: [wp-hackers] Multiple Locations
> > Sent: 12 Sep 2004 20:06:23
> >
> > On Sun, 2004-09-12 at 11:12, mark.wordpress wrote:
> > > I really think that Wordpress's geo location feature could be
> quite
> > > cool if it were fleshed out a bit more. I sometimes blog from
> multiple
> > > locations, and it'd be cool if I could easily switch locations.
> > >
> > > Here is what I propose:
> > >
> > > - In the admin interface, instead of just straight geo
> coordinates,
> > > you can enter in multiple sets of geo coordinates as well as give
> each
> > > location a name (Home, Parents' House, Winter Lodge in Aspen,
> etc).
> > > - On the Create/Edit entry screens, this would show up as a
> dropdown
> > > list, so you could easily designate your location for that post.
> > > - Also, if you wanted to change your default location, you could
> > > easily do it in the admin interface without having to look up the
> > > coordinates again.
> > > - Also, a tag (something like <?php post_location_name(); ?> would
> be
> > > created, so people could so something like "Posted at 5:24PM from
> my
> > > house"
> > >
> > > Thoughts?
> > 
> > http://mookitty.co.uk/devblog/downloads/locationmanager.zip
> > 
> > screenshots at:
> > http://mookitty.co.uk/projects/?Location_Manager
> > 
> > It's a substantial hack to get working, but quite slick when
> installed,
> > it'll do everything on your list, except the 4th item. It's for 1.2
> > only, and will break cvs/1.3 completely.
> > 
> > I had thought of making into a stand alone plugin, but there was
> never
> > much interest. So it'll probably be morphed into a patch for 1.3
> once
> > that's released.
> > --
> > Cheers!
> > Kitty
> > http://blog.mookitty.co.uk/
> > http://mookitty.co.uk/devblog/
> > 
> > _______________________________________________
> > hackers mailing list
> > hackers at wordpress.org
> > http://wordpress.org/mailman/listinfo/hackers_wordpress.org
> -------Original Message-------
> 
> 
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org




More information about the hackers mailing list