Search Results for 'buddypress'
-
AuthorSearch Results
-
October 7, 2016 at 3:27 pm #259581
In reply to: [Resolved] Site Wide Activity Stream
danbp
Participanttry by adding
$retval['per_page'] = 50;Codex reference
October 7, 2016 at 12:04 pm #259577In reply to: Text or redirecting custom message past registration
danbp
ParticipantHi,
can be done from within the language file, if you want the message to be full part of the success message.
The original string is here: bp-templates/bp-legacy/buddypress/members/activate.php:43
Your account was activated successfully! Your account details have been sent to you in a separate email.or if you want to show persistent instructions, you can use one of the hooks available on the activation page:
bp-templates/bp-legacy/buddypress/members/activate.phpThis will need a function like these:
function my_registration_message() { echo 'My message text'; } add_action( 'bp_before_activate_content', 'my_registration_message' );You can use same function to show a custom message on the register page, in wich case you use one of the existing hook in
bp-templates/bp-legacy/buddypress/members/register.phpFor ex.
add_action( 'bp_before_register_page', 'function_name' );October 7, 2016 at 11:31 am #259576In reply to: [Resolved] bp-reshare filter name for the loop
danbp
ParticipantHi,
see here:
and a today’s example here:
https://buddypress.org/support/topic/site-wide-activity-stream/October 6, 2016 at 9:46 pm #259558staxracing
ParticipantNevermind, got it working.
For anyone having the same problem, usefunction jptweak_remove_share() { if ( is_buddypress() ) { remove_filter( 'the_content', 'sharing_display',19 ); remove_filter( 'the_excerpt', 'sharing_display',19 ); if ( class_exists( 'Jetpack_Likes' ) ) { remove_filter( 'the_content', array( Jetpack_Likes::init(), 'post_likes' ), 30, 1 ); } } } add_action( 'loop_start', 'jptweak_remove_share' );October 6, 2016 at 8:21 pm #259554In reply to: Forums linked to Sensei Courses
danbp
ParticipantOctober 6, 2016 at 8:14 pm #259553danbp
ParticipantHi,
by reading the first topic, it sounds like you try to use more than one child theme !
I already have activated my other child theme
If it is the case, it’s not the way to proceed. 😉
1) You should have only one child-theme activated.
2) in this child, you add a folder called buddypress.
3) if you need to modify some BP templates, you copy the original fromwp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/into the child BP folder.Example of what you should have:
wp-content/themes/XYZ theme
wp-content/themes/XYZ-child/Let’s say you want to modify BP’s register page.
wp-content/themes/XYZ-child/buddypress/members/register.php
or you want to modify the profile header template
wp-content/themes/XYZ-child/buddypress/members/single/member-header.phpAnd that’s it ! The only thing you have to do is to pick the right file and add it to the child by respecting the original path who starts at:
/buddypress/path/to/file.phpInside the template file, yo can manipulate html tags and find different action hooks (
do_action( 'something' );). Take care to not rename or remove the existing class/ID names whithout knowing what you do.In bp-custom.php, you can manipulate BP’s behave by adding custom functions.
In the child-theme style.css, you manipulate whatever related to your theme layout – for the entire site, including BP or other plugins.
And as all this is done via the child, anything will remain after any update of BuddyPress, your original theme, WordPress or plugins.
Reading actively the forum will bring you other answers, tips and tricks.
October 6, 2016 at 7:38 pm #259551insearchofasolution
ParticipantThanks @r-a-y. I need to do a little bit of both. I have tried to do it the way as in the article, unfortunately that doesn’t work for me. I do everything as described and tried it with and without placing add_theme_support( ‘buddypress’ ); in functions.php and nothing. I am using a child theme, can it have to do something with that?
If you are talking about code snippets, you can use your theme’s functions.php file or wp-content/plugins/bp-custom.php.
Thanks for the above!!
October 6, 2016 at 7:01 pm #259548In reply to: change profile picture stopped to work
danbp
Participant[Mod] changed title to something more explicit as a useless “Please Help…….Urgent !!!!” on a support forum.
https://buddypress.org/support/topic/when-asking-for-support-2/
The urgent is done, the indispensable is under way. For miracles, allow time.
Please wait, I think.
October 6, 2016 at 6:51 pm #259547In reply to: [Resolved] Registration Not Saving
October 6, 2016 at 5:09 pm #259540In reply to: Registration page Font style and size
Slava Abakumov
ModeratorThe only option is to use CSS (in
style.css) in your child theme to modify that. Or some plugins, that give ability to apply styles without modifying files (Siteorigin CSS).#buddypress #register-page label { font-size:120%; }October 6, 2016 at 5:04 pm #259539In reply to: Moderator add users to group
Slava Abakumov
ModeratorSo far there is no such plugin.
You can try to dive into
bp_get_new_group_invite_friend_listfilter, and you will need to rewrite/buddypress/groups/single/send-invites.phptemplate.So quite a lot of work.
October 6, 2016 at 4:57 pm #259537In reply to: How to allow html tags
danbp
ParticipantYou already got an answer to this question here:
https://buddypress.org/support/topic/tinymce-for-replying-to-messages/#post-259368Check
$allowedtagsand add$allowedtags['span'] = array( 'style' => array () );May work…or not.
Closing this topic as unavailing.
October 6, 2016 at 4:43 pm #259534In reply to: Moderator add users to group
danbp
ParticipantNo, nothing like that. This can only be achieved within site admin. And by default a group mod is a simple subscriber which has no access to group members administration.
The first option is to promote mods to group admin, and in this case he can from front-end, kick/ban user, promote or remove users and nothing else.
The other option would be to give them a WP role who let them access to group members admin and evtl. using a plugin to block their access to all other admin parts… (ie. user role editor)
In addition, you could also get some dev’s opinion to this…
https://buddypress.trac.wordpress.org/ticket/5543
https://buddypress.org/support/topic/how-could-a-group-moderator-edit-group-details/October 6, 2016 at 4:18 pm #259531In reply to: [Resolved] Changing from a slug to a dynamic url
danbp
ParticipantPerhaps this one may work:
<a href="'. bp_get_loggedin_user_link() .'">View my profile</a>October 6, 2016 at 8:54 am #259525bermudastream
ParticipantI would like to keep the activity stream short – 7-10 updates only. Where can I set the number of activities to return?
Thanks
Mark M.Buddypress Version 2.6.2
WordPress 4.6.1October 6, 2016 at 7:29 am #259520In reply to: [Resolved] Changing from a slug to a dynamic url
danbp
ParticipantHi,
Shane’s answer is related to the BP way to get a user name inside a redirection. wpF use probably a similar method, but certainly also his own function(s) for that. You have to find out how it does. Unfortunately, this plugin doesn’t provide documentation at the moment.Accordingly to wpForum support, there is still a button to wpforum on each profile. If you have difficulties to tweak the default behave, you have to ask for on their support.
https://wordpress.org/support/topic/buddypress-compatibility-plans/
October 6, 2016 at 12:07 am #259508In reply to: Adding LMS plugin to BP (Learning Management System)
Renato Alves
ModeratorI’d say the answer to this question lies in the LMS plugins out there… Each one has its own approach to integrate BuddyPress with them.
Also you will be able to get a look at how the pieces integrate together.
October 5, 2016 at 2:15 pm #259422In reply to: Page not found message
danbp
ParticipantAfter you setup BP pages, you should activate pretty permalinks.
All BP pages should be empty. Just a title and no associated template or model.
October 5, 2016 at 2:10 pm #259421danbp
ParticipantYou need to specify the object.
$attachment = bp_attachments_get_attachment( 'url', array( 'object_dir' => 'groups', 'item_id' => $group_id, ) );Reference
October 5, 2016 at 5:38 am #259415In reply to: Why are my topcis not posted?
danbp
ParticipantHi,
what do you get when you use the Topics filter on profile ?
Activate wp_debug in wp_config.php, and post here the error message (if exist).And read this please
https://buddypress.org/support/topic/when-asking-for-support-2/October 5, 2016 at 5:25 am #259414In reply to: Buddypress PM Message from Post
danbp
ParticipantHi @koded1999,
please, use the
<code>button to insert snippets. Also avoid double posting.
Closing this topic as duplicate.
Conversation goes ahead here:October 4, 2016 at 6:02 pm #259394In reply to: [Resolved] Registration Not Saving
metalhead
ParticipantThanks, and I went through the process, and then I re-installed Buddypress, but I’m still having the same problem. It’s when I click the button to save the new user info, and instead of proceeding to the next step (“Check your email for verification,” it’s just refreshing the new user registration form. It won’t let a new user get passed that screen.
I read about someone else having the same problem, in this forum, but he never did describe how he overcame the problem. I’ve tried deactivating all buddypress related plugins, but no luck.
I think the best thing for me to do is going to be to re-install WordPress from scratch, but do you have any other recommendations before I do that?
Thanks.
October 4, 2016 at 8:46 am #259388danbp
ParticipantIt is possible because it doesn’t exist and you never noticed his mention in many topics of this forum, and perhaps never read the codex. 🙂
Read here please:
October 3, 2016 at 11:29 pm #259383In reply to: Open Source Theme: Surface
buddycore
ParticipantBumping this, for those looking to test drive BuddyPress with a custom theme and maybe take it a bit further and customize for core WordPress and BuddyPress features.
There is no support for BBPress in this theme at the moment, but if there are enough people wanting this I will bring it in the future.
October 3, 2016 at 11:27 pm #259382In reply to: [Resolved] Registration Not Saving
Henry Wright
ModeratorCheck out this article:
-
AuthorSearch Results