Group Blog for BP1.2 is now available
We just released version 1.4 of the BuddyPress Group Blog plugin. Lots changed in BuddyPress going from 1.1.3 to 1.2. Apart from code, the way it communicates and looks at the frontend has changed drastically.
We are releasing this new version as a starting point. As we hear how you use the new theme and what the needs are we will adjust it’s theme functionality. You can always re-theme the templates yourself.
We added some extra stuff as well. The most obvious is that we allow validation settings to be overridden. Dashes can now be allowed so that your blog url matches the group url closer. We also modified when in the group creation step the blog gets created. This should help in weird behavior and blogs being created by accident.
Looking forward we are looking to build a P2 child theme that matches the BuddyPress Default theme, but with Group elements.
We already included a Group based child theme for the bp-default theme. However we have not done extensive testing.
Feel free to test the plugin here: http://sandbox.ywamcloud.com
THIS VERSION IS NOT COMPATIBLE WITH PREVIOUS VERSIONS OF BUDDYPRESS
Alright, just wanted to make sure it was said!
I think that I am doing something wrong as it does not seem to be working for me.
On my site http://shawngaffney.anointed.net/
I had a group called ‘public test group’ which was already active. I then installed the group blogs today for ‘public test group’.
It said that it installed correctly, however, I get an error when visiting the blog link:
notice the first blog is there, but it does not work, looks like the url is trying to go to:
My best guess, is that something is going wrong because I am creating a blog for a group from a subdomain?
My basic setup is easy:
1. I have wpmu/bp installed so that I can put all my client sites on one install. Makes updating wp/bp/plugins easy, so that I only have to update in one place.
2. I give all of my customers a subdomain off the main blog, and then let them use domain mapping.
Is there something I need to change somewhere to fix this?
also, I use a child-theme. What is the folder structure that I need to add to my child theme in order to theme the group blog accordingly?
do I just create a folder called bp-groupblog in my child-theme and place the modified files in there?
I tried creating a group blog from the root domain and it seemed to have worked, although it’s not showing up properly.
As I am using a child theme, I’m guessing this part of the problem comes from my need to bring over the files to my child theme. I have tried creating the folders /groups/single/blog and placing the groups blog theme files in there that I need to replace, but it does not seem to be the correct location.
What path do I need to place my child theme templates in?
Hmmm…yes subdomains seems a bit untested. I’ll see if I can get a test enviroment up this week and do some debugging.
As far as theming goes, it is hard to say since it is not working anyway, but you copy the groupblog folder over to your bp-default theme. The upcoming version of bp-groupblog gives you a bunch of other options as wel.
I will try my best to make sure we support subdomain installs.
* Edit: oh right, for child themes you would put the groupblog folder in the root of your child theme. *
I did copy the groupblog folder over to my child-theme and made the needed changes, however it did not work.
I’ll just wait for now until you get more time for testing.
thanks for taking this project on, it’s going to be a very nice addition.
One request I do have though deals with domain mapping.
As I use one install of wpmu/bp for my clients, I have to rely upon domain mapping for their sites to appear autonomous from the others.
Is there any way where if my install is on abc.com and I have a subdomain 123.abc.com that is domain mapped to ‘zyz.com’ to have a system where if the domain mapped blog creates a group blog, that the links going to it would go to ‘subdomain.xyz.com’ instead of the root ‘subdomain.abc.com’ ?
Wow, that was hard to explain
Hmmm….I don’t think so, that is getting fairly hairy. For one, I don’t think we can pull in buddypress function in your mapped domain. Also I noticed your install is not on abc.com but on 123.abc.com. So you are already installed in a subdomain. That’s maybe one reason why the plugin is trying to make blogs like xyz.123.abc.com instead xyz.abc.com.
We will look into to it however, but domain mapping might be beyond the scope of this plugin. I would almost think that external group blogs plugin would be a better fit as it relies on rss. But we are not giving up yet!
You are correct about the subdomain.
I run the root domain as the install of wpmu. Wpmu is installed in the root directory of the root domain.
I then create customer accounts off of the root domain, like customer1.root.com
This allows me to run a system kind of like wp.com does. I only have to manage one install of wp.
The customers don’t know they are actually on a subdomain.root.com because I use domain mapping.
(well my customers know, I don’t hide it, but the website visitors have no idea which is all they care about)
So I went into my shawngaffney.root.com blog as though I was a customer and tried to setup a group blog.
That is how I ended up with shawnsfriends.shawngaffney.root.com when I created the group blog from a subdomain site.
When I went into the root blog and then into a group and created a group blog, it worked. it became testblog.root.com as it should.
I’m only guessing, but I think the ‘create blog’ function is grabbing the url of the blog from the db?
It’s probably grabbing the subdoman.root.com url instead of the root.com url…..
Maybe it’s as easy as one change url change in the code?
I may have an idea of how to get this to work with domain mapping.
Obviously the groups blogs plugin needs to reference the root.com url for proper path creation –mentioned above.
But…. if you also save the url of the subdomain site that the user was on when the blog was created.. then I can solve domain mapping issue.
by having the ‘true’ domain address of the group that created a blog, then it’s just a matter of comparing that value to the domain mappings table?
just a few ideas
Hmmm, I’m starting to think your setup is quite unique. While we want to help out as much as we can, it looks like this goes beyond the scoop of what the plugin entails. If you can figure out how to make it work we could possible include into the core code. As it is I don’t belive we would be able to support your setup.
We use the same function that WordPress uses when a user creates a blog. So my question would be, can you create additional user blogs from your subdomain.root.com? If so what domain does it create? If you can create regular blogs from your subdomain, in theory the groupblog should do the same. In short, the only thing we do extra is create some meta keys to link it to the group and we decide the name for the blog.
Let me know your progress.
Is it now compatible with a single WordPress 2.9.2 install (for only one blog) with BP1.2.1? or do we have to wait for WP3.0
No, this plugin is only for wpmu or until Wp becomes WPMU or the other way around Either way, it is meant for multiblogs as a single blog would defeat the purpose of this plugin..
Ok, my plan was to try to find a way to display specific blog post or category under a specific group
As far as I can tell there should be nothing really unique with my setup. I suppose the only difference between me and others, is I am using wpmu as a hosting platform for clients like edublogs/wp.com/etc… There are actually a whole lot of us out there doing this. That was kind of the point behind wpmu in the first place. One install = multiple sites.
Actually this can happen to anyone using wpmu, even those people not hosting other sites. If you have your own wpmu install and create a new group blog, that creates a new blog subdomain.root.com. What happens if a user visits that blog, and then while in that blog decides to create a group with a blog… see what I mean?
Just to testing things out, when I am in a sub-domain blog and go to create a new blog, you are correct, it creates it wrong, subdomain.subdomain.root.com
Obviously this is a core wpmu issue and I need to create a ticket for this issue.
Once that problem is solved in the core, then I’m sure your plugin will work as expected. I will report back what I hear.
You are right, but this philosophy stems from working from the main domain….you might consider working as reseller from your main domain rather than a subdomain. That would safe you a lot off head ache. I don’t think WPMU will ever support creating subdomains from another subdomain, but I could be wrong.
In any case, God bless on your continued adventure
I actually do run my business from the root domain.
1.customer goes to root.com to register and signup for a site.
2. customer is given a subdomain.root.com blog which I domain mapp to their own domain
That is normal wp operation.
Where it gets sticky:
1. customer whose site is actually subdomain.root.com turns on group blogs and tries to create one…. that creates subdomain.subdomain.root.com
see the problem?
It’s pretty much the exact same type of situation that wordpress.com does.
1. I go to wp.com and register my site, subdomain.wordpress.com
2. If they had group blogs, I would go in and create one, it would create subdomain.subdomain.wordpress.com
I hope this makes it clearer, how I am actually doing what wpmu was intended to do. I run everything off of the root domain, so every customer is subdomain.root.com
The only ‘solution’ I see without having wpmu fixed, would be to give complete fresh installs of wpmu to each client, so they are actually on a root.com instead of a subdomain.
That completely kills the entire concept of wpmu (one codebase for me to maintain). I would have to maintain all the installs separately, which would suck bigtime.
Anyhow, it is not an error with your plugin, but rather an error with wpmu core. I posted question in their forums, and if I can find the ticket system for mu I will report it as well.
@ if I can find the ticket system for mu I will report it as well.
is merged into wp trac !
ticket created https://core.trac.wordpress.org/ticket/12569
my first time posting ticket, hope the info is what is needed.
i want to us something about my paper works
this is my course ab philosophy
i think you are also a student of philo
When I make a post on a group blog, is it supposed to show up on the blogs activity stream?
I do not see any activity on the groups activity stream, but if I click blog, then I see the blog posts, and the activity stream for the blog..
Is that intended?
This is fixed in the upcoming version. It was mention as known bug on the the WordPress bp-groupblog plugin download page
if you dont mind??
im ask something to do w/ my paper works
if you dont want to help me its ok i respect
going through cleaning up my server logs and noticed the following:
Notice: Undefined offset: 0 in /wp-content/plugins/bp-groupblog/bp-groupblog.php on line 355
Notice: Undefined index: default-administrator in /wp-content/plugins/bp-groupblog/bp-groupblog.php on line 361
Notice: Undefined index: default-moderator in /wp-content/plugins/bp-groupblog/bp-groupblog.php on line 362
Notice: Undefined index: default-member in /wp-content/plugins/bp-groupblog/bp-groupblog.php on line 363
Notice: Undefined index: group_id in /wp-content/plugins/bp-groupblog/bp-groupblog.php on line 364
Notice: Undefined index: groupblog-silent-add in /wp-content/plugins/bp-groupblog/bp-groupblog.php on line 365
also, very strange problem that just popped up. I did disable every plugin to make sure it was not the issue, but did not help. I tried it on the default bp template, as well as my own.
notice that there is no title to the article nor is there anything in the ‘page’ icon.
I think ‘the_title’ is not passing through properly but it does pass through on the blog activity below the blog page.. very very strange, as it used to work, and nothing changed that I know of….
any news on the updated version?
also: I have spent days going through the code and still can’t figure out why ‘the_title’ is not showing up on the group blog page as noted above… very strange problem indeed.
The updated version is currently ironing out bugs
You can see and track the development here: http://sandbox.ywamcloud.com
This site is using our new under development P2 BuddyPress theme. The plugin now uses a template page system which allows site admins to choose a blog layout for their group. Currently the Magazine style is set as default.
We also added a lot of new option in the backend. In this group we share some more info and screenshots on that: http://sandbox.ywamcloud.com/screenshots/blog/
Feel free to tinker around. I cleaned up some old groups and blogs, but don’t be afraid to break anything. I’d appreciate some testing as there are plenty bugs out there with this new development.
@anointed, I can actually honestly say I have no idea why the the_title would not show up, or the log errors. Can anyone confirm these errors in their logs as well? That would help localize. Hopefully upgrading in the future could help fix those issues.
Make sure to join the group so you can see the P2 post form in action on the group!
Thanks a lot Marius for writing the Plugin “BP Group Blog” !
I have it installed at my website and this also helped me to have the same theme for User-Blogs as I do have at my website.
I am not using P2-theme though.
BP-Group-Blog is one of the most useful Plugins !
Let me know if I can send you some Buddy-Dollars via PayPal in order to appreciate your work.
- The topic ‘Group Blog for BP1.2 is now available’ is closed to new replies.