Search Results for 'buddypress'
-
AuthorSearch Results
-
December 14, 2017 at 3:48 pm #269571
In reply to: creating group type pages
David Cavins
KeymasterHi, the groups directory can handle that using some built-in arguments: https://codex.buddypress.org/developer/group-types/
mysite.com/groups/type/ninja could be use to show only groups of type “ninja”.
December 14, 2017 at 3:16 pm #269567In reply to: Broken links
David Cavins
KeymasterThe links themselves look OK to me (BuddyPress is generating the correct links), but they are redirecting away at the server level. I’d check your htaccess files and other server-level routing code to find where the malicious code’s been added.
Also, change your hosting setup passwords (like control panel, FTP access, DB access) as soon as you can.
December 13, 2017 at 4:10 pm #269549David Cavins
KeymasterPlace the template file you want to use in your child them at the location specified here: https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/#registration-page
When BuddyPress is updated, it won’t affect your child theme.
December 12, 2017 at 9:17 pm #269544Arize Nnonyelu
Participanti am having a really bad network sorry for the late response, but i am already using a child theme. What i am confused about is changes inside the BP Plugin, like the registration page. I am want to know if after customizing it and BP Plugin updates will the changes i made go away.
public_html/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members
If i can override it with the child theme, then how? Because i don’t know how to. thanks againDecember 12, 2017 at 9:00 pm #269543In reply to: Group. Custom page
Boone Gorges
KeymasterI’m afraid I haven’t ever used any of the available group chat plugins for BuddyPress, but a web search shows that a number are available: https://duckduckgo.com/?q=buddypress+group+chat&t=ffab&ia=web
December 12, 2017 at 6:04 pm #269540David Cavins
KeymasterYes, the template hierarchy will use template parts from your theme:
If you’re using a theme that is updated, then, yes, you should use a child theme to keep your changes.
December 12, 2017 at 6:01 pm #269539In reply to: Showing groups, filter users
David Cavins
KeymasterHi Marc-
It sounds like you’re just getting started. Custom fields are part of the extended profile component. Read more about it here:
It is not really possible to show groups with any richness outside of the group page. Your best bet is probably to customize your group templates to show what you want. The template hierarchy will help you:
An all-user overview with search and filtering is the members directory available at yoursite.com/members
December 12, 2017 at 5:55 pm #269538In reply to: why buddypress have unknow autocomplete code?
David Cavins
KeymasterHello there. BuddyPress doesn’t add jQuery to a site (it relies on WordPress to provide jQuery). It looks to me like you’re using a plugin to fetch jQuery from a CDN rather than use the local version that comes with WordPress. Disable your plugins one at a time until the code changes, then you’ll have found the cuplrit.
December 12, 2017 at 2:10 am #269527In reply to: Custom Member Profile Fields
Boone Gorges
KeymasterThere should be nothing additional required – no registration or enqueuing.
It looks like I made a typo in my original comment – I doubled the
/buddypress/path. Here’s the proper destintation in your theme:wp-content/themes/your-theme/buddypress/members/single/profile/profile-loop.phpSorry about that!
December 11, 2017 at 6:15 pm #269520In reply to: Custom Member Profile Fields
Boone Gorges
KeymasterIf you need to do extensive customization to the appearance of the user profile, I’d recommend overriding BP’s templates in your child theme. For example, you can copy the file
wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.phptowp-content/themes/your-theme/buddypress/buddypress/members/single/profile/profile-loop.php. Then, make the modifications you’d like in the copied file.Note that
wp-profile.phpis only used when the Extended Profiles component is disabled.December 11, 2017 at 6:09 pm #269519In reply to: Kindly help! Buddypress plugin leads to error 508
Boone Gorges
Keymaster508 usually means that the hosting provider has put a limit on the resources available to your account. See https://stackoverflow.com/questions/20040307/how-to-fix-the-508-resource-limit-is-reached-error-in-wordpress. BuddyPress does generally require more resources (RAM, MySQL I/O) than a standard WP installation. I’d suggest reaching out to your hosting provider to ask about the potential of upgrading your service to support the use of BP.
December 11, 2017 at 6:07 pm #269518In reply to: Delete a notice to all users
Boone Gorges
KeymasterApplying https://buddypress.trac.wordpress.org/changeset/11750 should fix the problem. Note that this change is in bp-messages/bp-messages-template.php, *not* notices-loop.php. There should be no need to reapply these changes after BuddyPress 3.0, where the fix will become part of the BP release.
December 11, 2017 at 6:01 pm #269516Boone Gorges
KeymasterHi @gregthebuzz – You might have better luck moving some of your logic into
BP_Group_Extension, which does most of the template-related work for you. See https://codex.buddypress.org/developer/group-extension-api/. Thedisplay()method is where the content for your public-facing tab will go, while theeditparameter will help you configure what you’d like group admins to see under Manage.I’m unsure how or whether this’ll integrate neatly with https://wordpress.org/plugins/bp-extend-groups-fields/. That’s something you’ll probably want to talk to that plugin author about.
December 11, 2017 at 3:27 pm #269512In reply to: Flatsome theme UX Page Builder not loading
Boone Gorges
KeymasterHi @billybelly – It’s difficult for us on the buddypress.org forums to provide concrete advice on a non-free product, because we don’t have access to test it. If you paid for the UX Builder project, then they ought to be the ones providing you with support.
That being said, it’s possible that BP templates are inherently incompatible with this plugin. BP technically uses WP pages like Activity, Register, etc, but it sorta hijacks the page loading process in a way that can make it incompatible with certain kinds of “builder” plugins. If you’re looking to customize the interior portions of a BP page, it’s best to do it either using CSS (which you can access via the Customizer and a plugin like https://wordpress.org/plugins/simple-custom-css/) or by overriding the templates in a child theme. See https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/#overloading-template-compatibility-theme-files
December 11, 2017 at 2:21 pm #269509In reply to: Customize inbox template
Boone Gorges
KeymasterHi @datenfresser – You can customize the template by overriding the template file in your child theme. Copy the file
wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.phptowp-content/themes/[your-theme]/buddypress/members/single/messages/messages-loop.php, and make your modifications to the new file.To turn avatars into links, find lines that look like:
<?php bp_message_thread_avatar( array( 'width' => 25, 'height' => 25 ) ); ?>and do this:
<a href="<?php bp_message_thread_from(); ?><php bp_message_thread_avatar( array( 'width' => 25, 'height' => 25 ) ); ?></a>Something like that should get you close to what you want.
To link the excerpt, find the line that includes
bp_message_thread_excerpt(), and wrap it in a link tobp_message_thread_view_link(). See the ‘View Message’ markup just above for a template you can copy.December 11, 2017 at 1:52 pm #269508In reply to: Buddypress profile on existing navbar
peter-hamilton
ParticipantI think you need a child-theme and change the header.php to include your custom navigation, I have created a similar menu but did require a lot of work in the header.

When new messages the number of messages shows in the message-icon, links to profile page, also woocommerce integrated and a dashboard link for admin only.
The following is in my custom header.php
First code links to profile.
<li><a href="<?php echo bp_loggedin_user_domain(); ?>" class="activitylink" title="My Account"><span class="dashicons dashicons-admin-users"></span></a></li>This code deals with messages.
<li><a href="<?php global $current_user; echo home_url() . '/members/' . $current_user->user_login . '/messages/'; ?>"><span class="dashicons dashicons-admin-comments"></span><span class="commentcount"><?php if (bp_get_total_unread_messages_count( bp_loggedin_user_id() ) > 0 ) { ?> <?php bp_total_unread_messages_count( bp_loggedin_user_id() ) ?><?php } ?></span></a> </li>Since I did not want too much in my nav I only used these buddypress features, more would clog up my website too much.
But where it comes down to is with a child-theme you can make it exactly as you like.
Good luck
P.H.December 11, 2017 at 1:40 pm #269507peter-hamilton
ParticipantI guess the only way to achieve this is to create a child-theme and override the buddypress templates there, then your theme stays ok unless they make a major change with hooks etc.
December 10, 2017 at 11:09 pm #269503In reply to: New user welcome email
neilsaunders
ParticipantThank you @terabyten for sharing your solution. This also worked for me. Good for others to know when they hit this problem with Buddypress.
December 10, 2017 at 12:50 am #269493astrologeeks
ParticipantThen in your entry.php file in your custom buddypress theme folder (located in wp-content/themes/your-theme/buddypress/activity/), replace the delete link code from this
<?php if ( bp_activity_user_can_delete() ) bp_activity_delete_link(); ?>to this
<?php if ( bp_activity_user_can_delete() ) bp_activity_delete_link_aside(); ?>December 10, 2017 at 12:47 am #269492astrologeeks
ParticipantYou will need to add something like this to your bp-custom.php file. If you haven’t already, create this file and place it in the wp-content/plugins/ folder. I added “aside” to the name to tell buddypress this is a custom function and not re-declare an already existing function.
function bp_get_activity_delete_link_aside() { $url = bp_get_activity_delete_url(); $class = 'delete-activity'; // Determine if we're on a single activity page, and customize accordingly. if ( bp_is_activity_component() && is_numeric( bp_current_action() ) ) { $class = 'delete-activity-single'; } $link = '<a href="' . esc_url( $url ) . '" class="item-button bp-secondary-action ' . $class . ' confirm btn white btn-xs" rel="nofollow" style="padding: .2195rem .5rem;font-size: 0.8rem;">' . __( '<i class="fa fa-fw fa-trash text-muted"></i>', 'buddypress' ) . '</a>'; /** * Filters the activity delete link. * * @since 1.1.0 * * @param string $link Activity delete HTML link. */ return apply_filters( 'bp_get_activity_delete_link', $link ); } function bp_activity_delete_link_aside() { echo bp_get_activity_delete_link_aside(); }December 9, 2017 at 3:43 pm #269480In reply to: Change gray font in group description
Gunu
ParticipantTry this
#buddypress ul.item-list li div.item-desc { color: #000000; font-size: 80%; }December 9, 2017 at 1:10 pm #269476In reply to: Display some user data on a single page
Henry Wright
ModeratorIf you have the user’s ID then you can pass it to the
get_userdata()WordPress function like this:$user_id = 1; $user = get_userdata( $user_id );Then you can use the
$userobject like this:echo sanitize_email( $user->user_email );Note, how you get the user’s ID will depend on the context. See:
December 9, 2017 at 8:40 am #269475In reply to: Change gray font in group description
Gunu
ParticipantTry this in: – Customizer – Extra CSS
#buddypress div#item-header div#item-meta { color: #000000; font-size: 80%; }December 8, 2017 at 6:06 pm #269471In reply to: Improve Comments in Activity Stream
vantra117
ParticipantThanks a bunch, Gunu. It works. I also added this CSS to hide the repeated activity comment.
#buddypress #activity-stream .activity_comment {display:none;}
December 8, 2017 at 12:24 pm #269466In reply to: Improve Comments in Activity Stream
Gunu
ParticipantPlugin “BuddyPress Activity Stream Bump to Top” Last updated: 6 years ago
I do not know if that still works. But I have found a working alternative.
Look here – http://techiescircle.com/move-new-commented-activity-stream-to-top/
-
AuthorSearch Results
