Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 3,701 through 3,725 (of 31,073 total)
  • Author
    Search Results
  • #262401
    danbp
    Participant

    Hi @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 > Discussion

    The message is coded in bp-core/bp-core-moderation.php:135 and is applied to $max_links variable.

    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.

    #262398

    In reply to: Broken after install

    baramagnus
    Participant

    Same thing happens to me, although I don’t get the code. I just get the menu on the left but the rest off the screen is blank. I have latest WordPress and there are no other plugins or themes that can cause a conflict.

    #262395
    BexxBl
    Participant

    okay i found a solutuion.

    since my theme has theme options i just needed to disable the login/register popups under gerneral.

    #262374
    snorklebum
    Participant

    Hi,

    Is this the free version of the customizr theme you are running? Which page isn’t showing correctly? I run this theme on my site and can’t see any problems anywhere but maybe I’m looking in the wrong place.

    dekoningalex
    Participant

    Hi i really want to do this too, but i am new to Php.

    This is all the code in my header.php

    <!doctype html>
    <html <?php language_attributes(); ?>>
    <head>
    	<meta charset="<?php bloginfo( 'charset' ); ?>" />
    	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    	<link rel="profile" href="http://gmpg.org/xfn/11">
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    	<?php wp_site_icon(); ?>
    	<?php 
    		$id = get_queried_object_id();
    		$page_scroll = (get_post_meta($id, 'page_scroll', true) == 'on' ? 'page_scroll' : '');
    		$snap_scroll = (get_post_meta($id, 'snap_scroll', true) == 'on' ? 'snap_scroll' : '');
    		$rev_slider_alias = get_post_meta($id, 'rev_slider_alias', true);
    		$smooth_scroll = (ot_get_option('smooth_scroll') != 'off' ? 'smooth_scroll' : '');
    		$header_style = (get_post_meta($id, 'header_style', true) ? get_post_meta($id, 'header_style', true) : ot_get_option('header_style', 'style1'));
    	?>
    	<?php
    		$class = array();
    	 	array_push($class, $page_scroll);
    	 	if(!empty($snap_scroll)) { 
    	 		array_push($class, 'snap');
    	 	}
    		array_push($class, $smooth_scroll);
    	?>
    	<?php 
    		/* Always have wp_head() just before the closing </head>
    		 * tag of your theme, or you will break many plugins, which
    		 * generally use this hook to add elements to <head> such
    		 * as styles, scripts, and meta tags.
    		 */
    		wp_head(); 
    	?>
    </head>
    <body <?php body_class($class); ?> data-themeurl="<?php echo THB_THEME_ROOT; ?>">
    <div id="wrapper" class="open">
    	
    	<!-- Start Mobile Menu -->
    	<?php do_action( 'thb_mobile_menu' ); ?>
    	<!-- End Mobile Menu -->
    	
    	<!-- Start Quick Cart -->
    	<?php do_action( 'thb_side_cart' ); ?>
    	<!-- End Quick Cart -->
    	
    	<!-- Start Content Container -->
    	<section id="content-container">
    		<!-- Start Content Click Capture -->
    		<div class="click-capture"></div>
    		<!-- End Content Click Capture -->
    		<?php 
    			if (thb_accountpage_notloggedin()) {
    				get_template_part( 'inc/header/subheader' );
    				get_template_part( 'inc/header/'.$header_style );
    			}
    		?>
    		<?php if (is_page() && $rev_slider_alias) {?>
    			<?php $rev_slider_white = get_post_meta($id, 'rev_slider_white', true); ?>
    			<div id="home-slider" class="<?php echo esc_attr($rev_slider_white); ?>">
    				<?php if (function_exists('putRevSlider')) { putRevSlider($rev_slider_alias); } else { _e('Please Install & Activate Revolution Slider', 'bronx'); }?>
    			</div>
    		<?php  } ?>
    		
    		<div role="main" class="<?php echo esc_attr($snap_scroll); ?>">
    			<?php if(!empty($snap_scroll)) { ?><div class="ai-dotted ai-indicator"><span class="ai-inner1"></span><span class="ai-inner2"></span><span class="ai-inner3"></span></div><?php } ?>

    Where do i add the from your example in the code?

    <div id="testid"><?php echo bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ); ?></div>
    

    I already added the css to the childs theme style.css and added the three php snippers for correctly placing the bubbles as well, this is the only part i don’t understand so far.

    Thanks

    #262360
    Henry Wright
    Moderator

    Just to add, Twenty Fifteen is a good theme to use for testing against. It will help determine if the issue is theme-related. Also try deactivating plugins one by one to try to find the culprit. Sometimes a plugin can cause an issue such as this.

    #262356
    JeffWillia.ms
    Participant

    The 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.

    #262342
    pare81
    Participant

    Hi,

    you can test this within your themes function.php:

    add_action( 'bp_profile_header_meta', 'bp_info_viewer' );
    
    function bp_info_viewer() {
    if (function_exists('bp_displayed_user_id')) {
        $user = new WP_User( bp_displayed_user_id() );
    	echo '<span class="user-loginname">';
    	echo $user->user_login;
    	echo '</span>';
       }
    }

    within your css you can style .user-loginname { ... }

    Hope this help

    #262318
    pare81
    Participant

    I’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

    #262316
    danbp
    Participant

    @superpuperlesha,

    please, 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:

    Getting Started

    #262315
    superpuperlesha
    Participant

    Hello!
    My user After register can not add any posts on newsfeed. They have message “there was a problem posting your update please try again”
    I deactivateted all plugins and have clear child theme.

    Help my please.

    #262293

    In reply to: Custom Messages Panel

    danbp
    Participant

    Hi,

    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.

    #262290
    tonyxs1
    Participant

    Hello, I asked the support of theme, but does not answer me, I wanted to do it alone and I would not buy another theme seen how much does this onesocial.

    #262278
    danbp
    Participant

    Change your theme ? Adjust CSS ? Ask the theme author ! It is not a BuddyPress issue.

    #262277
    danbp
    Participant

    When 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.php

    In 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.

    #262271
    pare81
    Participant

    If 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
    Pare

    #262269
    danbp
    Participant

    Hi,

    deactivate FB plugin (and all others too) and try only with BP.
    Test also WP/BP only with Twenty Sixteen theme.

    #262241
    danbp
    Participant

    The easiest way would be to use your own widget instead of the default one. The file containing that widget is here: bp-messages/classes/class-bp-messages-sitewide-notices-widget.php

    Make a copy of the code and add your custom message inside the widget. Add the whole into bp-custom.php or your child-theme functions.php

    #262239

    In reply to: Filter activities

    danbp
    Participant

    Hi,

    BuddyPress is a swissknife, when used out of the box, does a lot of things. But like a swissknife, you have to choose the knife or the tool you need precisely at the moment M. And like with the famous knife, you have to do this manually.

    Filtering the general activity.
    There is a default filter with several options,
    You can modify the activity loop display via the template,
    You can write some functions for more customization.

    This is pretty much for a component, and almost available for all BP components. Not exactly what you could qualify as “not built-in”… But you’re right, it is not “ready to use” via a “clickodrome” or a press’n’play customizer (not yet).

    If you search the forum, yo’ll find a lot of related topics, and some with working snippets.
    On the codex, you have also many information. Ie. :

    Using bp_parse_args() to filter BuddyPress template loops

    Activity dropdown filters in templates

    #262226

    In reply to: Problem With Pages

    danbp
    Participant

    Hi,

    BP pages are not ordinary WP pages. BP use the page system to assign a permanent slug, while content stays dynamic. Usual WP pages are static.

    BP pages must be unique. This means also without assigned template, model and of course, should be a slug to a page, and not a sub-page. These page are not intended to be published and exist only for internal use. You don’t need to build a menu for register and activation. Normally, these items come up, depending the context (theme, plugins, widgets) and/or the user status.

    Related to “activation” and “register” and most of BP components, you need to declare a “page” for each, despite the fact that BP will only use them to insert a template. Registration will receive xprofile fields which are added to the existing WP registration form.
    And another template for the Activation stuff, depending the context: activation key, success message and so on.

    #262223
    JeffWillia.ms
    Participant

    @pare81

    Did you have to do anything other than paste the code into your child theme functions.php file?

    I tried it, but was unsuccessful.

    Thanks!

    #262214
    pare81
    Participant

    Hi Guys,

    I’ve found an solution.

    For childthemes you have to check the following infos:

    BuddyPress Cover Images

    Here is what I have paste to my child themes functions.php, and now the cover image works:

    function your_theme_cover_image_css( $settings = array() ) {
        /**
         * If you are using a child theme, use bp-child-css
         * as the theme handel
         */
        $theme_handle = 'bp-child-css';
    
        $settings['theme_handle'] = $theme_handle;
    
        /**
         * Then you'll probably also need to use your own callback function
         * @see the previous snippet
         */
         $settings['callback'] = 'bp_legacy_theme_cover_image';
    
        return $settings;
    }
    add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
    add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
    #262213
    danbp
    Participant

    OK. Let’s say that the issue is the child theme.

    What is a child theme ? An empty style.css containing a header information saying to WP, hey here is a child !

    Another file can be there: functions.php. This file is empty and will be filled in the time with custom functions.

    With BuddyPress, you can have a “buddypress” folder, containing rewamped templates. For example, the profile header template or your member directory page…

    As BP template where recently modified (2.7), you have to verify your template customization (if any). See here if it helps:

    Template Updates 2.7

    If you’re not concerned by templates, you have to check your custom functions or custom JS (if any)

    And voila.

    #262212
    pare81
    Participant

    Hi danbp,

    Thanks for your reply.
    Worked fine on all Themes, with all my other plugins. Only if I choose the child theme of my Plugin, the cover photo is not shown. If I change to an other theme, the cover photo is shown. Do I switch back to my child theme, the cover photo as away.

    Do I have to do somethin for childthemes? user picture woks, only Cover image has this prob.

    Thanks and regards
    Patrick

    #262209
    danbp
    Participant

    @jeffwilliams-1,

    @pare81
    ,

    did you respect the size instruction ? Sizes are theme dependant and vary from one install to another.
    When it comes to image issues under BP, you’ll need to test your install without any plugin and only a Twenty theme active (never another one) as first and check if you can upload medias.
    If OK, you activate BP and check again.

    You may also verify that the attachment folder exist and has eventually the correct write rights on the server: wp-content/uploads/buddypress/members/USER_ID/cover-image/ Similar path may exist for groups, which use /groups/GROUP_ID/ instead of /members/USER_ID/

    If all is OK with Twenty, WP and BP, you can activate your plugins, one by one and testing after each. If still OK, you activate or install the definitive theme.

    If things went wrong at this stage, you can be sure there is an issue with YOU or the theme.

    You because you have omit a setting or did a wrong setting, or the theme, because all was ok while using a Twenty…

Viewing 25 results - 3,701 through 3,725 (of 31,073 total)
Skip to toolbar