Forum Replies Created
-
In reply to: How to add a widget in a Post?
As andrea_r said, you can’t. More precisely, it’s not a supported or advertised feature of WordPress.
If you’re comfortable working with PHP and WP themes, you could try something like this: http://ryanpricemedia.com/2007/04/08/howto-include-wordpress-widgets-in-post-or-page-body/
This reply is an attempt to note that r-a-y is awesome.
Also to close your strong tag.
In reply to: Creating sub social network / ningsIt really depends what you mean by “customization”. If you mean that each group should be able to load its own background/header/color scheme, then it’s definitely possible. I don’t know of a plugin that does it, but it wouldn’t be all that hard to write something that allowed group admins to switch between a number of admin-selected color schemes, or to upload images in addition to the avatar.
Is there some other meaning of “custom network” that I’m missing out on here? Something that “private/hidden” doesn’t already cover?
Booya!
When Boone and r-a-y compete to help someone, EVERYONE WINS!!
What is the piece of text in bp-core-signup.php that you have to change? You might be able to do it with a filter.
The best way is to create a child theme, as per https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/, and to copy over registration/register.php from buddypress/bp-themes/bp-default into the child theme. Then you can make modifications til the cows come home
Just tagged v0.6. Thanks for all your help!
@techguy – I think that the default text had single %s in an earlier release of the plugin, and you may have saved it that way, which means it’s now permanently in your options table. New installations shouldn’t have the same problem.
@everyone – In the next version I might try something like ’email 1′ or something like that. thanks for the tips
Just to clarify what @r-a-y said: “Activity replies” are handled by BuddyPress, and are sometimes called “comments”. That’s probably where the confusion is arising. If you think of comments as a blog-only phenomenon, then BP doesn’t do any comment notification at all. You do, however, get BP notifications if someone replies to (or “comments on”) one of your activity items.
In reply to: Creating sub social network / ningsI mean it’s not possible to have totally separate BP networks running on separate subdomains but using the same installation of BuddyPress.
If you take my suggestion, you can make groups either Private or Hidden. If a group is private, the only people who are able to read or contribute to the group are those who have either had a membership request accepted, or those who have been invited. Hidden groups are the same, but they don’t show up in group directories, and thus it’s impossible to request membership to them – you can only join by being invited.
In this way, the activity that happens in a hidden group is only viewable by members of that group. Users of the site, however, could be members of multiple groups, and could interact with each other outside of those groups, through the profile pages and private messaging (assuming that you enable these features). From my point of view, this is the best of both worlds.
In reply to: Creating sub social network / ningsUnfortunately, what you’re looking for isn’t really possible at the moment. The idea (of has been called “BuddyPress MU”) has been thrown around in these forums in the past, but to the best of my knowledge it hasn’t been put on a roadmap.
You could probably achieve most of the same result by using groups, and thinking of each group as its own “network” or “ning”. In a way, this is preferable to having multiple separated networks, as it allows users to have activity from all of their networks/groups in a single place. The only real downside to this is that you can’t offer the kind of theme customization for individual groups as would be possible if the networks were separate.
In reply to: Creating .MO File@scotm – Just edit the .po (which should still exist, and be human-readable), either in a text-editor or a program like Poedit, and then create a new .mo file.
Comment notification emails are handled by WP, not by BP, so what you’re experiencing is by design. Check out Dashboard > Settings > Discussion, and look for the section that says “E-mail me whenever”.
The Invite Anyone plugin does keep track of who invites who, so that it can automatically send group invitations and friendship requests when an invitation is accepted. There’s not a ready-made interface for admins (or invitees, for that matter) to trace how an individual found out about a site (most of my energy went into building a Sent Invites screen for *inviters* to keep track of who they invited), but it would be easy enough to create such an interface with the data that’s already there.
Not having open registration makes it trickier, though, because my plugin just hooks into the existing BP registration and does not limit who can register. I can imagine that it wouldn’t be too hard to connect something like WP Invites and the data collected by my plugin, but it’s probably a bit more work than I can do right this moment. I guess for your purposes I’d suggest looking into WP Invites first.
@hnla – re: float – Yes, the problem was that the parent of the submit button was the widget itself, and apparently bp-default’s widget style doesn’t have the correct default clear or position properties. You know, I’ve been using CSS float for years now and I still learn new things about how it works all the time.
Good thought about hiding the widget on the send invites screen. Very easy to do.
Awesome work! Always glad to see BP being put to good educational uses.
Thanks as always for the feedback – you guys rule! You found several things I’d missed.
@hnla –
not so sure whether the ‘Accepted’ column shouldn’t be sort by accepted/not yet accepted ?
Bug. Fixed.
What would ideally be nice would be that if invitee did accept we re populated the sent invite list but with Accepted column showing true?
Good thinking. It’s actually not too hard – I just switch is_hidden to 0 when the invitation is accepted. My guess is that most users will be very happy to see that someone has accepted their invitation, even if they have previously cleared it from the list for space reasons.
should someone who opts out update the sent invites list with one further column ‘Declined’
I intentionally didn’t do this, because I figured that people who opt out don’t necessarily want to rub it in the faces of the people who sent the invitations. In the future I will think about a way to make this work without risking hurt feelings

btw you will need li element margins
Quite true. Fixed. I also decided to inherit most of the standard-form styles from bp-default, which I think looks better. Sorry if I sometimes suck at CSS

@techguy –
The wildcard aren’t getting converted in the body of the email
That’s because there are supposed to be two %s before and after to make it a wildcard. You’re not the only person to ask about this, though, so I’ve changed the filter so that either will work fine.
The send invites button is showing on the group page even though the user isn’t a member of that group
Bug. I had spent so much time getting the admin settings for that screen to work right that I forgot about the most basic thing – whether the person was a member of the group! Should be fixed now.
Would be nice to have the option to choose between the invite existing members and invite email.
Essentially, you do have the option. If you don’t want to use the email invitations, limit them to Administrators only. If you don’t want to have invite-anyone-from-the-installation, set each role to Friends Only. I should make better documentation for that.
The widget’s title saves and displays right, but in the Appearance–>Widgets the title field is empty even when you just saved it
Bug. Fixed.
Something doesn’t feel right about the widget.
I agree. I added ’email address’ in the boxes and I think it helps. Let me know what you think.
I’m not sure if widgets can recognize which group your on and automatically check the box for that group.
Great idea. I’ve done it.
Might be worth making mention on the invites page that the email will include an opt out link.
I’m going to add one more feature before tagging the plugin, which will be the ability for admins to add non-editable header/footer information to the invitation email. The inviter will see the header/footer text but won’t be able to edit it. That footer text will include the opt-out link. I think that’ll be explanatory enough.
A link to the settings page for the plugin, next to the deactivate button on the plugins page is always a nice touch too.
I agree. I’d never done it before, but it was actually quite easy! (stole some code from @paulgibbs’s Welcome Pack – with attribution, of course!) I should go back and do this on all my plugins…hmmm….. Anyway, done.
@Erich73 –
The position of the button named “Continue” is slighly hiding the widget-title of the one widget which I have placed underneath
Good catch. It happened because I am bad at CSS and I was using a float where I shouldn’t have been. It’s been fixed.
the text-format within the text-field named “Customize the text of the invitation” is changing its format-style
I know. The way that that message gets populated is through the $_GET variable, which comes through bp_core_redirect and wp_redirect. Frustratingly, wp_redirect strips out url-encoded line breaks. That’s why the paragraphs are getting bunched together. I have a feeling that my best bet for fixing this will be some sort of ugly hack. I’ll see what I can do before tagging the next version.
Is there a chance to style the “Subject Line” and the “Text-field” so that it looks like an e-mail
Good idea. I always thought that it looked a little funny. I decided to style them exactly like the customizable fields, except make the disabled. I think it’s a lot more easily understandable this way.
Is there a chance you re-name the wording for “Sent Invites” to something different
I might change this in the future, but for right now it’s a pain to do it throughout. Maybe you could use a language file to fix it on your installation?
Please let me know your PayPal-account so I can send you a few Buddy-Dollars to appreciate your great work !
http://teleogistic.net/donate/ ! Thanks
In reply to: Main page is blankBy default, the main page shows blog entries from the main BP blog. To get rid of the message, go to Dashboard > Posts > Add New and write a post.
In reply to: Duplicating ComponentsYes, it should be possible, but it’d be pretty complicated, as the codebase for the groups component is pretty large and complicated. An alternative method might be to add a piece of groupmeta to certain groups flagging them as ‘companies’, and then using that metadata to enable the separate display of company-groups and non-company-groups around the site. Or, what might be easier given the way that bp_has_groups is written (and given the fact that your company filters would largely be on the output of bp_has_groups) is to store an array somewhere of group_ids corresponding to company-groups and non-company-groups, and then feed it as the $include argument to bp_has_groups in your theme template.
In reply to: Profile Hooks?Yeah! Glad you figured it out, @kipprsnak
In reply to: Profile Hooks?Download this plugin and check out the code: https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/ It will show you the basic method I used to modify specific xprofile fields. Short version: you can filter the output of xprofile fields in general, and then you use a conditional to detect the name of the profile field that you want. Not enormously elegant, but hopefully that code will get you part of the way there.
In reply to: Adding footer to subdomains outside WPMU/BP?@cocomozlo – If you just want static content in the footer – site information, credits, privacy notice, etc – your best bet is to copy the HTML produced by BuddyPress, put it into its own file, and then require it in your subdomains with a normal PHP require statement.
If you want dynamic information (latest posts, activity, etc) it’s going to be trickier. Those widgets are populated dynamically by WordPress, and so require WordPress to be loaded. The easiest way to make it work would be to load WP/BP in the background of your subdomains and then use the footer PHP provided by BP. You can start WP by requiring wp-load.php in the root of your WP directory.
Requiring WP on every page load is pretty intensive, though, especially if you’re running another CMS altogether on other subdomains. It’d be good to avoid it. A possible method: Write a BP function that writes the footer to a static file and refreshes it periodically, then include that html page in your subdomains. See http://blog.slaven.net.au/archives/2007/02/01/timing-is-everything-scheduling-in-wordpress/ for more on scheduling events (like a cache) in WP; check out a plugin like https://wordpress.org/extend/plugins/wp-cache/ for an example of WP caching in action.
“Development Version” is the one to test. 0.5.2 is the most recent tagged version, but it doesn’t have all the new features.
Hi everyone. Sorry to pester, but I’m just about ready to launch another version of the plugin, with some new features. If you’re intrepid and in the mood to help, download the development version from https://wordpress.org/extend/plugins/invite-anyone/download/ and give it a go. New things to play with:
– Invite Anyone widget
– Sent invites screen is now sortable by column. See if it works like you’d expect
– Sent invites can be cleared from the screen, either individually, by clicking “clear all accepted” or “clear all invitations”
– Admin can now control whom members can invite to groups. See the final option on the admin panel to see what I mean.
Thanks as always for your suggestions and bug reports!
In reply to: Ning.com Migration Tool (NMT)I enjoy beer.