-
modemlooper replied to the topic Mobile Styling in the forum How-to & Troubleshooting 10 years, 8 months ago
new templates got pushed to 2.1
-
modemlooper replied to the topic Should I use BuddyPress for… in the forum Showcase 10 years, 8 months ago
All of those are good.
Check this site of more examples: http://www.bpinspire.com
-
modemlooper replied to the topic Add Friend, javascript override in the forum How-to & Troubleshooting 10 years, 8 months ago
ajax.php is for bp-default theme. Theme compatibility uses buddypress-functions.php
-
modemlooper replied to the topic Jetpack "share" button on activities? in the forum Creating & Extending 10 years, 8 months ago
bbPress uses post types for topics and jetpack share works with post types. BP activity are not post types. A simple add action won’t work.
-
modemlooper replied to the topic Disable admin bar in the forum Creating & Extending 10 years, 8 months ago
Disagree because the adminbar persists regardless of theme
-
modemlooper replied to the topic Looking for shared hosting for buddypress site in the forum Miscellaneous 10 years, 8 months ago
-
modemlooper replied to the topic Add Friend, javascript override in the forum How-to & Troubleshooting 10 years, 8 months ago
try
('#members-dir-list').on('click', '.friendship-button a', function() {
-
modemlooper replied to the topic Using XProfile fields in Notification Mail in the forum How-to & Troubleshooting 10 years, 8 months ago
You can filter the email message. Did not test this code. It would add text to end of default message. Change field_name to exactly match name of profile field.
function custom_activation_email_body( $message, $user_id, $key ) {
$field1 = xprofile_get_field_data( 'field_name1', $user_id );
$field2 = xprofile_get_field_data(…[Read more] -
modemlooper replied to the topic [Resolved] Add activity meta in the forum Creating & Extending 10 years, 8 months ago
BP 2.0 adds bp_activity_add_meta()
https://buddypress.trac.wordpress.org/browser/trunk/bp-activity/bp-activity-functions.php#L658
But I’m not sure you can have same key. There is $unique which seems to imply you may have multiple values.
// cc @boonebgorges
-
modemlooper replied to the topic Disable admin bar in the forum Creating & Extending 10 years, 8 months ago
get a plugin from wordpress.org instead theme functions.php should bd code for the theme only
-
modemlooper replied to the topic [Resolved] Add activity meta in the forum Creating & Extending 10 years, 8 months ago
function add_meta_to_activity( $content, $user_id, $activity_id ) {
$value = array(
'key1' => 'val1',
'key2 => 'val2'
);bp_activity_update_meta( $activity_id, 'key', $value );
}
add_action( ‘bp_activity_posted_update’, ‘add_meta_to_activity’, 10, 3 ); -
modemlooper replied to the topic How does buddypress rewrite urls? in the forum How-to & Troubleshooting 10 years, 8 months ago
rewrite rules are coming bp just splices the url
-
modemlooper replied to the topic Created groups with plugin not counted in the Group List in the forum Creating & Extending 10 years, 8 months ago
Did you read all comments? It tells how to make group show.
-
modemlooper replied to the topic How I renamed profile my tabs and bubbles disappeared in the forum Installing BuddyPress 10 years, 8 months ago
look through core files each component folder has a loader file that creates tabs. There yiu can find count function
-
modemlooper replied to the topic How I renamed profile my tabs and bubbles disappeared in the forum Installing BuddyPress 10 years, 8 months ago
function mb_profile_menu_tabs(){
global $bp;
$bp->bp_nav['friends']['name'] = sprintf( 'Lovers <span>%d</span>', friends_get_total_friend_count() ) ;
}
add_action('bp_setup_nav', 'mb_profile_menu_tabs', 201); -
modemlooper replied to the topic Customize Profile Tabs in the forum How-to & Troubleshooting 10 years, 8 months ago
Profile tabs are dynamicly generated and will break if you try to place them as childen of other tabs.
You can remove or move tabs but placing them as children is not recommended.
-
modemlooper replied to the topic [Resolved] Display only members with pmpro level in the forum How-to & Troubleshooting 10 years, 8 months ago
Glad I could help
-
modemlooper replied to the topic [Resolved] Display only members with pmpro level in the forum How-to & Troubleshooting 10 years, 8 months ago
https://gist.github.com/sbrajesh/2142009
code example, loops in BP are filterable so you don’t need to edit the template files.
someone should turn that snip into an s2member plugin 😉
-
modemlooper replied to the topic BuddyPress: Two missing features in the forum Installing BuddyPress 10 years, 8 months ago
-
modemlooper replied to the topic Best Guide For BuddyPress Theme Dev? in the forum How-to & Troubleshooting 10 years, 8 months ago
There is some information in codex, if you need more post a forum topic
- Load More
@modemlooper
Active 9 months, 3 weeks ago