Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 3,876 through 3,900 (of 31,077 total)
  • Author
    Search Results
  • #260592
    danbp
    Participant

    Hi,
    you have to use a child-theme for this or you will loose any custom rule at next theme update.

    You can use something like this, where in your child style.css file has no importance.

    a,
    a:visited,
    a:hover,
    a:focus,
    a:active {	
    	color: #b61a1a; /*red */
    }

    http://www.w3schools.com/css/css_link.asp

    #260591

    In reply to: [Resolved] Last activy

    shanebp
    Moderator

    Create a template over-load of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\single\member-header.php

    In the overload, remove the span that shows the last_activity blurb.

    #260585
    danbp
    Participant

    hi @davehakkens,

    You use a standalone bbPress. Normally you have to ask on bbPress forum for such questions.

    Add this to bp-custom.php or child theme functions.php and give a try.

    i tested it with group forums only, so i couldn’t test all the filters.
    You might to find/experiment others.

    It’s a working example who fires the country value. But you’ll certainly have to complete it to get the flag image.

    function country_flag() {
    $user_id = bbp_get_reply_author_id();
    $country = xprofile_get_field_data( 'country', $user_id );
    
    	echo '<div class="country">'. $country .'</div>';
    	
    }
    add_filter( 'bbp_theme_after_reply_author_details', 'country_flag' );
    //add_filter( 'bbp_theme_before_topic_author', 'country_flag' );
    #260536
    Jonas
    Participant

    Your time stamps looks correct, I’m guessing you mean the Danish translation isn’t working correctly?

    You can grab the newest Danish Buddypress translation here https://translate.wordpress.org/locale/da/default/wp-plugins/buddypress followed by merging your current buddypress-da_DK.po file in poedit like this http://www.marketpressthemes.com/blog/how-to-merge-two-po-files-using-poedit/, translate the words you needs to translate, save it as both buddypress-da_DK.po and buddypress-da_DK.mo – and reupload it to your server in your language folder.

    #260535

    In reply to: how to add new members

    shanebp
    Moderator

    Re appearing on the members list, you can handle them has a batch; much faster than logging in as each member.

    For example, for all subscribers:

    function steve_add_last_activity() {
    
      $subscribers =  get_users( 'fields=ID&role=subscriber' );
      
       foreach ( $subscribers as $user_id ) {
    
            bp_update_user_last_activity( $user_id, bp_core_current_time() );
    
       }
    
    }
    //add_action('bp_init', 'steve_add_last_activity' );

    Uncomment the add_action ( iow. remove the // ) whenever you want to use the function.
    Put it in your theme functions.php or in bp-custom.php

    #260508

    In reply to: menu link member list

    danbp
    Participant

    See this tutorial if it helps.

    #260487

    In reply to: Profile Cover Image

    danbp
    Participant

    Afaik that you have to ask the theme author if you wouldn’t change it. It’s a premium theme and we can’t help you, as we have no access to his code.

    FYI, when you make customization, do it always in a child-theme. This not only save your work when a theme update comes up, but it let you also use another theme at any moment.

    #260472

    In reply to: Profile Cover Image

    cyanthaiger
    Participant

    I’m using the newest version of BP.
    The theme is called Woffice.
    Tested PB on two websites having the same plugins but a different theme. Seems to be a problem with my current theme Woffice.

    Is there a way to disable the header covers / bringing back the options with some php or something?
    I’ve almost set up the whole site, so changing themes isn’t going to work unfortunately.

    #260471

    In reply to: Profile Cover Image

    danbp
    Participant

    @cyanthaiger Which BP version do you use ?
    Please give also your plugin list and theme name.

    #260470

    In reply to: Profile Cover Image

    cyanthaiger
    Participant

    I can see them if I’m using a default theme but not with the Woffice theme.

    #260469

    In reply to: Profile Cover Image

    Venutius
    Moderator

    So you are not seeing those ones? Did you deactivate all other plugins and try a default theme?

    #260468
    danbp
    Participant

    Hi guys,

    you don’t need a plugin to get a contextual sidebar. You can do that with a few conditionnals and a function. Let’s take 2016 as example.

    Copy sidebar.php file of your theme to child-theme.
    Add an action hook to the template. Ie. xtra_sidebar
    Almost done !

    In Twenty Sixteen, it looks like this:

    <aside id="secondary" class="sidebar widget-area" role="complementary">
    
    	<?php do_action( 'xtra_sidebar' ); ?>
    	<?php dynamic_sidebar( 'sidebar-1' ); ?>
    
    </aside>

    Into bp-custom.php or child theme functions.php you add following function(s)

    If you want different custom sidebar content for different groups:

    function xtra_group_sidebar() {
       if ( bp_is_active( 'groups' ) ) {
    
          // conditionnal for group name (slug format)
          if ( bp_is_groups_component() && 'kill-bill' == bp_current_item() ):
    
    	 // your content
    	 echo '<section id="categories-2222" class="widget widget_categories">';
    	 echo '<h2 class="widget-title">what time is it Bill ? </h2>';
    	 $my_date = date('H:i'); echo $my_date; 
             echo '</section>';
          endif;
    		
          if ( bp_is_groups_component() && 'terminator' == bp_current_item() ):
    	 echo '<h3 style="color:red">WHO KNOWS ?</h3>';
          endif;
    		
          if ( bp_is_groups_component() && 'harry-poter' == bp_current_item() ):
             echo 'Hou ouh...';
          endif;
       }
    }
    add_action( 'xtra_sidebar', 'xtra_group_sidebar' );

    If you want a custom sidebar for profiles only, you use:

    function xtra_profile_sidebar() {
    
    	if ( bp_is_active('xprofile' ) && bp_is_user() ) {
    		?><section id="categories-1111" class="widget widget_categories">
    		<h2 class="widget-title">My profile sidebar</h2>
    		My sidebar content</section>
    <?php
    	}
    
    }
    add_action( 'xtra_sidebar', 'xtra_profile_sidebar' );
    function xtra_directory_sidebar() {
    
       if ( bp_is_active('xprofile' ) && bp_is_user() ) { 
    ?>
          <section id="categories-1111" class="widget widget_categories">
          <h2 class="widget-title">My directory sidebar</h2>
          My directory content</section>
    <?php
    	}
    }
    add_action( 'xtra_sidebar', 'xtra_directory_sidebar' );

    You can of course use the same technique for all other BP components.
    For profiles, you can even add a user_id check so you can personalize the sidebar for a given user.
    Or create a sidebar for visitors and another one for logged_in members… Sky is the limit ! 😉

    Note that the div and css names are theme dependant. The example use those of 2016 but you have to adjust that to fit your theme.

    Note also that most sidebars use listed content (ul/li). Try to respect that or you might break your theme. Check how it’s done and use the same. If you find ID numbers, use a very high number ! I use 1111, because i will never have 1111 widgets in my sidebar ! 😉

    Another way to do that would be to add conditionnals into the sidebar template. For example:

    if ( !this_component() ) {
       show the original sidebar
    } else {
       show my xtra sidebar
    }

    Hope it helps and happy templating ! 🙂

    #260460
    Steve
    Participant

    I think this might work. But I do not see the buddypress “profile” page in there. I just don’t see a “profile” page anywhere.

    Would I have to buy the premium plugin and use a custom URL. That means it would have to override the themes default sidebar. Seems risky for $50?

    Thanks for the link. I guess I will contact them to be assured this will work. I am tired of trying plugin and plugin after plugin…

    jenfilgate
    Participant

    1. Which version of WordPress are you running? 4.6.1

    2. Did you install WordPress as a directory or subdomain install? directory

    3. If a directory install, is it in root or in a subdirectory? root

    4. Did you upgrade from a previous version of WordPress? If so, from which version? yes 4.6.0

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. yes

    6. Which version of BP are you running? 2.7.0

    7. Did you upgraded from a previous version of BP? If so, from which version? 2.6.2

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?

    – AsynCRONous bbPress Subscriptions
    – BackWPup
    – BAW Login/Logout menu
    – bbP private groups
    – bbPress
    – bbPress auto subscribe for new topics and replies
    – BP Direct Menus
    – BuddyPress
    – BuddyPress for LearnDash
    – BuddyPress NoCaptcha Register Box
    – Cloudflare
    – CodeStyling Localization
    – Contact Form 7
    – Content Aware Sidebars
    – Custom Post Type Page Template
    – Draw Attention
    – Gallery Carousel Without JetPack
    – Google XML Sitemaps
    – LearnDash & BBPress Integration
    – LearnDash – Gradebook
    – LearnDash Content Cloner
    – LearnDash LMS
    – LearnDash Pro Panel
    – LearnDash WooCommerce Integration
    – Livemesh SiteOrigin Widgets
    – MailChimp for WordPress
    – Members page only for logged in users
    – Page Builder by SiteOrigin
    – Post Types Order
    – Postman SMTP
    – Prevent Content Theft Lite
    – Revolution Slider
    – Simple User Profile
    – SiteOrigin Widgets Bundle
    – Slideshow
    – Slim Stat Analytics
    – The Events Calendar
    – Theme My Login
    – Ultimate Posts Widget
    – User Login Log
    – W3 Total Cache
    – Widget Importer & Exporter
    – WooCommerce
    – WooCommerce MailChimp
    – WordPress Importer
    – WP Better Emails
    – WP Smush

    9. Are you using the standard WordPress theme or customized theme? customized

    10. Which theme do you use ? Invent

    11. Have you modified the core files in any way? no

    12. Do you have any custom functions in bp-custom.php? no

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? 2.5.10

    14. Please provide a list of any errors in your server’s log files. none

    15. Which company provides your hosting? InMotion Hosting

    16. Is your server running Windows, or if Linux; Apache, nginx or something else? Apache

    I did the tests you recommended and it was my W3 Total Cache plugin that was causing the issue. I will have to look into that to figure out what setting was messing it up. @Scaffies doesn’t have that plugin, so guess our issues were caused by different things.

    #260446
    nhatnnt1
    Participant

    Hello.
    Sorry for late reply. I had to reinstall several times and install wordpress not script. I do not understand why.
    If BuddyPress plugin and theme running on the host. It works well. But when up vps is problematic. I have tried many ways.
    Looking forward to your suggestions.

    #260443
    Emmanuel
    Participant

    I am using
    wordPress 4.6.1
    buddyPress 2.7
    I deleted the other plugins. only buddypress plugin is active but the problem remains
    I try other theme but nothing happen

    #260440
    Venutius
    Moderator

    I set up this permalink structure and afterwards was able to create a group on my test server, so that’s not it.

    What other plugins are you running? Have you tried deleting all but BuddyPress? Also try with the 2015 theme.

    #260425
    danbp
    Participant

    Hi,

    you’re using a one page theme, which is not the easiest to start with for a beginner.

    I would recommand that you read first your theme documentation.

    One of the first line of the documentation contains:
    This WordPress theme can be entirely configured via WordPress Theme Customizer […].

    I encourage you to use that feature, before adding custom code.

    I tested the theme. Downloaded and activated. I didn’t upload the bunch of additionnal plugins recommanded by the author. At a first glance, all seems to work correctly. And my register page has a header.

    Out of the box, the theme comes with a header image. You can change it via the customizer.
    Dashboard > Apparence > Header

    As it is a one page, you have no (easy)possibility to assign different headers to different pages, like what you apparently try to do. The BP register page runs with the same header as the site.

    To change the CSS or BP templates, you need a child-theme. This let you make customization without loosing your changes after a theme, a BP or WP update.

    In the style.css of the child theme, you add this rule for the new header color:

    #header .bottom-header h2 {
        color: #000;
    }

    You can, for test purpose, add it to /illdy/style.css (which is empty). But be aware that it will certainly be overwritten at next update.

    Any other question related to your theme should be asked on theme support (you already asked there for the same as here).

    https://codex.wordpress.org/Child_Themes

    #260417
    coffeywebdev
    Participant

    Buddypress does not support this functionality out of the box, but with a little PHP knowledge one could make these adjustments to your buddypress site.

    Be sure when making customizations that you don’t overwrite the plug-in! You can include BuddyPress/bbPress template files in your theme and modify them to do whatever you want. The possibilities are endless!

    Check out the BuddyPress documentation for more info on extending BuddyPress for custom features.

    BuddyPress Codex

    #260413
    davidself1001
    Participant

    When i go to the admin settings BP Profile Tabs. I thought that is where you go to define the extra tab content. It has been quit a while ago since i originally created my tabs but i thought that was where i did it. when i go there i see a choice for jQuery UI Theme, CDN anc custom jQuery UI theme. it shows an example of what extra tabs would look like but no button for adding a tab. is that not where the tabs are created?

    #260408
    rfk55tn
    Participant

    Thank you for your help.

    When I did the install of BP I followed this guide: https://premium.wpmudev.org/blog/buddypress-guide/ Initially, I was using another theme which required nesting the pages in order to make a drop down menu in associated groups within the header. When I installed the twentysixteen theme I did not remove that nesting. So, I ended up with up with that mess you found. By removing the nesting – which wasn’t needed – through Pages in Admin, all of the buttons have come back. The “Groups” page works wonderfully.

    I was under the impression that BP was a plug-in that was added to WP through the use of the “Add” feature within WP. How would I do an install of BP “at the same level of WP”? As a plug-in, doesn’t it install within WP? Would it be necessary to do a reinstall of the entire site to get two, same level installs?

    #260407
    danbp
    Participant

    Hi,

    you need a function to do that.

    Here’s one who will show the user id on profile header and on members directory.
    Add it to bp-custom.php or child theme functions.php

    function razman_user_id_display() {
    	if ( bp_is_user() ) {
    		$user_id = bp_displayed_user_id();	
    	} else {
    		$user_id = bp_get_member_user_id();
    	}
    		
    	echo '<div class="myuser-id">My user ID: '. $user_id .'</div>';
    	
    }
    add_action( 'bp_before_member_header_meta', 'razman_user_id_display' );
    add_action( 'bp_directory_members_item', 'razman_user_id_display' );
    #260405
    danbp
    Participant

    Hi,

    it seems that you have a lot of pages on the site and that you use weird settings.

    I would do the following:
    – remove any redirect settings and other done via plugins.
    – deactivate all plugins except buddypress.
    – activate 2016, and not a child theme.
    – ensure that each active BP component has a page assigned and that this page is unique, without any template or model assigned. Just a title and nothing else.
    Actually, you have links like “…/americannexus.net/activity/members/” (found in the Who’s on widget). Or the link to Archangel’s profile indicates “../americannexus.net/activity/members/archangel/”

    That’s unusual and cannot work properly, except if your WP is in a directory called “activity”. And it is not the case ! Note also that BP should be at the same level as WP.

    – set up pretty permalinks (what ever but default option) and save.

    – and read attentively the install guide.

    Other dysfunctionning points:
    The toolbar has a Register button who link to ../americannexus.net/join/ (this works correctly)
    but the homepage shows ../americannexus.net/register/. If you want visitors to register, send them to /join/ page and not to an empty page.

    …and of course, this link doesn’t work too (at least for a not logged visitor) : ../americannexus.net/activity/groups/create/

    Here the list of correct slugs of a default BP install:
    – your-site.net
    – your-site.net/register/
    – your-site.net/activity -> BP site activity page (active by default)
    – your-site.net/members/ -> BP members directory (mandatory)
    – your-site.net/groups/ -> BP groups directory (if group component is active)

    These BP pages are dynamic and depending the context, you can have ie:
    your-site.net/members/USERNAME -> goes to a profile
    your-site.net/members/USERNAME/friends -> goes to the friends screen of the specified user

    It works the same for groups.

    Once BP and WP are working correctly together, you can reactivate the child theme and your plugins.

    #260393
    danbp
    Participant

    Can’t say more! The site is not public, you use S2 members, pages are redirected, and you use a premium theme. And apparently you’re unable to provisory revert to a standart install without undoing a lot of settings. If you couldn’t test, how could we do ?

    I presume there is a little js conflict somewhere – which could explain the jumping page phenomenom.
    Afaik you have to ask on the theme support how to adjust the layout while using BuddyPress.

    #260390
    realmai
    Participant

    Dear danbp,

    First of all, I really many Thanks for your respond.

    The issue

    1. I deleted the bp-custom.php and then only define in wp-config.php with define(‘BP_DEFAULT_COMPONENT’, ‘profile’ );
    it can’t work even i clear the browser cache. (chrome)

    2. Then I create the file /wp-content/plugins/bp-custom.php
    <?php
    define(‘BP_DEFAULT_COMPONENT’, ‘profile’ );
    ?>

    But it also not well.

    Suppose the landing page will like this demo:
    http://seventhqueen.com/themes/kleo/members/kleoadmin/

    that’s means I can’t set below link to be the landing page
    http://www.petsbk.com/members/’profile&#8217;

    Regard,
    Mr. Lai

Viewing 25 results - 3,876 through 3,900 (of 31,077 total)
Skip to toolbar