Search Results for 'buddypress'
-
AuthorSearch Results
-
December 28, 2016 at 9:58 am #262423
In reply to: Can’t get BuddyPress activated
Paul Wong-Gibbs
Keymaster@johnjamesjacoby This specific error has already been fixed in BuddyPress trunk a couple weeks ago (I don’t have the changeset number to hand). netweb fixed an identical problem in bbPress a couple of months ago: https://bbpress.trac.wordpress.org/changeset/6113/trunk
December 28, 2016 at 9:56 am #262422In reply to: Can’t get BuddyPress activated
Paul Wong-Gibbs
KeymasterThe issue reported by @larsivar two weeks ago is by a change in PHP 7.1. We have fixed this specific issue for an upcoming release — our ticket tracking PHP 7.1 is here https://buddypress.trac.wordpress.org/ticket/7392
While we could ship a release today to fix that specific error, there is at least 1 other PHP 7.1 error that I know about, which is in WordPress itself, which I reported here https://core.trac.wordpress.org/ticket/39277
We’ll do more testing for PHP 7.1 in BuddyPress in the first couple weeks of the new year (probably) and ship what fixes we have. We may or may not choose to wait for the next minor release of WordPress (4.7.1) before doing that. Still to be determined.
December 28, 2016 at 9:54 am #262421In reply to: Broken after install
Paul Wong-Gibbs
Keymaster@wautersandreas and @danbp Fatal errors with that exact message are caused by a change in PHP 7.1. We have fixed this specific issue for an upcoming release — our ticket tracking PHP 7.1 is here https://buddypress.trac.wordpress.org/ticket/7392
While we could ship a release today to fix that specific error, there is at least 1 other PHP 7.1 error that I know about, which is in WordPress itself, which I reported here https://core.trac.wordpress.org/ticket/39277
tl;dr We’ll do more testing for PHP 7.1 in BuddyPress in the first couple weeks of the new year (probably) and ship what fixes we have. We may or may not choose to wait for the next minor release of WordPress (4.7.1) before doing that. Still to be determined.
December 27, 2016 at 11:41 pm #262415In reply to: Toolbar disappears after Woocommerce install
danbp
ParticipantSorry, but we can’t assist you for premium theme or third party plugin issues. The toolbar is part of WordPress and BuddyPress only allows you to show/hide it for logged out users. See checkbox in BP’s main settings: Show the Toolbar for logged out users.
Control if you have a specific function runing in your theme functions.php file. If you don’t know how to proceed, ask for help on your theme support. If you find nothing in the theme, ask on woocommerce support.
December 27, 2016 at 10:48 pm #262411In reply to: [Resolved] How to Hide Admin accounts 2016?
livingflame
ParticipantSolution: HIDE ADMIN FROM BP WIDGETS AND DIRECTORY
This code is complementary for the other ==>
So, full code:
// Exclude Admin from Directories and BP Widgets add_filter( 'bp_after_has_members_parse_args', 'buddydev_exclude_users' ); function buddydev_exclude_users( $args ) { //do not exclude in admin if( is_admin() && ! defined( 'DOING_AJAX' ) ) { return $args; } $excluded = isset( $args['exclude'] )? $args['exclude'] : array(); if( !is_array( $excluded ) ) { $excluded = explode(',', $excluded ); } $user_ids = array( 1, ); // enter user ids here $excluded = array_merge( $excluded, $user_ids ); $args['exclude'] = $excluded; return $args; } // 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 );December 27, 2016 at 2:34 pm #262405danbp
ParticipantGroup Forum use bbpress which has his own support. Ask there please.
BuddyPress doesn’t use roles outside what you setup in your WordPress settings.December 27, 2016 at 2:08 pm #262403In reply to: Broken after install
danbp
ParticipantHi guys,
which theme do you use ? Try with Twenty Sixteen or fifteen, and if you deactivated the toolbar in your settings, try to activate it, then activate BP again.
Another thing to try is to not use the theme customizer. Setup WP, then BP and use a twenty theme, without customizer actions. This basic trio should work.
If your site use php 7+, try to use only php 7.0 (not 7.0.x) as BP is not ready for the very latest php version at this time… You could also try to use only php 5.6 instead of 7.0…
Just in case of, as this was already mentionned on Trac, you can follow about that issue on #7406
December 27, 2016 at 1:45 pm #262401danbp
ParticipantHi @venutius
The explanation of this error message and how to solve it can be found here:
https://codex.wordpress.org/Option_Reference
You just have to adjust the comment max links in WP settings > General > DiscussionThe message is coded in bp-core/bp-core-moderation.php:135 and is applied to
$max_linksvariable.Also…
When you get such myterious message, the first place to check for is the pot file! All words used by BuddyPress are listed there, including file names and line numbers. That way, it is easy to get the origin, the function name or some dev’s comment for what is going on.
This trick applies also for theme and other plugins.December 26, 2016 at 9:36 am #262375In reply to: WordPress Customizer Problem
pare81
ParticipantOh, sorry, please close this ticket. My activation siteoption from buddypress was linked to my frontpage. That was the problem.
Best regards
PareDecember 24, 2016 at 2:08 am #262356In reply to: Buddypress Cover Photo Does Not Save
JeffWillia.ms
ParticipantThe solution:
Go to…
/wp-content/themes/child-theme/BuddyPress/css
Rename the CSS folder.
This causes the parent theme folder to load instead, and everything displays properly.
December 23, 2016 at 7:34 pm #262351In reply to: Rename Profile Tab Names
Codieslab
ParticipantHelLo Johnny
You need to apply buddypress hooks in functions.php file so you can change tab name.
just for change your language text name:
December 23, 2016 at 8:40 am #262335In reply to: Accidentally deleted Activation page
Henry Wright
ModeratorIn the WordPress admin area go to Pages and then create the page. Then under BuddyPress you can assign that page as the activation page.
December 23, 2016 at 5:11 am #262331In reply to: Need Advice for Stopping Spam at the Gate
modemlooper
ModeratorMake sure your registration slug is not “registration” or “signup” or any other guessable word. Change the slug frequently.
December 22, 2016 at 2:30 pm #262318In reply to: [Resolved] New Page within Buddypress Profile
pare81
ParticipantI’ve edited the code:
function my_setup_nav() { global $bp; bp_core_new_nav_item( array( 'name' => __( 'My Page', 'buddypress' ), 'slug' => 'my-page', 'position' => 70, 'screen_function' => 'my_page_template' ) ); } add_action( 'bp_setup_nav', 'my_setup_nav' ); function my_page_template() { bp_core_load_template( 'my-page-template.php' ); }Where I have to safe the “my-page-template.php”? I use a wordpress childtheme with included folder buddypress. Do I have to write some special informations within the my-page-template.php or is it enough to insert the shortcode?
actually the link from profile menu “my page” links to members overview page what not should be. it should linked to the my-page-template.php.
thanks
December 22, 2016 at 2:00 pm #262316danbp
Participantplease, never publish username and password or any ftp crendetials when you’re not asked for.
(i removed them)
Have you tested whith Twenty Sixteen ? If you use a child theme (what ever the theme) you must first test with the parent theme and if ok, test with the child.Did you allowed search engines (wp settings) ?
Are users allowed to comment (wp settings) ?
Is activity component enabled (bp settings) ?
Do you have an “activity” page ?
Are pretty permalinks enabled ?More infos ? Read here:
December 20, 2016 at 6:09 pm #262294In reply to: oEmbed video in site-wide activity
danbp
Participant@petervandoorn @henrywright @r-a-y,
Great job guys!
I updated the oembed Codex page accordingly .December 20, 2016 at 5:56 pm #262293In reply to: Custom Messages Panel
danbp
ParticipantHi,
BP has only a few templates who fit with almost any (good) wordpress themes, like BuddyBoss.
Firt you have to read your theme child-theme doc and eventually about BP template hierarchy.December 20, 2016 at 5:47 pm #262292In reply to: oEmbed video in site-wide activity
Henry Wright
ModeratorUpdate from the Trac ticket
BuddyPress uses a different hook name, but it should do the same thing. Try:
bp_embed_oembed_html.Thanks to @r-a-y for the info.
December 20, 2016 at 3:13 pm #262278In reply to: Problem with thumbnails
danbp
ParticipantChange your theme ? Adjust CSS ? Ask the theme author ! It is not a BuddyPress issue.
December 20, 2016 at 3:06 pm #262277In reply to: Problem form – post update
danbp
ParticipantWhen you don’t see a button, first thing to do is to ensure you see it when you use WP+BP+Twenty theme
When the base trio works, you activate your theme and you check again. If it is wrong, you know it is your theme (and not WP or BP or Twenty theme).
If you have plugins, you test’em the same way.
For what is related here, it is a CSS issue, related to your theme… You probably have to adjust the div height containing the form.
The Update form used for Site, Members and Group activities is in
wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/post-form.phpIn this file you can see the div’s name, class, ID. Search for them in your theme style.css.
DEpendingwhat you find or not, you declare (or redeclare the css) in your child theme. Note also that the update is handled by Javascript. This means in particular that you need absolutely to use same div id and classes to get it to work. If your theme is too customized and is changing that, you have to find the difference and adjust it/them eventually.Of course this adjustment vary from one theme to another and it is quite impossible to give you more guidance on how to handle that.
December 20, 2016 at 10:40 am #262271In reply to: Buddypress Cover Photo Does Not Save
pare81
ParticipantIf you use standard buddypress css, you have nothing to do. but if you have create an folder buddypress/css/buddypress.css within your childtheme folder, you have to define some css styles.
Best
PareDecember 20, 2016 at 8:52 am #262267In reply to: How to remove orders tab in profile?
danbp
ParticipantHi,
please read the woocommerce documentation. BuddyPress doesn’t use an “order” tab.
Read here BP’s navigation documentation:December 20, 2016 at 12:11 am #262264In reply to: Log In / Log out Widget Redirection
shanebp
ModeratorThe logout link is created on ~Line 84 of this file:
buddypress\bp-core\classes\class-bp-core-login-widget.phpYou need to change the
bp_get_requested_url()tosite_url()
<a class="logout" href="<?php echo wp_logout_url( bp_get_requested_url() ); ?>">However, hacking core files is not recommended.
The proper approach is to create your own widget and make the changes in your widget.
If you decide to write your own widget, also take a look at this file:
buddypress\bp-core\bp-core-widgets.phpDecember 18, 2016 at 10:45 pm #262245In reply to: Repeatable Field groups required
Paul Wong-Gibbs
KeymasterI looked into this a while ago. I don’t know if any plugins have provided it — if so, the code will be hacky — because achieving this requires changing some data storage we do in BuddyPress, which is a bit of a complicated issue to resolve well.
December 18, 2016 at 10:43 pm #262244In reply to: Fatal error PHP 7.1
Paul Wong-Gibbs
KeymasterThe situation is BuddyPress is incompatible with PHP 7.1 as things stand. One issue means a fix in BuddyPress (which we’ve already fixed, and will have out in a release soon, but probably after Christmas), and the other issue I’ve found (which BP sites have a realistic site of running into) require a fix in WordPress, which I hope that team will get done for WP 4.7.1.
-
AuthorSearch Results