Search Results for 'toolbar'
-
Search Results
-
Topic: Disabling Toolbar
Hi,
I seem to be in a spot of bother. I want to disable the wordpress toolbar from my site. I know how to disable it through BuddyPress however when it is disabled I lose the menu in the top right corner that has the links to profile, messages, notifications and so on.
I am thinking of 2 solutions for this:
1) A widget I can place on a side bar that has all the functions of the BuddyPress menu. I’ve looked through a fair amount of plug ins but can’t seem to find anything like what I am looking for. So does something like this exist? I have seen several plug ins that can give me widgets for some functions, but nothing that will get me to the profile page that is created within BuddyPress.
2) I create a profile page and add the BuddyPress profile elements to that page. However, I can not find any short codes that will help me on this.
I am open to suggestions and being pointed in the right direction. I would like to use BuddyPress on my site as other plug ins I intend to use work well with this, but having the black toolbar at the top making it blatantly obvious it is a wordpress site is making it a deal breaker for me.
I am sorry if this is making me sound entitled but I am working on an extremely tight budget and even tighter deadline, and my web developer messed me around giving me false hope of helping me out till I was about to start development. I’m running out of options. The only thing I can promise is to give praise to the BuddyPress community on my company website… When I get around to building it after I built this site.
Thank you for your time.
Hi,
After instalation plugin, show error message:
[30-May-2017 16:02:22 UTC] Erro de banco de dados do WordPress Table ‘portal.wp_2_bp_xprofile_fields’ doesn’t exist para a consulta SELECT name, parent_id, type type FROM wp_2_bp_xprofile_fields feita por require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/woffice_2.4.1/woffice/page.php’), get_footer, locate_template, load_template, require_once(‘/themes/woffice_2.4.1/woffice/footer.php’), wp_footer, do_action(‘wp_footer’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, wp_admin_bar_render, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, Woffice_Setup->toolbar_admin_menu, woffice_get_settings_option, fw_get_db_settings_option, FW_Db_Options_Model->get, FW_Db_Options_Model_Settings->get_options, _FW_Component_Theme->get_settings_options, _FW_Component_Theme->get_options, fw_get_variables_from_file, require(‘/themes/woffice_2.4.1/woffice/framework-customizations/theme/options/settings.php’), _FW_Component_Theme->get_options, fw_get_variables_from_file, require(‘/themes/woffice_2.4.1/woffice/framework-customizations/theme/options/buddypress.php’)
Help me, please?
Thank’s
Hey all I’m attempting to modify the content returned by BuddyPress’ default ‘@’ mention notification. I’m using this as part of a custom profile page and would like to modify the “username mentioned you’ text to something more personalized based on post type.
// Change mention output function format_mention_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string', $component_action, $component_name, $notification_id) { if ( $component_action === 'new_at_mention') { // User mentioned notification $mentioned_source_type = get_post_type($item_id); $username = wl_get_username($secondary_item_id); $mention_avatar = wl_get_avatar($secondary_item_id); $mention_title = ''; $mention_text = $username; if ($mentioned_source_type == 'topic') { $mention_title = bbp_get_topic_title( $item_id ); $mention_text .= ' mentioned you in the forum post '; $mention_source_link = ''; // link to topic } else if ($mentioned_source_type == 'reply') { $parent_topic_id = bbp_get_reply_topic_id( $item_id ); $mention_title = bbp_get_topic_title( $parent_topic_id ); $mention_text .= ' mentioned you in their response to the forum post '; $mention_source_link = bbp_get_reply_url( $item_id ); // link to reply } else if ($mentioned_source_type == 'comment') { $comment = get_comment($item_id); $mention_text .= ' mentioned you in their comment'; $mention_source_link = get_comment_link($comment); } else { $mention_avatar = ''; $mention_title = get_the_title($item_id); $mention_text = 'You were mentioned in '; $mention_source_link = get_permalink($item_id); } $mention_source_link = wp_nonce_url( add_query_arg( array( 'action' => 'read', 'notification_id' => $notification_id), $mention_source_link ), 'bp_notification_mark_read_' . $notification_id); // WordPress Toolbar if ( 'string' === $format ) { $return = apply_filters( 'bp_activity_single_at_mentions_notification', '<a href="' . esc_url( $mention_source_link ) . '" title="New mention">'. $mention_avatar . esc_html( $mention_text ) . '<span class="activity-title">'.$mention_title.'</span></a>', (int) $total_items, $mention_text, $mention_source_link ); // Deprecated BuddyBar } else { $return = apply_filters( 'bp_activity_single_at_mentions_notification', array( 'text' => $mention_text . $mention_title, 'link' => $mention_source_link ), $mention_source_link, (int) $total_items, $mention_text, $mention_title ); } } return $return; } add_filter( 'bp_notifications_get_notifications_for_user', 'format_mention_notifications', 100, 8 );
What I’ve tried so far:
– Changing the priority of the filter
– Moving my logic into theactivity_format_notifications
action with various different priorities
– All of the above in a custom plugin file, bp-custom.php, and my themes’ function.php fileI’ve used a similar filter for custom notifications and that aspect works great. I just can’t seem to override the default content with my own. My thoughts are that the the filters/actions run too late to be noticed by BuddyPress.
Many thanks for your help.
Hello,
Wanted to test today the profile fields for https://www.yourweb.org/wp-admin/users.php?page=bp-profile-setup but got a blank (white) page. The source text shows me the following:<!DOCTYPE html> <!--[if IE 8]> <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 wp-toolbar" lang="de-DE"> <![endif]--> <!--[if !(IE 8) ]><!--> <html xmlns="http://www.w3.org/1999/xhtml" class="wp-toolbar" lang="de-DE"> <!--<![endif]--> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Profilfelder ‹ yourweb.org — WordPress</title> <script type="text/javascript"> addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}; var ajaxurl = '/wp-admin/admin-ajax.php', pagenow = 'users_page_bp-profile-setup', typenow = '', adminpage = 'users_page_bp-profile-setup', thousandsSeparator = '.', decimalPoint = ',', isRtl = 0; </script> <meta name="viewport" content="width=device-width,initial-scale=1.0">
Unfortunately I’m unable to get access to the profile fields setup page. Using WP 4.7.3, BP 2.8.2, BP Xprofile Custom Fields Type 2.6.3 with PHP 7, MySQL 5.6
Any help? Thx!
Topic: WP V 4.7.2
Hi there,
I am using buddypress and bbpress. I got a problem in forum notification. For subscribed forum, I get email for both new topic and reply. But I do not get notification for NEW TOPIC in website profile toolbar (for reply, its working fine). Can anyone help me out?Topic: Change BuddyPress Login Link
So I’m using the buddypress Login/register links in my header, but the login link redirects to the standard wordpress page, my theme came with a custom login page so I’d like to use that page, how could I achieve that?
Did some research on here and Google but all I get are toolbar plugins and code that doesn’t work…
Thanks in advance!
I use WP version 4.7, RamboPro theme 2.5 and BuddyPress
After installing Woocommerce, the toolbar disappeared for regular users (users higher than ‘contributor’ do see the toolbar).
There is 1 closed topic in this forums addressing this, yet the solutions do not work for me:
1. Henry Wright suggested the following
“I think WooCommerce might disable the admin bar but I’m not entirely sure why. Try adding this to your theme’s functions.php file:add_filter( ‘woocommerce_disable_admin_bar’, ‘__return_false’ );”
However, this will permanently show the toolbar, even for users who are not logged in (which is what I want to avoid).
Does anyone know a good solution?
I asked about this in the “how to” section” but received no response, so I’m repeating my question. I have all of Buddypress set up, but there is no Log IN button for menus or footers, only a widget. I can’t get anyone to log in our sign up because options don’t exist on my site.
Also, I can’t even find what version of Buddypress I’m using because the plugin is no longer listed in my installer, the dashboard is there.
I’m using WordPress 4.7.
I’m using your plugin on a domain: https://alllivesaresacred.com
Log IN is only available as a widget, in the right sidebar. People often ignore what is in sidebars.
Can you provide a shortcode for my issue?
Thank You,
Lisa DeSherlia