Just thought I’d give people an update.
1) As discussed, we moved to making use of inbuilt wordpress functions as much as possible and hence avoid the nightmare of trying to make mediawiki work in a way that is ‘nice’ with buddypress.
2) We’ve taken inspiration from the following plugins: front-end-editor, bp-groupblog and wp-wiki. We currently aren’t using any of the code from these, but many thanks to the authors of these plugins for their very informative code.
3) Work is progressing very nicely. Sadly we probably won’t have a working beta before xmas but I’m going to post up a few screenshots next week with some luck. In the meantime, here are two to whet your appetite slightly:
Group Wiki Create Screen
http://linktart.co.uk/_files_/dev/wiki1.png
Group Wiki Home Screen
http://linktart.co.uk/_files_/dev/wiki2.png
Please note: Our designer hasn’t re-styled these pages yet so bits of it look quite rough. Apologies about that. Functionality-wise we’re probably about 50% of the way there, with a few placeholders here and there until we can finish things.
Any thoughts? I realise that there isn’t exactly much to go on at the moment
I should also probably again mention that we were looking for quite a simple wiki plugin for our students, not a fully blown wiki system…
Does anyone else know/care? I get the same problem with TEMPLATEPATH.
I can’t make any sense of the information on Function Reference/locate template.
I need something that works in includes. Like this, but for the child template folder:
<? include TEMPLATEPATH.'/directories/members/featured.php'; ?>
bloginfo() doesn’t work there.
EDIT:
Again, this sort of works:
<? include get_bloginfo('stylesheet_directory').'/directories/members/featured.php'; ?>
But that’s just awkward. Is there really no template tag for the child theme folder?
Ok. I’ve fixed it.
The mailer checks the domain name used. I won’t exted on this issue.
To let our local mailserver work correctly, we can do it by changing the validate_user_signup() function.
This function is located in: /wp-signup.php file, check it at the line 267 or something similar.
We must tell wordpress to consider valid our mail domain name without restrictions.
This can be done by modifying the user account check line:
We must replace the sentence
if ( $errors->get_error_code() )
by
if ( $errors->get_error_code() && $_SERVER[‘HTTP_HOST’]!
“localhost.YOURDOMAINNAME” ).
Doing this, WP will accept any mail and user name if sent from our local domain.
Notice that WP won’t warn us about any registration error by doing this.
If you create by mistake an account, you can erase this sign up by editing the signup table in your wprss database using phpmyadmin.
I hope it can help anyone else.
5636415Inactive
Well the problem happens when i am in the admin panel of wordpress mu. The connection just stops working and i have to rest my router. I still have a internet connect so while i cannot get to my site i can get to Google. Can some one help me?
BP-DEV guy “Nicola” has something like this “aggregator” but I think its broken at the moment.
its a good idea though!
I use WP-O-Matic instead of FeedWordpress it has some pretty advanced features — a cool feature it has is REGEX so you can do some fancy rewriting of a feed and relinking.
(*just a thought)
On a regular WP blog, combining https://wordpress.org/extend/plugins/add-link/ with FeedWordPress allows site users to add their feeds to the site without access to the dashboard.
I think this is a good idea.. Now that I know that you are working on this, this is what I’m going to do on my site
1: Let users fill in their external rss feed adress (which then gets feed into FeedWordPress like you said)
2: Create a default blog theme which matches with my site layout
Now you have a seemlessy integrated blog which also imports external posts.. sweet!
Keep us updated!
Nope. But there are lots of other parameters that template tag will accept:
https://codex.wordpress.org/Template_Tags/bloginfo
Gotcha. Before you had said you only wanted posts from the Administrator on the homepage… which would be you… so that’s where I was coming from.
The solution is almost the same however. If you’d like to do this without any plugins… just one little line of code… you could do this in the “loop” on your home.php file.
<?php query_posts('category_name=Featured'); ?>
[your wordpress loop here]
<?php wp_reset_query(); ?>
The loop by the way is simply a bit of code that iterates through all the posts for a particular page and displays them. So on the homepage… the loop shows ALL posts by default (up to whatever number you have configured in the dashboard… so the 5 most recent perhaps). If you click on a tag… then the “loop” shows all the posts with that tag. By setting up a custom query on the homepage… you are simply modifying the collection of posts that the loop will iterate through. So that little line of code simply limits the posts that the loop will iterate through as being posts from the category named “Featured”.
What I wonder as I look at this is wouldn’t it be easier to take a robust plugin for wordpress and make it work well with MU/Buddypress. That seems like a better place to start, especially if the original author can point you to the right places in the code.
I mean the functionality of a good calendar plugin should be pretty well understood at this point. Priorities and roadmap might be trickier, but the end goal should exist in the PHP if not WordPress world.
This raises my recurring question of how hard is it to turn a quality PHP script into a good plugin.
I guess that would work. Seems like a very round about method however and you’re creating lots of blogs and database tables and such that you don’t need if all you want to do is have only YOUR posts show up on the homepage. It that’s the goal… just your posts on the homepage (and it sounds like that based on your last post)… then this is very simple. The solution is already above. Just add that query before the WordPress loop on your home.php file. So simple:
<?php query_posts('author=1'); ?>
and reset the query at the end of the loop:
<?php wp_reset_query(); ?>
This assumes that your admin account had an author ID of 1… which is safe to assume.
Here is a slightly more complete example. But really… this is an extremely simple loop. You’ll probably want more stuff in there… like tags, dates, categories, etc. But this loop will work to show only posts by author ID 1. I just figured it would be good to see what I’m talking about in more context.
<!-- custom query -->
<?php query_posts('author=1'); ?>
<!-- the loop -->
<?php if (have_posts()): while (have_posts()): the_post(); ?>
<h3><?php the_title(); ?></h3>
<p><?php the_content(); ?></p>
<?php endwhile; else: ?>
<p>No posts.</p>
<?php endif; ?>
<!-- reset the query -->
<?php wp_reset_query(); ?>
” Twitme for BP doesnt have a such big interface as Twitme for wordpress it self. It will ask for your settings + sent Wires yes / no ?. “
Que??!!
Also see this: Twitme Author collects your personal data
I have one more question. Do I need to install BuddyPress too with wordpress mu ?
Hi Brajesh,
I have only one plugin Email Login. And I check it by removing this plugin. but problem is still there.
and I am using wordpress defult theme. so what theme I should put there.
Hi Brajesh,
I am using WordPress MU as blog with my site. I am getting same issue /blog/wp-admin/?c=1.
Please help me to resolve this issue.
Thanks
Ram
Set your current new user to be the Site admin user.
You will need access to the database, look in wp_sitemeta for a line with a meta_key of site_admins. It will currently look like:
a:1:{i:0;s:5:”admin”;}
You need to change the admin to be your new users name, and the s:5 to be the length of your new user. E.G.
a:1:{i:0;s:9:”spacetest”;}
spacetest is nine characters long so I’ve changed s:5 – s:9
When you next login your new user will be the site admin user, and you can access the plugins menu.
From wordpress MU post:
https://mu.wordpress.org/forums/topic/13444?replies=8#post-78799
So update on twitme plugin for BP.
From the developer ” Twitme for BP doesnt have a such big interface as Twitme for wordpress it self. It will ask for your settings + sent Wires yes / no ?. “
So please test it and let us know the outcome?
I meant, take plugin settings out of the admin area back end and make them available on the members account settings on the front end.
Some plugin functionality could be very useful to members, like adding an RSS feed via FeedWordpress, but you can’t expect all members to be web savvy enough to find their way in the WordPress backend.
BTW, the title of this topic should probably have been “Provide only certain selected plugins to members?”
This major update suffices an announcement since it incorporates code provided by Boone! One major flaw the plugin had was that members were not added to blog initially, but only after visiting the blog.
Thanks to Boone, now users are added instantly. As well all members are updated when the group admin alters the groupblog permissions as set in the admin.
Other things we implemented are when members get promoted, demoted, banned and unbanned, role permissions are applied accordingly.
It should be available in the WP repository shortly.
http://wordpress.org/extend/plugins/bp-groupblog/
Coming in the next update is alleviation of blog name restrictions. Since buddypress allows dashes in the group url’s, so should the groupblogs. Currently WPMU strips the dashes. Furthermore we well lower the minimum character amount from 4 to 2, since many groups are created using abbreviations. Look for these changes in the next updates!
Follow-up on this topic: I’ve used the FeedWordPress plugin for a while. It’s excellent.
With administrator access you can associate RSS feeds with member blogs. It should be possible to make that functionality available to regular members so they can do it themselves -> voila, external blogs.
I’ll look into this in the next two weeks, when I’m upgrading to version 1.1.3 or 1.2. I’ll probably use crude custom code to add an input field on profile pages that allows members to enter an RSS feed directly into FeedWordPress’ database table.
To turn it into a more sophisticated plugin I’ll probably need some help.
Is anyone else still working on this? Any ideas, comments or suggestions?
I’ll report back when I’ve made some progress…
Would there be a way to make plugin settings show up somewhere on member pages?
Yes, you can create a WP plugin with a settings page, then place that plugin in /wp-content/mu-plugins/ so it shows up on all WPMU blogs in the admin area.
EDIT: after re-reading this, you probably meant as a BuddyPress member settings page right? If so, don’t read the rest of this post!
Read up on how to create a settings page or use a WP plugin framework such as the one created by scribu:
https://wordpress.org/extend/plugins/scb-framework/
For how to use options in the front end, you would use the get_option() function:
https://codex.wordpress.org/Function_Reference/get_option
That should get you started.
Not where yet? Having blogs be set up with defined defaults for widgets? As has been stated, that has nothing to do with BuddyPress. As such, it won’t be “resolved” in a future version. But if you head on over to the WordPress MU forums, I’m sure you could find what you’re looking for.
I’ve used the FeedWordPress plugin for a while. It’s excellent.
With administrator access you can associate RSS feeds with member blogs. It should be possible to make that functionality available to regular members so they can do it themselves -> voila, external blogs.
I’ll look into this in the next two weeks, when I’m upgrading to version 1.1.3 or 1.2. I’ll probably use crude custom code to add an input field that allows members to enter an RSS feed directly into FeedWordPress’ database table.
To turn it into a more sophisticated plugin I’ll probably need some help.
Is anyone else still working on this? Any ideas, comments or suggestions?
I’ll report back when I’ve made some progress…