Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 4,776 through 4,800 (of 31,073 total)
  • Author
    Search Results
  • #250704
    shanebp
    Moderator

    Is there a private method to provide a user/pw?

    There is no PMing for this site.

    But Dan has confirmed the issue with WP 2015, so it will be looked at.

    Perhaps you could confirm that it does not occur with another WP theme, maybe try 2013?
    And state which theme you are using?

    #250695

    In reply to: Login fields to long

    danbp
    Participant

    Replace in your child-theme css file

    input.input {
        width: 300px;
    }

    by

    input.input {
        width: 200px;
    }
    #250693

    In reply to: PUBLIC MESSAGE

    danbp
    Participant

    The css tag ID #aw-whats-new-submit may exist, but if your theme use some specific height or width for it which is different from what is used by BP in the js/css file, you didn’t see the button.

    This is a very common theme issue, handled on many topics on this forum.


    @tonyxs1
    logically in the template. The what’s new form is used on activity, profile and group page.

    You’ll certainly find some good information from these one or other search results:
    https://buddypress.org/support/search/what%5C’s+new+form/

    #250690
    danbp
    Participant

    @djpaul,

    i tried to reproduce and got same result as @gretchenlouise with one of WP theme.

    2016 = correct result (url /forums/search/word_to_search/)
    2015 = wrong result (url /forums/search/word_to_search/) i got the latest post…
    2014 = correct result (url /forums/search/word_to_search/)
    2013 = correct result (url /forums/search/word_to_search/)
    3rd party theme graphene = correct result

    Apparently 2015 doesn’t organize search like the other themes and/or ignore bbPress…

    Have a nice week-end.

    #250689
    danbp
    Participant

    Hi @jersey-peeps,

    i’m using wp-better-emails on a multisite BP install (lastest version) without any trouble. I changed the “from” field within this plugin admin.

    On a single WP install (lastest version), i use this from within child-theme’s functions.php
    So if you uninstalled better_emails, you could try these snippets.

    //notification mail email change
    add_filter('wp_mail_from','custom_email_from');
    function custom_email_from($mail) {
    	$mail = 'your@mail.name'; // Replace the email address here //
    	return $mail;
    }
    
    //notification name change; optional
    add_filter('wp_mail_from_name','custom_email_from_name');
    function custom_email_from_name($name) {
    	$name = get_bloginfo('YOUR SITE NAME');//put your own text here
    	return $name;
    }

    In hope it helps you. 😉

    #250671

    In reply to: translation email

    Paul Wong-Gibbs
    Keymaster

    @airsid

    IF your translation file is up to date (have you re-downloaded the files to check?), those strings should be getting translated.

    Otherwise, another option is to edit the email template. Copy buddypress/bp-templates/bp-legacy/buddypress/assets/emails/single-bp-email.php into your theme and make whatever changes you want.

    @mcuk
    Participant

    Those selectors were based on the Themeforest demo site, so they may not match your actual site. Without seeing your site its not possible to say. So you’ll have to use f12 to find out if its correct.
    Did you try ctrl-A without including any new bubble or top-menu CSS to see if anything was there?
    Did you insert the correct name of your menu in the php code?

    #250659
    mtraps
    Participant

    Okay thanks. I’ll have to do some more research.Do you recommend using a theme that is meant for buddy press or would any theme work perfect with buddypress?

    #250652
    shanebp
    Moderator

    You mean when viewing a single conversation / thread on your site?

    Paragraph breaks are shown properly when viewed in WP themes like 2013.
    Try switching momentarily to a WP theme to see if your issue is related to your theme.

    #250651
    mtraps
    Participant

    Thanks for the super quick response! I’ve looked into that. I personally thought buddy press allowed user to post from the front end already? Without this plugin they would have to login a backend using wordpress admin type settings?

    Is buddy press best used with a theme that has buddy press integrated or could I use a theme like Divi and it would work perfectly fine? Also, would you know of a plugin that will filter out all the users posts sort of like Kijiji or amazons filter on the left? I am not even sure what that is called to search for it on google. Thanks again!

    #250648
    shanebp
    Moderator

    You need to provide a user / pw if you want someone to look at your forums.

    Make sure your issue is not related to your theme; switch momentarily to a WP theme like 2013.

    #250640

    In reply to: Visible profile fields

    idoobi
    Participant

    Forgot to mention: using latest BuddyPress, bbPress in Divi theme.

    #250594
    richdal
    Participant

    Had to also copy over a couple functions to my theme’s functions.php file, rename them and make a couple minor changes, but was successful for me.

    bp_xprofile_get_field_types()
    bp_xprofile_create_field_type()

    #250589
    shanebp
    Moderator

    You’ll need to be able to write and debug code.

    You can create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\profile-loop.php

    Set a variable with the current user role. Google how to get that value.

    Then create an array of profile field ids for a role.
    For example :

    if ( $current_role == 'model' )
        $show_fields = array( 1, 5, 23 ); 
    elseif( $current_role == 'photographer' ) 
        $show_fields = array( 1, 7, 12, 35 );

    Then check if the current profile field is in that array.
    Something like:

    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
    	<?php if ( in_array( bp_get_the_profile_field_id(), $show_fields ) ) : ?>
    	
    		<?php if ( bp_field_has_data() ) : ?>
    	
    			<tr<?php bp_field_css_class(); ?>>
    	
    				<td class="label"><?php bp_the_profile_field_name(); ?></td>
    	
    				<td class="data"><?php bp_the_profile_field_value(); ?></td>
    	
    			</tr>
    	
    		<?php endif; ?>
    		
    	<?php endif; ?>

    Avoid setting any fields to ‘required’ if you’re only going to show them based on role.

    #250579
    snazzypack
    Participant

    Thanks for your response Henry.

    I am checking out your links now, but something came to mind. The issue I have is that this link sends customers to a WordPress login area, that looks exactly like the login screen for administrators (white screen with WordPress logo up top. I really don’t like that and would like the login page to look like the themes login page and I already have a login page that looks the way it should (which is why I am trying to which the link to direct to it).

    Maybe, is there a way to change the look of the login page?

    #250564

    In reply to: Widget memberbox

    Mathieu M.
    Participant

    Well,

    I’ve tested your solution, and if it seems to duplicate all the elements from the Buddypress menu, it looks not so good : here’s the screenshot

    Is it a problem with my theme (Hueman) ?

    Thanks.

    #250535
    IngeB1983
    Participant

    Hi Paul,

    Thank you for responding.

    To answer your questions:

    * How were you customising your activation emails?
    -I was changing lines in the .pot file in PoEdit and generated a new .mo file in order to personalise the activation mail a bit more. (No core files were adjusted or changed)
    -I made a change in the buddypress.min.css file

    * Is your site sending other emails correctly, or are all emails broken? Can you test to be sure?
    I have only sent out activation emails up to this point. To test your question, I have manually added myself as a user and activated the account. Then, I send a confirmation email which it DID send, only the sender was WordPress instead of my site name.

    * Are you running WordPress multisite, or regular WordPress?
    Regular WP. No multisite

    * Do you run any plugins that change wp_mail or affect how emails are delivered? For example, any plugins that send email via Mailchimp, etc?
    Not to my knowledge. I am currently running these plugins:

    – BuddyPress
    – Child Theme Configurator
    – Jquery Updater
    – Members
    – Page Excerpt Widget
    – Rating Widget
    – User Submitted Posts

    All of them were running as well yesterday when it still worked.

    Let me know if you need any more info.

    Inge.

    @mcuk
    Participant

    Hi mikee1001,

    No worries :). I’m not familiar with that theme. But from your demo link (used the first of the three demos), the selector might be either:

    .top-bar ul>li.bubble or .top-bar ul>li.has-dropdown.bubble .

    This assumes that your live version of the theme is set up like their demo though. Note that I have added the .bubble. As a check if you remove that bit from the selector and add something like border= 1px solid red; you should see a change on your site. If not then the selector is wrong.

    Have you got the bubbles appearing successfully somewhere on the page (even though you haven’t got the correct selector yet)? Check by pressing ctrl-A to select all, which highlights everything on your site in blue, then you can look for the numbers which are your notification counters etc. If you can’t see them then something may have been done wrongly and would need to be addressed prior to finding the correct CSS selectors.

    If you manage to get them appearing and put a link to your site then I could tell you what the correct selector is.

    Mike
    Participant

    Thanks so much for your step by step guide @mcUK. I’ve followed your instructions, but am stuck on changing the CSS Selector. The theme I’m using is (http://themeforest.net/item/sweet-date-more-than-a-wordpress-dating-theme/full_screen_preview/4994573), I’m trying to put the notifications in the top menu (Welcome/Features/Forums… on the demo, but I’ve added Buddypress menu items there). Do you know which selector I would need to use for that? Many thanks.

    #250497
    Henry Wright
    Moderator

    The alternative to having WordPress posts as “topics” and WordPress comments as “topic replies” is to theme bbPress. Check out the Theme Compat article for some introductory info. You can either use an already-made theme, or have a go at developing something unique yourself.

    @mcuk
    Participant

    Hi @mikee1001,

    The code i used for inserting the bubble counters for notifications, unread messages and total friends is:

    // Notification counter bubble
    function bptest_main_nav_notification_bubble( $items, $args ) {
        if( $args->theme_location == 'header-menu' ) { // In manage locations via WP Dash>Appearance>Menus
        	$items_array = array();
            while ( false !== ( $item_pos = strpos ( $items, '<li', 3 ) ) ) {
                $items_array[] = substr( $items, 0, $item_pos );
                $items = substr( $items, $item_pos );
            }
            $items_array[] = $items;
            array_splice( $items_array, 3, 0, '<li class="bubble">' . bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) . '</li>' ); // 0,0 1st position, 1,0 2nd, etc
            $items = implode( '', $items_array );
        }
        return $items;
    }
    add_filter( 'wp_nav_menu_items', 'bptest_main_nav_notification_bubble', 10, 2 );
    // Unread message counter bubble 
    function bptest_main_nav_message_bubble( $items, $args ) {
        if( $args->theme_location == 'header-menu' ) { // In manage locations via WP Dash>Appearance>Menus
            $items_array = array();
            while ( false !== ( $item_pos = strpos ( $items, '<li', 3 ) ) ) {
                $items_array[] = substr( $items, 0, $item_pos );
                $items = substr( $items, $item_pos );
            }
            $items_array[] = $items;
            array_splice( $items_array, 5, 0, '<li class="bubble">' . bp_get_total_unread_messages_count( bp_loggedin_user_id() ) . '</li>' ); // 0,0 1st position, 1,0 2nd, etc
            $items = implode( '', $items_array );
        }
        return $items;
    }
    add_filter( 'wp_nav_menu_items', 'bptest_main_nav_message_bubble', 10, 2 );
    // Total friends counter bubble
    // Note, 'bp_friend_get_total_requests_count' will give the total connection request count if desired
    function bptest_main_nav_friend_bubble( $items, $args ) {
        if( $args->theme_location == 'header-menu' ) { // In manage locations via WP Dash>Appearance>Menus
            $items_array = array();
            while ( false !== ( $item_pos = strpos ( $items, '<li', 3 ) ) ) {
                $items_array[] = substr( $items, 0, $item_pos );
                $items = substr( $items, $item_pos );
            }
            $items_array[] = $items;
    		array_splice( $items_array, 7, 0, '<li class="bubble">' . friends_get_total_friend_count( bp_loggedin_user_id() ) . '</li>' ); // 0,0 1st position, 1,0 2nd, etc
            $items = implode( '', $items_array );
        }
        return $items;
    }
    add_filter( 'wp_nav_menu_items', 'bptest_main_nav_friend_bubble', 10, 2 );

    In each of the above you will want to change the theme_location == 'header-menu' to theme_location == 'INSERT YOUR HEADER MENU NAME HERE'. The name of your menu is found via your WP Dashboard > Appearance > Menus. The three functions above were inserted into bp-custom.php .

    The positions of the bubbles will also need changing depending on where they should be in your menu. Do that by changing the numbers on the section array_splice( $items_array, 7, 0, '<li class="bubble">'. The comment alongside the line in the code should help you.

    You’ll also need some CSS for the bubbles otherwise you probably won’t see them even if they are functioning. If you hit ctrl-A to select everything on your web page, they should show up somewhere in your menu (assuming the code has been implemented correctly of course).

    As you can see in the functions above all the bubbles have been given a class called “bubble”. So put in your style.css (of your child theme) something like:

    #main-navigation .main-nav ul li.bubble {
    	transform: translate(0, 50%);
    	width: 20px;
    	height: 20px;	
    	padding: 2px 6px; 
    	border: 1px solid #000;
    	border-radius: 50%;
    	margin: 0 10px 0 0;
    	background: #fff;
    	color: #000;
    	font-size: 11px;	
    }

    The selector (#main-navigation .main-nav ul li.bubble) may be different on your site because it will depend on your theme etc. So use the developer tools, F12 button, on your browser to find out the correct one. It will be the bit before the .bubble that is different.

    Hopefully the above helps!

    Mike
    Participant

    Hi @mcuk , I’ve added Buddypress menu items (e.g. messages, notifications etc.) in my main WordPress menu, together with WordPress menu items (e.g. home). I also want to have the notification counters next to each of the Buddypress items, but am struggling to get your solution to work for me (doesn’t help I’m not that proficient in coding)! Should I add the code above to the functions.php of my child theme, and is it only that one file I need to edit?

    Many thanks.

    #250464
    Henry Wright
    Moderator

    This can be done by modifying your theme. BuddyPress uses a Template Hierarchy. If you have any specific questions feel free to ask them here 🙂

    #250454
    Hugo Ashmore
    Participant

    This requires an understanding of the WP approach to template parts and creating child themes (if you’re not already running as a child theme) plus the BuddyPress template hierarchy as outlined in our codex.

    One approach would be to take advantage of the ability to call named template parts in WP so get_header() can become get_header('no-logo') which would then look for a file namedheader-no-logo.php

    A copy of header.php renamed to header-no-logo.php means you can now call a file that you can specifically modify – in this instance in the simplest terms you could remove any calls to rendering logos/backgrounds in this file.

    Running your BP templates in your theme or child theme (see the bp codex templating guides) would then mean you could run a conditional query to see if in buddypress.php which get_header() template to use by using a check for bp_is_user() but you’ll need moderate php skills for this.

    The better approach is to use the advanced BP template hierarchy which would allow you to create a file to act as index.php with all header/footer calls just for BP user screens.

    The easy or possibly easier approach but not one I advice is to do what you have mentioned you have tried in using styles to hide the elements.

    You’ll need a top level class identifier so we know it’s the BP screens we’re looking at and applying rules to:

    body.bp-user .logo-element {display: none;}

    I can’t advice what the correct selectors are as I’ve no notion of your themes structure, you’ll need to identify them and test until you find the right combination.
    `

    #250448
    modemlooper
    Moderator

    Not too hard, add a button near avatar image and use css to place it over image. Hide the button until you hover.

    Read here on how to customize bp templates https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/

Viewing 25 results - 4,776 through 4,800 (of 31,073 total)
Skip to toolbar