Search Results for 'theme'
-
AuthorSearch Results
-
May 22, 2018 at 5:57 pm #273329
In reply to: Mobile activity menu
Venutius
ModeratorFirst thing I’d check is if you are running a separate mobile theme, which could be configured to use a different activity page. If that were the case then it’s likely that theres an overloaded activity theme file in the child-themes/buddypress directory. It’s also possible to write a plugin to do the same though – serve a different set of options to mobile pages.
May 22, 2018 at 4:38 pm #273318In reply to: Profile notification and settings pages broken
Ninaj
ParticipantHi everyone – it looks like I solved this. I needed to delete the lines in home.php in both in my theme buddypress template under members>single and groups that refers to the ‘forum’.
May 22, 2018 at 4:30 pm #273317In reply to: Profile notification and settings pages broken
Ninaj
ParticipantThis is now showing up on the staging site notifications page:
Fatal error: Uncaught Error: Call to undefined function bp_is_user_forums() in /nas/content/staging/soberocity/wp-content/themes/soberocity-theme/buddypress/members/single/home.php:91 Stack trace: #0 /nas/content/staging/soberocity/wp-includes/template.php(690): require() #1 /nas/content/staging/soberocity/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(155): load_template(‘/nas/content/st…’, false) #2 /nas/content/staging/soberocity/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(61): bp_locate_template(Array, true, false) #3 /nas/content/staging/soberocity/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(338): bp_get_template_part(‘members/single/…’, NULL) #4 /nas/content/staging/soberocity/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-theme-compat.php(212): bp_buffer_template_part(‘members/single/…’, NULL, false) #5 [internal function]: BP_Members_Theme_Compat->single_dummy_content(”) #6 /nas/content/staging/soberocity/wp-includes/class-wp- in /nas/content/staging/soberocity/wp-content/themes/soberocity-theme/buddypress/members/single/home.php on line 91May 22, 2018 at 3:18 pm #273312In reply to: Mobile activity menu
Venutius
ModeratorHi there, some things to check:
wp-content/plugins/bp-custom.php - general bp customisations wp-content/themes/your-child-theme/functions.php - general wp customisations wp-content/your-child-theme/buddypress/activity etc. bp page overloadsThose three files/locations are where most customisations will be done, but they could also be done via plugins so you should check what you have loaded as well.
May 22, 2018 at 9:40 am #273298In reply to: BP3.0 strange behavior
awpt
ParticipantI had the same problem but here is a temporary solution until you get your theme or buddypress updated again.
May 22, 2018 at 9:36 am #273297In reply to: Go back to 2.9.4 (issues with 3.0.0)
awpt
Participantas I see there are problems in the last version with custom themes.
Fatal error: Uncaught Error: Call to undefined function bp_is_user_forums() in /Applications/XAMPP/xamppfiles/htdocs/wordpress/wp-content/themes/mytheme/buddypress/members/single/home.php:91 Stack trace: etc etc etc…
So line 91 I changed to
elseif ( class_exists('bbPress') && bp_is_user_forums() ) :and its working fine now because bbpress is not installed, maybe is better including the new buddypress templates instead but I have edited it to bootstrap classes and IDs so this was a temporary solution for me.
May 21, 2018 at 11:43 pm #273283r-a-y
KeymasterThanks for the report.
What theme are you using? If you are using a premium theme, can you try debugging by switching the theme temporarily to a WordPress default one like one of the Twenty themes (Twenty Seventeen, Twenty Sixteen, etc)?
May 21, 2018 at 5:59 am #273249In reply to: Comment Button and Reply Not showing
tatiana_k
ParticipantComment buttons aren’t shown in Groups for ordinary users (neither for Group members nor for Group Admins). Only Site Admin can see them. Favorites and Delete Buttons are in their places.
I tried both Nouveau and Legacy themes, no console errors.
I suppose these two comments issues are actually the same issue.
May 20, 2018 at 3:20 pm #273239In reply to: BuddyPress 3.0, no new users since…
nasihahnet
ParticipantI face the same problem since I updated to version 3.0
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘bp_activity_reset_my_new_mentions’ not found or invalid function name in /home/nasihah2/public_html/wp-includes/class-wp-hook.php on line 286
it shows with user profile page and it seem to be there is confelect with buddypress x-profile plugin
I am using boss theme from buddybossMay 20, 2018 at 1:47 pm #273223In reply to: bp-nouveau vs bp-legacy
Paul Wong-Gibbs
KeymasterI am pretty sure themes will choose to use one template pack or another. It will be almost impossible to support multiple template packs.
May 20, 2018 at 1:46 pm #273220In reply to: Comment Button and Reply Not showing
kevlew
ParticipantThe template is the Buddypress Legacy. Not sure how to check the console. We are using Kleo theme.
May 20, 2018 at 7:31 am #273202In reply to: Forums No Longer Appearing After Update
Varun Dubey
Participant@mrlen Legacy Forums support is removed with BuddyPress v3.0.0 and theme also need to update accordingly. Please check with your theme support
For details, you can check https://bpdevel.wordpress.com/2017/12/07/legacy-forums-support-will-be/May 19, 2018 at 6:05 am #273178In reply to: Rtmedia doesnt work with buddypress 3.0?
Varun Dubey
Participant@bjoerndz rtMedia working fine with BP 3.0.0 with the legacy template.
For Nouveau, they have to work on the template file, you can check with their support for template styling related to Nouveau.
https://drive.google.com/a/wbcomdesigns.com/file/d/11vfmqRo0QO9J6-euUnvmAQOm4dHFCruc/view?usp=drivesdk with default WordPress theme.May 19, 2018 at 5:52 am #273177Varun Dubey
Participant@andreia22
bp_is_user_forums() no longer used in core, but supported for third-party code.
legacy forum support removed in BP v3.0 you can find the details here https://bpdevel.wordpress.com/2017/12/07/legacy-forums-support-will-be/You can check with your theme support to update the corresponding codes inside the theme.
You can keep using legacy template pack for while and after your theme vendor announces support for nouveau you can switch on it.
May 19, 2018 at 2:27 am #273176In reply to: Sorting my custom members-loop-2 loses the filtering
panosa1973
ParticipantIs this a bug? I’ve been trying to figure this out for days. Why does my custom member directory revert to the default when I sort it??? I load it, it works fine and outputs the filtered users. I sort it by Alphabetical order (for example) and it gives me all users again. Does anyone have an idea why this is happening?
[members-loop-2.php]
<?php /** * BuddyPress - Members Loop * * Querystring is set via AJAX in _inc/ajax.php - bp_legacy_theme_object_filter() * * @package BuddyPress * @subpackage bp-legacy */ /** * Fires before the display of the members loop. * * @since 1.2.0 */ do_action( 'bp_before_members_loop' ); ?> <?php if ( bp_get_current_member_type() ) : ?> <p class="current-member-type"><?php bp_current_member_type_message() ?></p> <?php endif; ?> <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) .'&include=' .get_user_matches() ) ) : ?> <div id="pag-top" class="pagination"> <div class="pag-count" id="member-dir-count-top"> <?php //bp_members_pagination_count(); ?> </div> <div class="pagination-links" id="member-dir-pag-top"> <?php bp_members_pagination_links(); ?> </div> </div> <?php /** * Fires before the display of the members list. * * @since 1.1.0 */ do_action( 'bp_before_directory_members_list' ); ?> <ul id="members-list" class="item-list" aria-live="assertive" aria-relevant="all"> <?php while ( bp_members() ) : bp_the_member(); ?> <li <?php bp_member_class(); ?>> <div class="item-avatar"> <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a> </div> <div class="item"> <div class="item-title"> <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a> <?php if ( bp_get_member_latest_update() ) : ?> <span class="update"> <?php bp_member_latest_update(); ?></span> <?php endif; ?> </div> <div class="item-meta"><span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_last_active( array( 'relative' => false ) ) ); ?>"><?php bp_member_last_active(); ?></span></div> <?php /** * Fires inside the display of a directory member item. * * @since 1.1.0 */ do_action( 'bp_directory_members_item' ); ?> <?php /*** * If you want to show specific profile fields here you can, * but it'll add an extra query for each member in the loop * (only one regardless of the number of fields you show): * * $xGender = bp_member_profile_data( 'field=Gender' ); */ ?> </div> <div class="action"> <?php /** * Fires inside the members action HTML markup to display actions. * * @since 1.1.0 */ do_action( 'bp_directory_members_actions' ); ?> </div> <div class="clear"></div> </li> <?php endwhile; ?> </ul> <?php /** * Fires after the display of the members list. * * @since 1.1.0 */ do_action( 'bp_after_directory_members_list' ); ?> <?php bp_member_hidden_fields(); ?> <div id="pag-bottom" class="pagination"> <div class="pag-count" id="member-dir-count-bottom"> <?php //bp_members_pagination_count(); ?> </div> <div class="pagination-links" id="member-dir-pag-bottom"> <?php bp_members_pagination_links(); ?> </div> </div> <?php else: ?> <div id="message" class="info"> <p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p> </div> <?php endif; ?> <?php /** * Fires after the display of the members loop. * * @since 1.2.0 */ do_action( 'bp_after_members_loop' );[index-2.php]
‘<?php
/**
* BuddyPress – Members
*
* @package BuddyPress
* @subpackage bp-legacy
*//**
* Fires at the top of the members directory template file.
*
* @since 1.5.0
*/
do_action( ‘bp_before_directory_members_page’ ); ?><div id=”buddypress”>
<?php
/**
* Fires before the display of the members.
*
* @since 1.1.0
*/
do_action( ‘bp_before_directory_members’ ); ?><?php
/**
* Fires before the display of the members content.
*
* @since 1.1.0
*/
do_action( ‘bp_before_directory_members_content’ ); ?><?php /* Backward compatibility for inline search form. Use template part instead. */ ?>
<?php if ( has_filter( ‘bp_directory_members_search_form’ ) ) : ?><div id=”members-dir-search” class=”dir-search” role=”search”>
<?php bp_directory_members_search_form(); ?>
</div><!– #members-dir-search –><?php else: ?>
<?php bp_get_template_part( ‘common/search/dir-search-form’ ); ?>
<?php endif; ?>
<?php
/**
* Fires before the display of the members list tabs.
*
* @since 1.8.0
*/
do_action( ‘bp_before_directory_members_tabs’ ); ?><form action=”” method=”post” id=”members-directory-form” class=”dir-form”>
<div class=”item-list-tabs” id=”subnav” aria-label=”<?php esc_attr_e( ‘Members directory secondary navigation’, ‘buddypress’ ); ?>” role=”navigation”>
-
<?php
/**
* Fires inside the members directory member sub-types.
*
* @since 1.5.0
*/
do_action( ‘bp_members_directory_member_sub_types’ ); ?><li id=”members-order-select” class=”last filter”>
<label for=”members-order-by”><?php _e( ‘Order By:’, ‘buddypress’ ); ?></label>
<select id=”members-order-by”>
<option value=”active”><?php _e( ‘Last Active’, ‘buddypress’ ); ?></option>
<option value=”newest”><?php _e( ‘Newest Registered’, ‘buddypress’ ); ?></option><?php if ( bp_is_active( ‘xprofile’ ) ) : ?>
<option value=”alphabetical”><?php _e( ‘Alphabetical’, ‘buddypress’ ); ?></option>
<?php endif; ?><?php
/**
* Fires inside the members directory member order options.
*
* @since 1.2.0
*/
do_action( ‘bp_members_directory_order_options’ ); ?>
</select></div>
<h2 class=”bp-screen-reader-text”><?php
/* translators: accessibility text */
_e( ‘Members directory’, ‘buddypress’ );
?></h2><div id=”members-dir-list” class=”members dir-list”>
<?php bp_get_template_part( ‘members/members-loop-2’ ); ?>
</div><!– #members-dir-list –><?php
/**
* Fires and displays the members content.
*
* @since 1.1.0
*/
do_action( ‘bp_directory_members_content’ ); ?><?php wp_nonce_field( ‘directory_members’, ‘_wpnonce-member-filter’ ); ?>
<?php
/**
* Fires after the display of the members content.
*
* @since 1.1.0
*/
do_action( ‘bp_after_directory_members_content’ ); ?></form><!– #members-directory-form –>
<?php
/**
* Fires after the display of the members.
*
* @since 1.1.0
*/
do_action( ‘bp_after_directory_members’ ); ?></div><!– #buddypress –>
<?php
/**
* Fires at the bottom of the members directory template file.
*
* @since 1.5.0
*/
do_action( ‘bp_after_directory_members_page’ );
‘May 18, 2018 at 4:59 pm #273151In reply to: Changing profile layout based on membership
wbcomdesigns
Participant@hanza3 multiple layouts can be created for profile view and it can be wrapped with membership conditions. We had tried a similar approach to our BuddyPress theme which offers members to choose their profile layout from their profile and site admin can also set the default layout for members. With some customization, it can be used with membership levels.
May 18, 2018 at 2:57 pm #273143In reply to: No more Forums tab inside the group since 3.0
m1000
ParticipantBut I have bbpress 2.5.14 on the website, tested it under default WP themes.
May 18, 2018 at 1:57 pm #273139JanDieckmann
ParticipantHello,
yesterday it worked fine, today I get the error message
Oops! That page can’t be found.
It looks like nothing was found at this location. Maybe try a search?for all lists of group activities. The groups are still correctly listed in my profile but when clicking on them, the don’t show the list of activities any more.
Between both situation was the update this morning to BuddyPress Version 3.0.0. WordPress is running on 4.9.6. I use a Twenty Fifteen Child theme, but it happens also after changing to an official theme. I deactivated all plugins and reactivate only BuddyPress but see no difference.
The groups are still there and also there activities, I can see and open them from the Dashboard.
I changed the permalink settings several times but it has no influence.
Any suggestions?
Bye
JanMay 18, 2018 at 11:17 am #273130In reply to: bp-nouveau vs bp-legacy
Varun Dubey
ParticipantIt will help you to set default template pack for the theme, little confusing for now as site admin’s choices will not work inside BuddyPress Option after defining add_theme_support.
May 18, 2018 at 11:13 am #273129In reply to: bp-nouveau vs bp-legacy
Varun Dubey
ParticipantYou can define following
add_theme_support('buddypress-use-nouveau');or
add_theme_support('buddypress-use-legacy');May 18, 2018 at 10:44 am #273127In reply to: bp-nouveau vs bp-legacy
Varun Dubey
Participant@devoctopix it will be hard to keep support for both templates in a single theme. You can force Legacy via ‘buddypress-use-legacy’ on existing themes.
May 18, 2018 at 9:53 am #273125Topic: bp-nouveau vs bp-legacy
in forum How-to & Troubleshootingdevoctopix
ParticipantHi,
I was wondering if it was possible to build a theme compatible with both existing template packs (nouveau and legacy).
For MYTHEME/buddypress/members/members-loop.php can we have MYTHEME/buddypress/bp-nouveau/members/members-loop.php and MYTHEME/buddypress/bp-legacy/members/members-loop.php ?
And how to manage the fact that the theme can be used for BP3.0+ and BP2.9.X ?
Thanks in advance!
Varun Dubey
Participant@joaovitorb you can use css and if you need structural changes inside the template files you can override them inside child theme
May 17, 2018 at 11:36 pm #273105Dggerhart
ParticipantHi,
I’m reading lots of posts that are a 18 mo’s to more than two years old. So I thought to re-ask the question, hoping for some more current advice.
How can I stop Spam Users from registering?
WordPress 4.9.6 running Idyllic theme.
BuddyPress Version 2.9.4
Site https://insideouthope.orgWhat’s the plugin, combination of them or other treatment we can deploy that will best insulate our real community from vermin?
My inclination is to blacklist/whitelist domains somehow.
Thanks in advance for your considered response(s).
May 16, 2018 at 6:45 pm #273066In reply to: Image upload quality
Varun Dubey
ParticipantYou can use codes to set cover image sizes, you can set width and height as per your theme cover section aspect ratio.
function bbp_cover_image( $settings = array() ) { $settings['width'] = 1200; $settings['height'] = 300; return $settings; } add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'bbp_cover_image', 10, 1 ); add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'bbp_cover_image', 10, 1 ); -
AuthorSearch Results