Search Results for 'buddypress'
-
AuthorSearch Results
-
February 22, 2017 at 8:20 am #264035
In reply to: Display activity of a specific group
aido141176
ParticipantHi danbp, thank you for your response. Unfortunately I’m not sure how I can get this to work.
Can you please show me a loop that will show all activity for say a group with ID 2. Or even with a slug, say ‘group_slug’.
Here is the loop I am using:
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . "&primary_id=2" ) ) : ?> <?php while ( bp_activities() ) : bp_the_activity(); ?> <?php locate_template( array( 'buddypress/activity/entry.php' ), true, false ); ?> <?php endwhile; ?> <?php endif; ?>I tried both to incorporate your code into the activity loop but it didn’t work.
I want display this activty not on a buddypress page. I want it to go on homepage. I can already get the group ID I just want to be able to make a loop that displays the activity of a curtain groupusing the group ID.
If you could show me a whole complete loop that would work I would be really greatful.
Thanks
February 22, 2017 at 5:07 am #264033danbp
ParticipantYou have already asked for this in the past 2 weeks!
How to add a tab or content (like user’s post) on a profile is explained in many topics if you would take a little while to search the forum.You want to use a third party plugin, but we can’t help you for this as we are all volonteers here, who have enough to do with BuddyPress. It is to you to read the software documentation and built it in your site.
This topic is closed as duplicate. Conversation continues here.
February 22, 2017 at 4:54 am #264030In reply to: Display activity of a specific group
danbp
ParticipantHi,
you have to use a group_id and to ensure you’re in an appropriate loop (activity or group)
To get a group id, you can for ex. do:
// check for a group ID if( bp_has_groups() ) { // Grab current group ID bp_the_group(); $group_id = bp_get_group_ID(); } // apply our changes only to this group ID's // conditionnal action if ( $group_id == 22 OR $group_id == 8 ) {… and so on!
You may also use bp_parse_args, depending where you use your custom work. In other words, you can create a complete new activity loop on a distinct page template for only one group.
February 22, 2017 at 3:33 am #264025In reply to: spam registration
djsteveb
Participant@malaruban – did you search the forum for this? It’s answered like very month since the beginning I think..
everyone has different suggestions..
1 many suggest “wp spamshield”
2 I like “good question” plugin on one site, but use “buddypress humanity” on another..
one I’ve considered replacing those wit his “user registration aid”3 I also use ip geo block – biggest help on most sites.
4 strongly suggest getting the “shield” firewall plugin and going into lockdown menu and disabling xmlrpc and rest api – but your situation may vary.
I use all four plus more on various sites (just one of them from step 2)
February 22, 2017 at 3:25 am #264024In reply to: Redirect user role to own profile at login
djsteveb
ParticipantI use https://wordpress.org/plugins/buddypress-login-redirect/ – and it does exactly that.
February 22, 2017 at 3:22 am #264023In reply to: Page title – group name instead of topic title
djsteveb
Participantpage titles for member profile pages and group pages are not easy to change up – I posted some info I got a while back on this, but before I go digging for that info, I wonder if you really mean groups like buddypress groups.. since your url fragment there has “forum” in it – you may be refering to page title for the forums which I think is more of a bbpress issue (?) –
February 21, 2017 at 10:49 pm #264016In reply to: Add Profile Link to Menu?
itskater91
ParticipantThanks! I actually figured it out with the BuddyPress plugin. Another plugin was blocking me from adding the BuddyPress Login to the widgets once that was allowed it fixed itself.
February 21, 2017 at 9:47 pm #264014In reply to: Warning: Creating default object from empty value in
jenfilgate
ParticipantI had to add this code to my functions.php file to get rid of it.
/* Remove errors if any */
error_reporting(E_ERROR | E_PARSE);
/* End remove Errors */It just removes the warning, but doesn’t solve the problem that causes it. I wasn’t able to find a resolution to that and may need for my plugins to update in order to solve it. Mine was being caused by a conflict between BuddyPress and W3 Total Cache.
February 21, 2017 at 9:25 pm #264013In reply to: BuddyPress Login Page
clf885
ParticipantI didn’t know that BuddyPress didn’t have a login page so my bad. What other details do I need to include?
February 21, 2017 at 9:00 pm #264012In reply to: BuddyPress Login Page
danbp
ParticipantBuddyPress doesn’t use “a login page”. If you have a radio button for the “remember me” option, it is certainly because you’re using a third party plugin or theme or widget.
But you don’t give any detail about your config, so it is just impossible to tell you more!
February 21, 2017 at 8:51 pm #264011In reply to: Add Profile Link to Menu?
danbp
ParticipantHi,
please try to search a little before asking such basic question! Ie, you would have found this one:
https://buddypress.org/support/topic/create-dynamic-user-links-to-end-users-wallprofile-etc/
February 21, 2017 at 6:12 pm #264007In reply to: Missing ‘Join Group’ button?
danbp
ParticipantCan you give an example of what you tried and tell us where you did that change ?
Also, you should test BuddyPress with one of WP’s default Twenty theme before activating any other theme.And more generally, giving some details can help too.
February 21, 2017 at 6:07 pm #264006In reply to: whats-new-textarea – size
danbp
ParticipantThis field is visible by default.

If not, so the problem might be with your theme.
For other what’s new form questions, search the forum.Some answers here:
https://buddypress.org/support/topic/how-do-i-remove-textarea-resize-without-editing-the-js-script/February 21, 2017 at 5:11 pm #264002In reply to: Remove profile pic by code
danbp
ParticipantSimply by not using code!
Remove the call to user avatar from the templates and you’re probably done. 😉
Or if you want to code, see here and search for bp_member_avatar.
February 21, 2017 at 4:57 pm #263999In reply to: How do I hide dashboard?
danbp
ParticipantHi,
sorry but this is not related to BuddyPress.
Dashboard access is part of WordPress and the way it is displayed on your screensht indicate that it is also theme dependant somehow.
You can hide any menu item from the WP toolbar by following these instructionsor you can chosse to active/deactive the toolbar option in BP settings or use a plugin to limit dashboard access.
February 21, 2017 at 4:49 pm #263998In reply to: Change title of custom front page tab
danbp
ParticipantHi,
BuddyPress wording can easely be modified with the language file:
Other method:
Change “Activity” component’s name and slug to something else.
or:
February 21, 2017 at 4:42 pm #263997In reply to: How to detect current page
danbp
ParticipantFebruary 21, 2017 at 1:29 am #263973In reply to: Can’t display user profile fields
john.horning
ParticipantWe discussed it here: https://buddypress.org/support/topic/dont-hide-fields-when-user-views-his-own-profile/, but I got stuck. Maybe I’ll revisit.
February 20, 2017 at 7:49 pm #263966In reply to: buddypress slow for logged-in users
Slava Abakumov
ModeratorTry getting the latest version of Kleo theme from themeforest.net. I’m pretty sure this is a theme issue, as BuddyPress itself is quite good in most places performance-wise.
As a general suggestion – activate object caching (memcached or redis) – you will need to talk to your host if you are on a shared/managed hosting, or install everything by yourself if on VPS/VDS/own server. Object caching will greatly help, believe me or not.
February 20, 2017 at 7:07 pm #263961In reply to: Activity Stream auto post
Brajesh Singh
ParticipantYou may use
bp_activity_post_update( array( 'content'=> 'Something we wanted to say', 'user_id'=> 32,//example, please change it ) );Please take a look at this
https://github.com/buddypress/BuddyPress/blob/master/src/bp-activity/bp-activity-functions.php#L1938
Hope that helps.
February 20, 2017 at 6:46 pm #263958In reply to: buddypress slow for logged-in users
blondelovic
ParticipantWhen i say the site beces slow it is especially for thz buddypress part. I Can’t publish easily a picture or even like. It takes tremendous time.
February 20, 2017 at 6:43 pm #263957In reply to: buddypress slow for logged-in users
blondelovic
ParticipantI’m using kleo theme. When i uninstall all plugins, i have my site running at it full speed. Very fast.but once i activate buddypress, the request or the site becomes slow just for logged in users. I dont understand.
February 20, 2017 at 6:25 am #263940In reply to: Code visible on ‘change cover photo’ tab?
kodacollider
ParticipantTrying to take a look at the template file. Found it at: /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/assets/_attachments/cover-images/index.php
In that file, I see the code:
<script id="tmpl-bp-cover-image-delete" type="text/html"> <# if ( 'user' === data.object ) { #> <p><?php _e( "If you'd like to delete your current cover image but not upload a new one, please use the delete Cover Image button.", 'buddypress' ); ?></p> <p><a class="button edit" id="bp-delete-cover-image" href="#"><?php esc_html_e( 'Delete My Cover Image', 'buddypress' ); ?></a></p> <# } else if ( 'group' === data.object ) { #> <p><?php _e( "If you'd like to remove the existing group cover image but not upload a new one, please use the delete group cover image button.", 'buddypress' ); ?></p> <p><a class="button edit" id="bp-delete-cover-image" href="#"><?php esc_html_e( 'Delete Group Cover Image', 'buddypress' ); ?></a></p> <# } else { #> <?php do_action( 'bp_attachments_cover_image_delete_template' ); ?> <# } #> </script>However, on my site itself, the source comes out missing the script tag, and the angle brackets are in the form of lt; gt; etc.
Any ideas? Could use some help on this.
February 20, 2017 at 5:05 am #263938In reply to: How to delete automatic message
Bunty
Participantreplace line number 31 with this
printf( __( "What's new?", 'buddypress' ) );February 19, 2017 at 4:00 am #263932In reply to: How to delete automatic message
Bunty
ParticipantIf you have latest version of buddypress then you can do from your FTP. Ask you server administrator to do so.
-
AuthorSearch Results