Forum Replies Created
Thanks, Shane. I checked out the bp_email_set_tokens filter. What exactly would I place in my bp-custom.php file to kill all notifications? 🙂 Eric
Fantastic! That did it. I apologize for posting in the wrong forum.
Hi Shane, I’ve gone a different route, hoping to avoid adding user IDs everytime a new Board Member joins the BP site.
From a support request, I discovered that I could exclude or include roles to display in the members loop by adding the following code to the members-loop.php. For the private BP site, using the Members plugin, I created a new role, “bod_member” and reassigned the few members this role. I then added the following code to include only the bod_member…
<?php while ( bp_members() ) : bp_the_member(); $user = new WP_User( bp_get_member_user_id() ); if ( $user->roles == 'bod_member' ) : ?>
Unfortunately, upon saving the file, the site returned a parse error, referencing the code below:
<?php endwhile; ?>
The error begins with “Parse error: syntax error, unexpected ‘endwhile'”
Am I doing something wrong?
Thanks so much Shane. I really appreciate it. 🙂
Thanks for the prompt response, Shane.
Yes, only the alphabetical sort displays all MS users. The issue is that the BP site is a private Board of Directors site, while the other sites are maintained by users that are employees and have no business showing up as members of the private BP site.
There are only 12 board members that are BP users vs. 100+ employee users for the other sites.
Any idea of how to write the filter?
Thank you. I was able to move the code below in the edit.php file. However, I could only place it below the field input or above the field label. I cannot position it between the field label and the field input.
<div class="clear"></div> <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> <div<?php bp_field_css_class( 'editfield' ); ?>> <?php $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() ); $field_type->edit_field_html(); do_action( 'bp_custom_profile_edit_fields_pre_visibility' ); ?> <p class="description"><?php bp_the_profile_field_description(); ?></p> <?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?> <p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _e( 'Change', 'buddypress' ); ?></a> </p>
Thank you. I appreciate the help. What’s the best way to identify the template it’s using? Just go through the hierarchy of template files that Buddypress uses for a single group? 🙂 Eric
Good call to everyone’s post on this thread. We develop online communities as opposed to social media networks. Our site members do not want a media feature. Yet it would be great to see it integrated into a future BP release. Maybe, private groups can have the option of using it?
Piece of cake. Just visit https://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/ and follow the instructions.
Using the free app PoEdit, it’s easy to revise your labels without hacking core files.
Thanks Ray. That did the trick! I appreciate your help.
Thank you Ray. I appreciate your wisdom.
Running BP 1.2.7 on WP Multisite 3.1-RC5-17466
@Boone Okay. I followed all the steps illustrated in the codex to revise 20+ labels on my site. I don’t know why things aren’t working, and I don’t understand why the codex instructions tell me to create a “languages” directory in my wp-content folder, and upload my .po and .mo files there. Boone, you wrote “as long as your .mo file is located at wp-content/plugins/buddypress/bp-languages/buddypress-mysite.mo” while the codex directs the files to wp-content/languages
I downloaded the buddypress.pot file from my bp-languages folder, then duplicated it and make my edits in Poedit. I saved the file as buddypress-en_US.po and, although I received the Poedit “initial default” error that justbishop received, Poedit saved the file and generated the .mo file.
I changed the .mo file title to buddypress-montclairvillagelive.mo (My site is montclairvillagelive.com), then created /wp-content/languages and uploaded both files to the folder.
The changes didn’t take place and I’m up the creek without a paddle.
Simply awesome. Thank you Mercime.
Great. Thank you. I was hoping to use the placeholder theme though as it has a great counter and email form on it. If I can’t make it happen, then I will go with the maintenance mode plugin.
Brajesh noted in http://buddydev.com/forums/topic/notification-wont-go-away that a bug exists. Visit the link to find a temporary means of dealing with the issue that disables the “member accepted your friendship request” notification. However, the requesting member still receives an email notification that the request has been accepted. Works for me!
I am plagued by the same issue. I’ve made all of Andy and Ray’s revisions to the bp-friends.php file. Nothing different. I wonder if this issue may be resolved by either tweaking the w3 total cache settings or looking for a plug-in conflict.
Sure Chris. You can check it out at http://sadiedeyscafe.com/calendar/
There’s a standard feature that I disabled. It offers users a pop-up of event info as they mouseover the calendar entries.
I believe the developer has upgraded the plugin to allow multiple calendars for one site, a calendar for each group.
Hi Chris, I am using Kieran O’Shea’s Calendar plugin. It works great on my site. You can visit Kieran’s site at http://www.kieranoshea.com/projects/calendar/
Kieran is really supportive of his plugin and usually responds promptly on his plugin support forums.
Thank you SVC. I ended up replacing `bp_group_permalink()` with `bp_group_forum_permalink()` and everything works fine.
This is great. Thank you. How would you zebra stripe every other forum topic, and how would you add the group avatar to the left of each group title?
Thank you Savannah Video and Modemlooper.
Actually, I am referring to all of the submenu items under the “My Account” link in the admin bar, just left of Notifications, when a member is logged in.
I figured out where to change the names of the admin bar submenu items.
Thanks Rich. No wonder. I am using a Rockettheme child theme.