-
George Notaras replied to the topic Questions about the concept of user profiles in the forum Miscellaneous 9 years ago
@shanebp: Great! Thanks!
-
Henry Wright replied to the topic BuddyPress 2.4.0 – Pietro in the forum Miscellaneous 9 years ago
@shanebp, funny you say that, since 2.4.0 dropped, I’ve been using 2013 on everything! My new favourite 20-something
-
Henry Wright replied to the topic Can I @everyone when I message? in the forum How-to & Troubleshooting 9 years, 1 month ago
I’ve just finished building Crowdmentions. Currently the
@group
and@mod
commands are supported when used within a group context. I’ll be adding support for more commands going forward, such as@friends
.I’d be grateful for your feedback if you have time to test it out.
Thanks 🙂
-
Henry Wright replied to the topic Can I @everyone when I message? in the forum How-to & Troubleshooting 9 years, 1 month ago
Generate @ mentions for all group members.
@shanebp I’m also going to add support for more commands such as @mod, which will mention the group’s moderators.
Crowdmentions is in progress.
-
Henry Wright replied to the topic Exclude groups from get_total_group_count in the forum Showcase 9 years, 1 month ago
Considering you need to use a custom where clause to get your data, you should do what @shanebp suggests here:
Just make it a custom function that you call wherever you want.
My tweak only makes sense when a simple adjustment to
$count
is needed. -
Henry Wright replied to the topic groups_get_groupmeta in functions.php in the forum Installing BuddyPress 9 years, 2 months ago
Good shout @shanebp.
Also, looking at the
groups_get_groupmeta()
function definition, I’m wondering why we need to filter the query string withbp_filter_metaid_column_name
?Anyway, alternatively, this may work but I haven’t tested:
$retval = get_metadata( 'group', $group_id, $meta_key, $single );
var_dump( $retval );Edit: Looks as though…[Read more]
-
Henry Wright replied to the topic filter activity loop in the forum How-to & Troubleshooting 9 years, 2 months ago
You should paste @shanebp‘s code into your theme’s functions.php file. That’s where it should go.
-
Henry Wright replied to the topic Where to install in the forum Installing BuddyPress 9 years, 4 months ago
The reason I suggested you re-word your question is because the debate surrounding WordPress as a subdomain VS WordPress as a primary domain is a popular one which has been addressed lots of times already.
The answer really does depend on what you’re trying to do, as @shanebp already pointed out.
Hopefully this helps.
-
Henry Wright replied to the topic Query posts by custom field in the forum How-to & Troubleshooting 9 years, 4 months ago
I think what @shanebp is saying is you’ll need to collect the user IDs separately and then use that array of IDs in your query.
-
Henry Wright replied to the topic List groups i am admin of in the forum How-to & Troubleshooting 9 years, 5 months ago
Just put @shanebp‘s code in your theme’s functions.php file.
-
Henry Wright replied to the topic List groups i am admin of in the forum How-to & Troubleshooting 9 years, 5 months ago
-
Henry Wright replied to the topic Using BuddyPress without permalink in the forum How-to & Troubleshooting 9 years, 6 months ago
-
Henry Wright replied to the topic New plugin: BuddyPress Mute in the forum Showcase 9 years, 7 months ago
Thanks @shanebp 🙂
-
David Bisset replied to the topic Trying To Get Access BBPress In My BuddyPress Plugin in the forum Creating & Extending 9 years, 7 months ago
-
David Bisset replied to the topic Trying To Get Access BBPress In My BuddyPress Plugin in the forum Creating & Extending 9 years, 7 months ago
Thanks for the response. That in a nutshell is what i’m doing right now with the change you suggest. Loader.php loads the file that contains the code above via bp_loaded. Then i try to initialize my class CurrikiGroupImport. So it’s a chicken and egg thing – either I can init my class and get the plugin loaded and showing up in the WP…[Read more]
-
David Bisset replied to the topic Trying To Get Access BBPress In My BuddyPress Plugin in the forum Creating & Extending 9 years, 7 months ago
The change to ‘bp_ready’ gets past the “crapstop” but my plugin no longer shows up in the menu. Although i’ve always thought ‘bp_loaded’ was the proper hook here, for the moment i’ll take it.
Here’s the full bit of code. Perhaps i’m not init the class properly here?
function curgi_group_import_init() {if (…[Read more]
-
David Bisset replied to the topic Trying To Get Access BBPress In My BuddyPress Plugin in the forum Creating & Extending 9 years, 7 months ago
@shanebp – I have looked at that. function groups_new_group_forum is called by function groups_edit_group_settings which i’m calling. The “checkbox” for groups to have a forum is updated but no forum is created.
Here’s the lines of code in groups_edit_group_settings() in bp-groups-functions.php
[Read more]
// If forums have been enabled, and a forum does… -
David Bisset replied to the topic Trying To Get Access BBPress In My BuddyPress Plugin in the forum Creating & Extending 9 years, 7 months ago
@shanebp – I have looked at that. function groups_new_group_forum is called by function groups_edit_group_settings which i’m calling. The “checkbox” for groups to have a forum is updated but no forum is created.
Here’s the lines of code in groups_edit_group_settings() in bp-groups-functions.php
[Read more]
// If forums have been enabled, and a forum does… -
David Bisset replied to the topic Trying To Get Access BBPress In My BuddyPress Plugin in the forum Creating & Extending 9 years, 7 months ago
@shanebp – I have looked at that. function groups_new_group_forum is called by function groups_edit_group_settings which i’m calling. The “checkbox” for groups to have a forum is updated but no forum is created.
Here’s the lines of code in groups_edit_group_settings() in bp-groups-functions.php
// If forums have been enabled, and a forum does…[Read more]
-
rosyteddy replied to the topic new plugin: BuddyPress Simple Events in the forum Showcase 9 years, 8 months ago
@mcpeanut @shanebp I really apologize for that. Did not mean to be harsh or demanding.
At present none of the wordpress or buddypress event plugins has the implementations that any social networking site or social networking scripts has. Event Manager is a good plugin – with respect to front end BuddyPress Simple Events seem to offer no added…[Read more] - Load More
@shanebp
Active 13 hours, 47 minutes ago