Forum Replies Created
-
In reply to: Changing the word Groups
Try
bp_get_groups_root_sluginstead. Perhaps it’s the root slug you need changing?In reply to: Changing the word GroupsYou’re right @pckelly123, those constants are deprecated. Instead, try:
add_filter( 'bp_get_groups_slug', function() { return 'yourslughere'; } );In reply to: Undefined property: stdClass::$register๐
In reply to: Avatars reset to default when activating BuddyPressHi @etavio
Your custom plugin is most likely filtering
get_avatarto display your custom images. BuddyPress actually bypasses that filter through the use ofbp_core_fetch_avatar().Ref: https://github.com/buddypress/BuddyPress/blob/master/src/bp-core/bp-core-avatars.php#L192
You will need to use a different filter.
In reply to: Undefined property: stdClass::$registerIf so, make sure you assign that page to your BuddyPress “register” page under the BuddyPress admin menu.
In reply to: Undefined property: stdClass::$registerDo you have a page set up in your WordPress admin area with a slug of register?
In reply to: BuddyPress no longer working with 4.5 updateCan you list the plugins you have activated and any custom code snippets you’re using?
In reply to: How to get the page ID associated with a componentThanks for sharing, @garrett-eclipse ๐
In reply to: Changing the word GroupsCheck out the
gettextfilter:https://codex.wordpress.org/Plugin_API/Filter_Reference/gettext
In reply to: Adsense on activity stream?Ok I finaly did it!!
Great ๐
In reply to: Adsense on activity stream?entry.php is the code that displays a member in the loop. If you have 300 members and you paste the ad code into entry.php then the ad will display 300 times.
In reply to: [Resolved] BBPress forum search not working…how can you get someone to look at a query
The forum is volunteer run and there’s no way to get paid support. We don’t usually advise this but I guess you could try bumping your topic?
In reply to: [Resolved] BBPress forum search not workingHi @janeakshar
Try asking over at bbPress. They should be able to help with bbPress-related questions like this.
In reply to: Adsense on activity stream?How are you adding the ad to the stream?
In reply to: CSS background for Profile page only?Check your page source to see if body classes are utilised by your theme. Then you can do:
body.classname #selector .etc { // Stuff. }In reply to: Notification count if 0 dont display?Try this:
$count = bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ); if ( $count > 0 ) { echo $count; } else { // The notif count is 0. }In reply to: Private Message CountIf you don’t need to display the count on your website, the best way is to look in your database. The
bp_messages_messagestable will likely have lots of rows. The total number of rows will be the total number of messages sent.Running
SELECT COUNT(*) FROM table_name;at the mysql terminal prompt will give you the info you need.Ref: http://dev.mysql.com/doc/refman/5.7/en/counting-rows.html
Else you can use phpMyAdmin if you prefer a GUI.
In reply to: Adsense on activity stream?It looks like you could have the path wrong. Instead of your_theme/buddypress/bp-templates/bp-legacy/buddypress/activity/entry.php, try:
your_theme/buddypress/activity/entry.php
In reply to: Send email after rejectionThe
friends_friendship_rejectedhook can be used here because it fires after a friendship request is rejected. Here’s an example:add_action( 'friends_friendship_rejected', function( $friendship_id, $friendship ) { // Send your email here. }, 10, 2 );In reply to: Blog commenting systemSome parts of BuddyPress use AJAX and some don’t. It’s common for plugin developers to add their own JavaScript, so feel free. See this article for info:
In reply to: Setting Registration Page as static home pageThis doesn’t happen for me. When I set the page “Register” to a static front page, I can still see custom profile fields in the sign up form. Can you post some details about your set up?
- Theme
- Plugins active
- Do you use custom code snippets in bp-custom.php or functions.php?
- etc
In reply to: Blog commenting systemCan we get that from buddypress?
You sure can! The activity feed has AJAX built in so you shouldn’t see page reloading after posting a comment.
If there is ajax functionality, does it do a continuous โload moreโ or will it paginate after a set amount of comments?
By default, a “Load More” button is displayed which when clicked will load the next 20 items. I believe the activity stream supports paginated pages, but don’t quote me on that right now because I’d need to check.
In reply to: Using WP page templates with BuddyPressbbpress.php is handled by bbPress so you should give those guys a shout:
This issue may also be applicable to BuddyPress templates so it’s worth keeping this topic open.
In reply to: Pending Users Not WorkingA user will become active after their first log in. Until then, they won’t appear in loops such as the member directory etc. However, they will get a profile URL: http://example.com/members/fred.
Hope this helps.
In that case, try checking if there’s a plugin available. There could be something for WordPress which you could try to adapt to your needs.