Forum Replies Created
-
Yes, I made a plugin for this called BuddyPress My Friends Widgets. Let me know if you have any issues with it! https://wordpress.org/extend/plugins/my-friends-widgets-for-buddypress/
Thanks! Glad you find it useful!
Ok so I wrote a cute little widget for this so it’s easy to use. It’s my first plugin, so please be nice
Let me know if there’s anything with how it’s written. I’m sending it through the “Submit a Plugin” section in the BP repository. Thanks for the help!
Ah, perfect. Thank you!
Yes hardcoding works, but I am making a “My Friends” widget and I want to show the logged in user’s friends.
user_id=’ . $user_id . ‘&type=alphabetical&per_page=0’ doesn’t seem to filter it to only friends of that user … looks like it’s posting random members. Not sure what I’m doing wrong since I get no errors.
Code:<?php if ( bp_has_members( ‘user_id=’ . $user_id . ‘&type=alphabetical&per_page=0’ . $instance[‘max_members’] ) ) : ?>Ok so that middle part of the code with the avatar section didn’t paste in correctly, but you get the idea. …
I was testing this with 1.2 and the page kind of gets stuck when making a selection of friends to invite. I am wondering if it’s a problem with my installation or if the plugin is yet to be updated for 1.2. Either way it’s fine, I was just testing.
You can also widgetize other areas quite easily and drop BuddyPress widgets in there as you please. You can widgetize a custom page template if you want to. It’s really quite flexible. I wrote a tutorial on how to change different areas of your template files to be able to include widgets: http://wpmu.org/how-to-widgetize-a-page-post-header-or-any-other-template-in-wordpress/ That might help you.
You may try zlib compression. I gave a tutorial about it here: http://wpmu.org/dramatically-speed-up-wordpress-and-wpmu-load-times-with-this-simple-tip/
It improved my transfer speed by 3.5 times on my BuddyPress test installation.
I’ve had issues with it working sometimes and not others on clean installs with virtually no plugins. Maybe I’m doing something wrong. I’ll have to review my process
I’m subscribing to this… maybe one click install is too good to be true?
I’ve already edited a bunch of tables in the database and manually searched an replaced any trace of the old URL. I’m just wondering if the reinstall would kill my bbpress and buddypress integration. They work perfectly now and users can register through bbpress and have a buddypress profile. I just wanted the wp-signup.php or wp-register.php to work. Either is fine with me!
I’m not sure how I would go about re-installing because I have my bbpress installation already integrated as well as buddypress operating with a couple users. Anyone know how to retain this data and reinstall?
Safari error: “Too many redirects occurred trying to open “http://cjmoloneys.com/wp-signup.phpâ€. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.”
I went into the database and updated the wp_site table with the correct URL. Now when I click on “Create Account” it no longer gives the error. It directs to a page with this URL:
http://cjmoloneys.com/wp-login.php?redirect_to=http://cjmoloneys.com/register
however… you cannot register there. You can only login. I do have registrations enabled for users but not blogs. Any idea what could be causing this?
There’s nothing in the apache logs. I’m not using any custom slugs. The config file has been updated. Is there anything else it could be before I go through the trouble of re-installing?
Could this be the issue? … I had originally installed my wordpressmu under /wordpress-mu/ but then moved it to the root later. My config file says:
/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ”);
define(‘VHOST’, ‘yes’);
$base = ‘/wordpress-mu/’;
define(‘DOMAIN_CURRENT_SITE’, ‘cjmoloneys.com’ );
define(‘PATH_CURRENT_SITE’, ‘/’ );
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOGID_CURRENT_SITE’, ‘1’ );
Is wrong with editing by hand and chaning the $base = ‘/wordpress-mu/’; ?? Everything on my site works fine except registrations. I don’t even know if this is the cause.
Thanks for that link- it was very helpful. I’m spending the most time copying functions to the widgets file and renaming css conflicts with my theme.
I’m trying to avoid doing a redirect. Is there another way? Would it interfere with any of the functions if I took the index.php from the buddypress home theme and added it as a new template like so:
<?php
/*
Template Name: Home Page
*/
?>
and then assign my /subpage to use that template?