Search Results for 'buddypress'
-
AuthorSearch Results
-
December 14, 2016 at 9:07 am #262072
In reply to: BuddyPress and Avada Mobile Registration Form
danbp
ParticipantHi @darrenllrgmailcom, @adjunkten,
i had the same issue with a custom theme: fields didn’t wrap properly on small screens…
To solve it, i simply copied the concerned form rules from Twenty Sixteen into my child theme css and all went OK after that.The 2016 rules of the register page:
#buddypress #signup_form.standard-form #profile-details-section, #buddypress #signup_form.standard-form #basic-details-section, #buddypress #signup_form.standard-form #blog-details-section { float: none; width: 100%; } @media screen and (min-width: 38.75em) { #buddypress #signup_form.standard-form #profile-details-section, #buddypress #signup_form.standard-form #basic-details-section, #buddypress #signup_form.standard-form #blog-details-section { width: 48%; } } @media screen and (min-width: 38.75em) { #buddypress #signup_form.standard-form #profile-details-section { float: right; } #buddypress #signup_form.standard-form #basic-details-section { float: left; } }December 13, 2016 at 5:30 pm #262063In reply to: share with custom text
danbp
ParticipantDecember 13, 2016 at 5:27 pm #262062In reply to: [Resolved] Mentions user link output
danbp
ParticipantDepends where you need that and what you exactly want as result. You can hardcode something into the child theme template or use some CSS trick like this one.
Or maybe you need something like this ?That said, be default, when you mention a user within a blog post or any update, a class name is automatically added: “bp-suggestions-mention”.
When you mention a user in a bbPress topic, there is no class name. But that’s lazy bbPress mentioning, not BuddyPress. If so, ask for this on their support.
December 13, 2016 at 4:59 pm #262061In reply to: Can’t get BuddyPress activated
danbp
Participantit could be possible that your host plan doesn’t allow you to use BP.
it could be possible that you shouldn’t use php 7.1, as BP is not completely ready to use this latest php version.To get sure, create a php info file and upload it at the site root (same level as wordpress)
Once uploaded, go to your-site/phpinfo.php. There you will see all information i asked you about your install. Check them and report them here please.If you have an access to a php config via your host admin interface, go there and try to set it to php 5.6 or 7 instead of 7.1
Yes, it is not recommended to use 3rd partys automated WP installation tools. It is also not recommended to use page builders. Such tools are rarely updated, correctly maintained and often bugy… For 1.5$/mounth you can’t expect the creme de la creme, even if talented marketers try to suggest you the opposite.
December 13, 2016 at 3:01 pm #262060In reply to: Can’t get BuddyPress activated
larsivar
ParticipantUsing the debug mode I get this message when activating BP:
Fatal error: Uncaught Error: [] operator not supported for strings in /customers/3/8/5/athleeto.com/httpd.www/social/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-component.php:281 Stack trace: #0 /customers/3/8/5/athleeto.com/httpd.www/social/wp-includes/class-wp-hook.php(298): BP_Activity_Component->setup_admin_bar(”) #1 /customers/3/8/5/athleeto.com/httpd.www/social/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /customers/3/8/5/athleeto.com/httpd.www/social/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /customers/3/8/5/athleeto.com/httpd.www/social/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(143): do_action(‘bp_setup_admin_…’) #4 /customers/3/8/5/athleeto.com/httpd.www/social/wp-includes/class-wp-hook.php(298): bp_setup_admin_bar(Object(WP_Admin_Bar)) #5 /customers/3/8/5/athleeto.com/httpd.www/social/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #6 /customers/3/8/5/athleeto.com/httpd.www/social/wp-includes/plugi in /customers/3/8/5/athleeto.com/httpd.www/social/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-component.php on line 281
December 13, 2016 at 12:47 pm #262055In reply to: Fatal error PHP 7.1
lgreenwoo
ParticipantJust jumping back in on this one.
I’ve been developing a large & complex WP site (60+ CPTs using Pods & BP) for the past few months on PHP 7.1. I ran all PHP 7.1 RCs and so far the only issues I’ve seen are related to BP. I’m now at the point where I’ve had to disable BP to continue development on PHP 7.1 (I need nullable types and void returns from PHP 7.1) and ignore any BP features I have on my roadmap until it’s stable (I hope soon 🙂 )
I can’t report any issues with WP-core and PHP 7.1 that I’ve witnessed.
No trying to say that BP is crappy 🙂 – just a hint that the issue may be more likely to be on BP side (especially since it seems that BBPress had a similar issue which they’ve already fixed – see my link in previous post).
The other issue I’m seeing on PHP 7.1 seems to be related to enabling Opcache and BP – https://buddypress.trac.wordpress.org/ticket/7361
Hope that’s helpful 🙂
December 13, 2016 at 12:26 pm #262054In reply to: Fatal error PHP 7.1
Paul Wong-Gibbs
KeymasterOkay. The story is that PHP 7.1 is supported by WordPress 4.7 (or newer). Likewise, BuddyPress will need at least that version, too.
We’re currently tracking some unit test failures in PHP 7.1 (see the very bottom of https://travis-ci.org/buddypress/BuddyPress), but we’ve not figured out if they are our bugs, or some bug in WordPress core. Likewise, this
do_actionissue might be a regression WordPress should fix instead of us (if we’re getting caught by this, I bet many other plugins are, too).At any rate, I’m going to try to fix the unit tests once I get a PHP 7.1 box set up (hopefully this week), and then I’ll test the basics of BuddyPress, and see what other issues crop up, and fix or report them as necessary.
I think I’d wait a month or two to use PHP 7.1 with WordPress and BuddyPress in the wild, to be honest.
December 12, 2016 at 6:05 pm #262045In reply to: good user profile plugin
modemlooper
Moderatorinstall BuddyPress and only activate the Profile component.
December 12, 2016 at 5:07 pm #262039In reply to: Hook for Private Message Reply
danbp
ParticipantHere the complete list of functions containing threat_id in their name:
http://hookr.io/plugins/buddypress/#index=g&search=thread_idDecember 11, 2016 at 8:35 pm #262032In reply to: /wp-admin/customize.php?return=wp-admin
randomblink
ParticipantWhen I Install Buddypress then goto Dashboard > Appearance > Customize the URL I posted above is in my address bar and I’m at a White screen… nothing loads.
Confused as heck…
December 10, 2016 at 1:12 pm #262023danbp
ParticipantHi,
please give more details… what kind of post ? Blog, update, forum….
By the way, BP doesn’t handle blog posts.
Read documentation about emails here:emails: https://codex.buddypress.org/emails/
custom emails: https://codex.buddypress.org/emails/custom-emails/December 9, 2016 at 10:59 pm #262013In reply to: [Resolved] the right way to remove nav items
heytricia
ParticipantI asked a bit too soon… A little more searching and I found your explanation here. Setting the default component seems to have done the trick. Thanks for the code samples!
December 9, 2016 at 5:16 pm #261931In reply to: bp-template-notice failure
danbp
ParticipantSorry, i don’t act privately on user’s site.
If you’re unable to solve your issue, hire somebody who can help you on BP Job Board.
December 9, 2016 at 4:03 pm #261925In reply to: [Resolved] Groups Display Error
Venutius
ModeratorHave you tried deactivating all plugins apart from BuddyPress and using the 2016 theme? Does it work then?
December 9, 2016 at 10:41 am #261922In reply to: How to show groups user is an admin of?
danbp
ParticipantGet inspired from here:
https://buddypress.org/support/topic/list-groups-i-am-admin-of/#post-240213December 9, 2016 at 9:03 am #261919In reply to: /wp-admin/customize.php?return=wp-admin
danbp
ParticipantHi,
the only valid URL to theme customizer is:
../wp-admin/customize.php?return=%2Fwp-admin%2Fthemes.phpBuddyPress pages are not customizable like ordinary WP pages. BP pages have dynamic content and can be adjusted to any theme directly by CSS and a child theme. These page should only exist with a title, and nothing else.
Depending the theme you use, and his complexity, customize it to your need first. Once your WP works with the desired layout, you activate BuddyPress.
This should work flawless, out of the box generaly. If you estimate that some details, like a header width or an avatar size should be modified, you do that directly via CSS.
Read codex for more details about themes.December 9, 2016 at 12:39 am #261914In reply to: [Resolved] How to Hide Admin accounts 2016?
livingflame
ParticipantThis work okey –>: but, How I can Hide Admin from BuddyPress Widget??
—->
// Deny access to admins profile. User is redirected to the homepage function bpfr_hide_admins_profile() { global $bp; if(bp_is_profile && $bp->displayed_user->id == 1 && $bp->loggedin_user->id != 1) : wp_redirect( home_url() ); exit; endif; } add_action( 'wp', 'bpfr_hide_admins_profile', 1 ); // Hide admin's activities from all activity feeds function bpfr_hide_admin_activity( $a, $activities ) { // ... but allow admin to see his activities! if ( is_site_admin() ) return $activities; foreach ( $activities->activities as $key => $activity ) { // ID's to exclude, separated by commas. ID 1 is always the superadmin if ( $activity->user_id == 1 ) { unset( $activities->activities[$key] ); $activities->activity_count = $activities->activity_count-1; $activities->total_activity_count = $activities->total_activity_count-1; $activities->pag_num = $activities->pag_num -1; } } // Renumber the array keys to account for missing items $activities_new = array_values( $activities->activities ); $activities->activities = $activities_new; return $activities; } add_action( 'bp_has_activities', 'bpfr_hide_admin_activity', 10, 2 ); // Remove admin from the member directory function bpdev_exclude_users($qs=false,$object=false){ $excluded_user='1'; // Id's to remove, separated by comma if($object != 'members' && $object != 'friends')// hide admin to members & friends return $qs; $args=wp_parse_args($qs); if(!empty($args['user_id'])) return $qs; if(!empty($args['exclude'])) $args['exclude'] = $args['exclude'].','.$excluded_user; else $args['exclude'] = $excluded_user; $qs = build_query($args); return $qs; } add_action('bp_ajax_querystring','bpdev_exclude_users',20,2); // once admin is removed, we must recount the members ! function bpfr_hide_get_total_filter($count){ return $count-1; } add_filter('bp_get_total_member_count','bpfr_hide_get_total_filter');December 8, 2016 at 5:58 pm #261901In reply to: bp-template-notice failure
melodies
ParticipantI have tried with Firefox, Internet Explorer, and the Microsoft Edge browser. They are all having the same issue.
You will need an account to be able to access the BuddyPress pages.
What is a good email address or any alternative to send you the URL and a user account password to use for logging in?December 8, 2016 at 3:29 pm #261894In reply to: How do I integrate BuddyPress?
modemlooper
ModeratorTry another browser, the zip from .org should not download to local. It could also be an issue if you installed BuddyPress from a one click installer. They sometimes create bad folder permissions.
December 8, 2016 at 11:45 am #261891In reply to: User profile links are broken
danbp
ParticipantCheck your forum settings and sync WP and BP users.
Usually on a local site, and standard setup, while you use BP group forum, the forum slug is:
http://localhost/groups/group_name/forum/
If you use wampp, you should have a list of virtual hosts (aka site names), where you installed wordpress. This means also that wp is at the site root. If your site is called mario, you install wp there and then you should havehttp://mario/Once BP is activated, you’ll gethttp://mario/members/orhttp://mario/groups/and so on…The link to the forum user/author/commenter is
http://localhost/members/member_name/When you use bbPress as standalone forum (aside or without BuddyPress), the link looks like
http://localhost/root_forum/single_forum/forum_name/
Link to user is the same as the one indicated previously.More details here
You can also follow the bbPress install guide if you use bbPress separately.
December 8, 2016 at 11:27 am #261890In reply to: Newbie questions
mohamedouqas
Participant@danbp thank you , i’m a beginner my self and that’s how i did it , can you please answer my question here Broken user Link
December 8, 2016 at 11:19 am #261889In reply to: Newbie questions
danbp
Participantif you want to change the labels for you theme you can go to your theme directory and search for these words and replace them. That’s a rough, dirty trick to avoid. 😉
Much more simple, and best practice by the way, is to use the language file shipped with your theme.
But as we’re talking here about BuddyPress, most of the items are in the BP language file.
“Follower” sounds more like used by another plugin. But again, you’ll find it in that plugin language file.
2) There is a plugin: https://wordpress.org/plugins/buddypress-login-redirect/
3) you’re right, this need some custom coding. Read here how to do that:
If you search the forum, you’ll find many examples too.
December 8, 2016 at 9:55 am #261884In reply to: Site Directory – add tagline site description
danbp
ParticipantHi,
basically, you can get it by using WP’s
get_bloginfo()function (read here).There is also this BP function
bp_blog_description(), which works when you’re in the blog loop.You have also several action hooks in the blog template (bp-templates/bp-legacy/buddypress/blogs/blogs-loop.php) you can use to insert a blog description to the blog list.
December 8, 2016 at 9:34 am #261882In reply to: Chat groups
December 8, 2016 at 9:28 am #261881In reply to: WordPress 4.7 breaks BuddyPress
danbp
ParticipantHi @archie22is,
thank you for your report. But when you write such information, it is of your responsability to give correct information.
Such alarming title can confuse any user. It is unfair and to be honest, it is only concerning you (it’s your install who has that issue, not WordPress or BuddyPress, in their globality). Especially that the error message has nothing to do with BuddyPress.
In other words, you annonce 2 wrong information on the wrong forum.
The error is related to bbPress. And there is already a topic about this warning on WordPress support.
Read it and try to repair or add your own opinion to that topic.
Open also – if none exist – a topic on bbPress support. -
AuthorSearch Results