MichDe / wordpress-geo-mashup

Automatically exported from code.google.com/p/wordpress-geo-mashup
1 stars 0 forks source link

Installation in mu-plugins under WordPress MU #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What versions of WordPress and Geo Mashup are you using?

For a feature request, describe the feature. For problems:
What steps will reproduce the problem?
1. Geo Mashup 1.0.1
2. wordpress-mu-1.1.1 
3.

What is the expected behavior? What do you see instead?
When i go to the write post section, there is a warning after the upload 
section. The error is 
Warning: Invalid argument supplied for foreach() 
in /public_html/wordpress/wp-content/plugins/geo-mashup/geo-mashup.php on 
line 123

Please provide any additional information below.

Please send me an email if you would like to know anything about this. My 
email is thgtang@gmail.com

Thank you.

Original issue reported on code.google.com by thgt...@gmail.com on 28 Mar 2007 at 4:56

GoogleCodeExporter commented 9 years ago
I may be stretched too far to support wordpress-mu, but I will take a look at 
that
code and contact you if I have any ideas.

Original comment by dylankk...@gmail.com on 28 Mar 2007 at 5:02

GoogleCodeExporter commented 9 years ago
Hi, 

have just worked a bit with it. 

Seems like MU does not give a 'static' status. Instead a column 'post-type' is 
used,
so  writing 
"WHERE post_type='page' ORDER BY post_name"); in line 279 of geo-mashup.php 
gives the
possibility to choose a mashup-page-slug. 

Correct me, if I'm wrong, but the linking of categories does work so. 

Original comment by larbe...@gmail.com on 15 Jun 2007 at 11:39

GoogleCodeExporter commented 9 years ago
Hi 
just wondering how to set up this great plugin to work accross the whole 
wordpress mu
sites?
Now I am at the stage that each blog can activate geomashup as a plugin and 
display a
post map on its own subdomain.
But I woukd like to have main map on the frontpage of main blog  to display all
recent post accross the sites...
Any ideas? Would anybody play around?

Original comment by jiri.dol...@gmail.com on 21 Nov 2007 at 9:48

GoogleCodeExporter commented 9 years ago
> Now I am at the stage that each blog can activate geomashup as a plugin and 
display
a post map on its own subdomain.

How did you do this? Please share as it would be great. Are you using 
subdomains?

> But I woukd like to have main map on the frontpage of main blog  to display 
all
recent post accross the sites... Any ideas? Would anybody play around?

I am not a coder but could think of something, maybe someone can build it: 
when using subdomains (xxx1.domain.com) etc, it should be possible to request 
one
master API key from Google (for domain.com, so without subdomains). If 
everybody uses
this API key, then I think all posts on all subdomains should be plottable?

Problem is that then you cannot get a per user/subdomain map, unless you can 
use two
Google API's for the same post. So maybe the best solution is to:
- implement it per user/subdomain with their own API (how?)
- Make a checkbox under each post with 'do you want to have your post appear on 
the
overall domain.com map?'. If checked (could be default), then a 2nd 
-overall/master-
API key is attached to that post.

Not sure if this is workable?
Cheers.

Original comment by kiks...@gmail.com on 8 Jan 2008 at 1:48

GoogleCodeExporter commented 9 years ago
I got the first part working as well, installing the plugin on all blogs in MU 
individually. But I still have to go in as a admin and chnage the settings for 
every 
new blog that is create. Doesn anybody have a solution to clone not only the 
plugin, 
but also the settings? I am not using subdomains, I am using folders for my 
blogs, 
so the google api key should stay the same. I want to restrict the users from 
accessing the plugins settings, but I also donlt want to have to manually add 
the 
settings to every blog created.

Original comment by Joost.Ro...@gmail.com on 25 Jul 2008 at 5:57

GoogleCodeExporter commented 9 years ago
Joost - I think "Plugin Commander" and the "Blog Defaults" plugins can solve 
part of
your problem.  Using these two plugins will allow control over both what 
plugins are
activated for each new user blog created and also control access to the plugin 
menu
for users. 

Unfortunately, the settings under "options" for geo mashup are not copied down, 
so if
you take away the user's ability to see it, they can not change the settings.  
I am
looking at where the values could be hard coded in and I think if that can be 
done,
it will work for WPMU.  

The one thing I am checking first is that each blog will have it's own global 
map or
if there will be one global map for all of the blogs on that WPMU instance.  I 
think
somehow there needs to be a way to get both...and that may turn out to be an 
issue
with using the same API key on all blogs.  

If anyone has already looked into this or knows the answer, I would appreciate 
any
feed back.

Original comment by braden...@gmail.com on 4 Nov 2008 at 7:45

GoogleCodeExporter commented 9 years ago
Hi Everybody, 

Thinking I post on a wrong part of the group, sorry but I will make a comment 
here :P

I´m using WP_mu + BuddyPress and the plugin works but when I´m insert the map 
on the
home.php og the buddypress-home Theme the map doesn´t show any location point.

So you have any idea ?.

Much thanx for the plugin.

Original comment by lonch...@gmail.com on 13 Mar 2009 at 2:33

GoogleCodeExporter commented 9 years ago
I'm also very interested in an WPMU + Buddypress version of GeoMashup. It would 
be
great if we could get an additional overall global map composed of all blog 
posts
within the community (implemented in the buddypress home.php). The rest of the 
plugin
could work as now on a per blog basis (map implemented via <php> in the users 
blog
template. Is this allready possible with the current 1.2beta2?

Original comment by jwildef...@googlemail.com on 14 Mar 2009 at 7:18

GoogleCodeExporter commented 9 years ago
Hi guys, any news on an installation on WPMU, and on BP? 

Original comment by ndeng...@gmail.com on 27 Apr 2009 at 9:52

GoogleCodeExporter commented 9 years ago
I was able to get geo-mashup to run in mu-plugins, and made a few changes that 
will
make this easier in the next beta release. 

It immediately occurred to me that in MU you'll probably want two levels of geo 
data:
individual blogs and site-wide things like groups, blogs, etc. Right now Geo 
Mashup
is not aware of any of this higher-level data.

Original comment by dylankk...@gmail.com on 27 Apr 2009 at 3:56

GoogleCodeExporter commented 9 years ago
Excellent, yes in mu it would be great to be able to see 2 things to get 
started imho:
- blogs: to see where the are located, adding geo to blog settings
- posts: as it is in the plugin now, but having a way to aggregate all blog's 
posts

Do you want me to send you swiss chocolate :) ?

Original comment by ndeng...@gmail.com on 27 Apr 2009 at 4:08

GoogleCodeExporter commented 9 years ago
Great news!

Original comment by jwildef...@googlemail.com on 27 Apr 2009 at 9:15

GoogleCodeExporter commented 9 years ago
this is cool to hear budy press is on the way.. i have a simple version of 
things
running on the groups or spots in my case at http://spotskenya.com

Original comment by twe...@gmail.com on 2 May 2009 at 2:55

GoogleCodeExporter commented 9 years ago
Hey Dylan,

on April 27, 2009 you wrote that you got geo-mashup to run in mu-plugins. Is 
this
feature in the current alpha version of 1.3? Any news of a version for wpmu 
which
might include a wpmu-global-map for all blogs running under wpmu and a 
global-map on
per blog basis?

Original comment by jwildef...@googlemail.com on 25 Jun 2009 at 2:47

GoogleCodeExporter commented 9 years ago
The code I added is present in 1.3alpha1, so GM may work in the mu-plugins 
folder,
but I haven't been able to address any of the major issues discussed here. I 
think
I'll need to find a client who wants it before I can afford the time to really 
handle
MU. I do have one prospect for August.

Original comment by dylankk...@gmail.com on 25 Jun 2009 at 4:00

GoogleCodeExporter commented 9 years ago
how much money would you need to get this done, i don't mind donating it to get 
the
plugin mu compatible.

Original comment by spacetol...@gmail.com on 24 Sep 2009 at 9:23

GoogleCodeExporter commented 9 years ago
Maybe I've been too overwhelmed by all that could or should be done to run well 
under
MU. It could be that just getting GM to run without errors in MU would be very
valuable and might only take a couple of hours. Maybe you could hire me
(http://www.cyberhobo.net/hire-me) to do it for your project?

Original comment by dylankk...@gmail.com on 24 Sep 2009 at 6:55

GoogleCodeExporter commented 9 years ago
Hi guys, has anything changed regarding compatibility with buddypress groups?

Original comment by paul.mon...@gmail.com on 12 May 2010 at 2:44

GoogleCodeExporter commented 9 years ago
Hi guys,

Geo Mashup is great... what I am trying to do is to use this plugin across 
multiple 
blogs on wordpress MU.

Now I've got plugin commander working so it'll automatically activate the 
plugin for 
the new blogs, but it doesn't seem to create the relevant table in the mysql 
database. When you go to save a location it can't save to the database.

Is there any way of fixing this? Also I'll like the newly created blogs to 
inherit 
the google maps api key... as they don't have one specified when they are first 
created. I don't want my users to have control over this.

Thanks in advance for you help.

Original comment by dows...@gmail.com on 14 May 2010 at 10:47

GoogleCodeExporter commented 9 years ago
I think we need separate issues for different aspects of MU support. As far as 
I 
know, Geo Mashup has worked well in WPMU for some time when installed in the wp-
content/plugins folder and activated separately for each blog. 

It seems like most of the interest in this topic is for installation of Geo 
Mashup in 
wp-content/mu-plugins, so I'm going to update this issue to reflect that. The 
primary 
remaining problem appears to be that tables are not created for individual 
sites/blogs in this situation. I might be able to apply a solution like that 
suggested here: http://groups.google.com/group/wp-
hackers/browse_thread/thread/6bea106e01da9f4e/ff49340096aed374

I created issue 354 for sharing an API key. Please feel free to create other MU-
specific enhancement requests.

Original comment by dylankk...@gmail.com on 17 May 2010 at 5:20