Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 21,276 through 21,300 (of 31,072 total)
  • Author
    Search Results
  • #95578
    Hugo Ashmore
    Participant

    thekmen’s advise should be noted to refer to a true custom theme rather than a child theme.

    If you are running as a ‘child theme’ i.e you are using and referencing the bp-default files – even if you have copied over some to customise then that is a child theme and you are still loading the original functions.php so DON’T copy anything in it over to your own file as that duplicates or attempts to call the same function twice and that results in problems.

    #95561
    youlichika
    Member

    Sorry. I lost paste some code. I forget use `backticks`.
    “ is under the path in wordpreewp-contentpluginsbuddypressbp-themesbp-default
    Now I want include some one from the path wordpresswp-contentthemesmythemename.
    How to write correctly? Thanks.

    #95560
    Roger Coathup
    Participant

    If you are not familiar with building child themes in WordPress / BuddyPress – you should read this page before beginning:

    https://codex.buddypress.org/extending-buddypress/building-a-buddypress-child-theme/

    #95559
    Roger Coathup
    Participant

    Where do you want to write the code – is it in a file in your child theme?

    If the files are in the same directory, e.g. in your child theme folder, use something like:

    locate_template( array( ‘myfile.php’ ), true )

    It sounds though as though you are wanting to modify code in bp-default. You shouldn’t be modifying bp-default! All your changes should be in your child theme.

    #95558
    youlichika
    Member

    and can I move the index.php into a new folder under the theme parent folder?
    If can, which files should be edited?
    In any case, I still want to try to divide a page into several parts… If there has some codes support…
    Thanks again.

    #95551
    youlichika
    Member

    Yes, I copy the theme for a new to edit.
    Is the homepage’s name called: main index templete?

    #95549
    Roger Coathup
    Participant

    @bojanski

    hide_sitewide is a boolean, and in this line is being used to test whether an activity item has been marked as hidden or not – (it’s not a count @tom_taylor_85)

    You should NOT be modifying the code there – that’s a core file, and you’ll run into problems when you upgrade if you’ve modified them. You’ve also changed the logic to say: if an item is marked as hidden get it to display – which is not what you want.

    @bojanski – can you be clearer about what you mean by “remove sitewide activity tab” – do you mean you want to remove the main Activity page from the main nav bar?

    If the latter – edit it out in header.php in your child theme.

    #95547
    techguy
    Participant

    In order…
    -Depends what you mean, but this is a built in featured to BP
    -This is pretty much a requirement for BP. Although, you can choose how big or small you want the profiles to be
    -Groups in BP should satisfy this. You can make them public, hidden or private.
    -This is a widget in the default BP theme
    -Just turn it on in the BP settings
    -There are a couple picture plugins. One that’s paid that’s pretty good from BuddyDev.com Another one that’s getting really close called BP Media. They have a version available now, but it’s basic. In a month? or so it will have even more features.
    -These can just be added to your theme anywhere that you think would be good.

    So, pretty much everything but the pictures is available by default with BP. The pictures need the plugin.

    #95539
    paulhastings0
    Participant

    Theoretically it’s possible, but I would really discourage it at this point. You’re basically contemplating taking some 100+ files (I’m guestimating that number, it might actually be closer to 200) from a BuddyPress compatible theme and making them all accessible in the WordPress theme editor. It would be an absolute nightmare.

    #95536
    modemlooper
    Moderator

    Do not edit the theme files from the folder bp-default. you need to create a child theme first. This way you won’t mess up your installation and can upgrade.

    #95530

    In reply to: Theme problems

    Paul Wong-Gibbs
    Keymaster

    Can you share a link to your site?

    #95517
    Deb Smith
    Participant

    I figured it out – I needed to copy the group-header file into my child theme. It’s working fine now.

    #95515
    thekmen
    Participant

    I’m using latest branch which will be 1.2.6 on a pretty busy site at the moment (http://xfactor-updates.com/members/) and it’s extremely stable so far.
    One thing I would say is that if you are upgrading & using a custom theme, you will have to make some updates to your functions.php.
    Code to display join/leave group buttons and so on, secondary activity stream avatars as well as localisation for a few JS terms will need to be added.
    All required code can be found in the latest bp-themes/bp-default/functions.php

    #95502
    Roger Coathup
    Participant

    “activity private” – was just a general thought if you’d added a plugin or other custom code.

    As I said before, without detailed info about your configuration, and your theme – it’s going to be difficult for anyone to help you on this one.

    Does it only affect one user, or more than one?

    Can you simulate it on one machine / browser – i.e. try activity for 2 users – do they both work?

    #95499

    In reply to: how to edit menus?

    @mercime
    Participant

    The navigation menu is in the header.php starting here https://trac.buddypress.org/browser/tags/1.2.5.2/bp-themes/bp-default/header.php#L46
    You can change the links by creating a Child Theme so your revisions won’t be overwritten when BP is upgraded.
    You won’t find the BP menus in the Appearance > Menu unless you revise the links in navigation menu an code navigation menus function in your theme’s functions.php file and add the template tag for that in header.php – https://codex.wordpress.org/Navigation_Menus
    You can also try out this plugin – https://buddypress.org/community/groups/add-all-nav-links-to-bp-adminbar/home/

    #95480
    apwinthrop
    Participant

    The theme hasn’t changed in months, but the person’s activity does not seem to appear on the sitewide stream. No privacy plugins – or blockage of engines. Dumb question- how do you make your activity private?

    Cheers

    #95475
    Roger Coathup
    Participant

    It’s highly unlikely that it’s a bug in the activity stream – hundreds / thousands of sites run the BuddyPress activity stream without problem.

    It’s almost certainly something wrong in your bespoke theme / bp-custom.php file.

    Have you changed the theme since the second person carried out their activity? Does it show in the main site activity stream? Have you installed some privacy plugins, or has the member specified that their activity is private? Is the site hidden from search engines?

    It’s impossible to provide much more help without a lot more information about your site configuration and the details of your theme code.

    #95474
    ithacaindy
    Member

    Ah! I was thrown by a prompt that said the theme offered logo management – perhaps the mention referred to the default buddypress theme. I appreciate your answer, though.

    #95467
    Roger Coathup
    Participant

    This question would be better directed to the plugin developer (it’s not really a BuddyPress question)… they should be able to tell you what elements you need to have defined in your theme.

    Note: We use wp-fb-autoconnect on one of our bespoke BuddyPress sites without problem.

    #95459
    Roger Coathup
    Participant

    and, yes… you can write any php you like. Have a look through some of the includes in the default theme files (and also the use of locate_template )

    #95453
    modemlooper
    Moderator

    switch out the image file in the theme folder. I think it’s logo.png

    #95450
    @mercime
    Participant

    @jhansensd Agree with @hnla. You asked for advice and that’s the standard one that you’ll get to isolate what the conflict is. You might also want to check out
    https://codex.buddypress.org/getting-started/before-installing/#wp-configuration
    Then if all’s well with BP plugin, you activate your custom theme and see how it works out. install the other WP plugins one by one to find out which one is conflicting with BP.

    EDIT – took too long to answer, two already did

    #95448
    pcwriter
    Participant

    @jhansensd

    Yes, it is a common issue… and almost always plugin or theme related.
    Follow the advice given by @hnla to troubleshoot your install.
    Start by deactivating your custom theme to see if that’s the problem.
    If not, then deactivate all plugins, and reactivate them one by one to track it down.

    #95444
    pcwriter
    Participant

    @ithacaindy

    Yes, the theme will support custom menus via the addition of my Add-All-Nav-Links-to-BP-Adminbar plugin.
    https://buddypress.org/community/groups/add-all-nav-links-to-bp-adminbar/
    http://nowrecovery.com/justfunstuff/add-all-nav-links-to-bp-adminbar/

    The original idea for this theme, and the reason I’m developing it, was to help make navigation more streamlined for users by combining the adminbar and main nav into a single unit. I released the plugin first, ‘cuz it works just fine with child themes of bp-default. Now I’m working on the theme to go with it. Of course, the theme will work just fine without the plugin, but…

    When will it be available to purchase? Hopefully by the end of this month, I’ll have an initial release of the freebie. If all goes well on road tests of that release, the premium should become available by end of November. :-)

    #95434
    Paul Wong-Gibbs
    Keymaster

    Feature-proof until we add a new screen or function in the core code. If your theme is a child theme of BP-Default, then it’ll automatically get those updates, otherwise they’d have to be added. I think you’re probably safe for the next few months at least.

Viewing 25 results - 21,276 through 21,300 (of 31,072 total)
Skip to toolbar