Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 23,826 through 23,850 (of 32,561 total)
  • Author
    Search Results
  • #86891
    Mark
    Participant

    I tried this:

    remove_action( ‘bp_nav_items’, ‘bp_links_dtheme_header_nav_setup’);

    didnt work, is there any wrapping I should do for the functions?

    #86884
    Boone Gorges
    Keymaster

    Search the plugin files for something that looks like:
    add_action( 'bp_nav_items' .....
    ‘bp_nav_items’ being the operative code here.

    If you find something, let’s say
    add_action( 'bp_nav_items', 'add_discussion_tab_function' );
    copy that line, change ‘add_action’ to ‘remove_action’, and put it in the functions.php file of your theme. That should make sure that the tabs don’t appear.

    #86882
    Boone Gorges
    Keymaster

    Mark – just try putting that code somewhere in sidebar.php of your theme. You might need to wrap it in the appropriate divs in order to get it to display in a widget-like manner.

    #86876

    In reply to: Working with Titles

    rich! @ etiviti
    Participant

    have a look at the function bp_get_page_title() in bp-core-/bp-core-templatetags.php to see how the title is built. There is a filter which you can hook onto, albeit the page_title function is a bit lacking on certain pages.

    or

    create your own function (and just change your child theme header.php to the new)

    #86873
    rich! @ etiviti
    Participant

    depends on your theme – bp-default does not include a footer widget area

    Korhan Ekinci
    Participant

    @JordashTalon, how did you get it to work? I have wp 3 and latest bp with default bp theme. I am working on this for the past 3 days and no success!

    #86826
    Emmanuel Ezeali
    Participant

    Hi r-a-y, I gave it a try but am still stuck. Here is a tip of what I have http://thecoalcity.com/activity

    I have some thing I need help on:
    1. The layout: Its not displaying as is the case with my regular pages.
    2. I need a central page for buddypress, say “community”. As is the case here.
    3. The buddypress navigation tab at the tab, is there a way for it not obstructing my Header image?

    Note: I have not applied the buddypress theme, do I have to – since I don’t want the whole of my site to be buddypress?

    Thanks a lot.

    #86822
    Ali Erkurt
    Participant

    Nope. My child theme might caused such a problem but it’s not related with “Reply” button. Child theme’s style.css has “@import url(bp-default/_inc/default.css” code, so it loads id’s and classes from this file. What might be the problem?

    #86815
    José M. Villar
    Participant
    #86784
    Korhan Ekinci
    Participant

    Actually, i do use the bp default theme.

    It directs to:
    /wp-content/plugins/wp-fb-autoconnect/_process_login.php

    #86782
    r-a-y
    Keymaster

    Can you try using the bp-default theme with the WP-FB-AutoConnect plugin and see if you have the same problem?
    Also what page is it attempting to redirect to?

    rich! @ etiviti
    Participant

    works in the theme’s function.php file (also make sure you don’t have curly quotes – at least copying the above code resulted in)

    #86750
    Hugo Ashmore
    Participant

    Yes the problems were multiple and as I described earlier :) Glad it’s working now, just take extra care when chopping templates around and with what I suspect is a mixture of theme files?

    #86739
    skrubis
    Member

    Here is default buddypress theme css-
    http://pastebin.com/dSGYPkX5
    Here is the single.php
    http://pastebin.com/p0bkc1Ck

    what exactly do I need to edit??

    #86713
    modemlooper
    Moderator

    Did you change any of the id’s or classes in the html?

    #86686
    David Z
    Participant

    I had a similar problem. I spent a lot of time trying to edit the files under ../plugins/bp-template-pack/templates and nothing was changing! I browsed through my theme folder /wp-content/themes/ and saw that BP had inserted all of the BP template files within my theme folder — so I was making the edits to the wrong files! Are you certain you are editing the .php files under wp-content/themes/ or are you editing them in the bp-template-pack/templates?

    Also, you don’t put [HEADER] etc. anywhere. But you probably do have to change the HTML structure of the template files that BP placed within your theme’s directory.

    In order for BP to work, the BP templates need to have that structure. They default to:

    <div id=”container”>
    <div id=”content”>

    My theme had a php call for the header (that’s what they mean by “[HEADER]”) and then what followed was:

    <div id=”mainpage”>
    <div id=”content”>

    So I was able to go in to the BP templates that were placed within my theme directory, and change all of the “containers” to say “mainpage” and that resolved the problem. Of course your structure may be more sophisticated/complicated than that but it should be similar fix.

    r-a-y
    Keymaster

    It’s not recommend to make changes to the default theme because they will be wiped out when you upgrade BuddyPress.

    Build a child theme and then try to edit it via the WP Theme Editor and see what happens.

    If you continue to get the same problem after creating a child theme, reply back and let us know.

    #86655
    r-a-y
    Keymaster

    Actually it is possible to bypass BP registration using the wp_insert_user() function.
    It *should* be possible by overriding the /registration/register.php template file in your child theme. But all the good stuff like activating an account would be gone. However, you say you want to use WP’s registration system? Would require a BP core hack I believe.

    Changing the BP_ROOT_BLOG wouldn’t do a thing since BP is activated network-wide.

    #86612
    skrubis
    Member

    I am using bp latest version on latest version wp. theme is bp default, the site address is irrelevant as it is a production site, and the get_sidebar is not enabled at the moment, but you can check out anyway http://krut.us

    I tried including get_sidebar function in div ids like sidebar or left sidebar, but no luck. Also I tried to edit the content div as narrowcollumn- my idea is that the sidebar doesnt show up because of the width of the content, as it simply does not have enough space to be there…

    #86609
    JustinCA
    Participant

    @pisanojm
    1.) 4xjunction.com
    2.) WP 3.0 and BP 1.2.5.2
    3.) PHP 5.x
    4.) Yes, they allow PHP mail (it works fine until Buddypress is activated)
    5.) Yes, I’ve tried with all plugins off
    6.) It works with the default as well as any other theme, except Buddypress

    Thanks for the respnose,

    -Justin

    #86608
    Hugo Ashmore
    Participant

    This is a theming issue and more specifically – by the sounds of things – a CSS one, but could simply be that the sidebar is trying to render in an incorrect section of the page.

    I’m afraid that you would need to supply a lot more detail than you have in order that someone could help, at the moment it’s a ‘How long is a piece of string’ type question.

    Tell us the theme your using and as much detail pertaining to type of install and version numbers and preferably a link to the site so that the issue may be observed.

    #86596
    Hugo Ashmore
    Participant

    get_stylesheet_directory_uri() should return the URL to your child theme.

    As does bloginfo(‘stylesheet_directory’)

    One returns result the other needs echoing, other than that is there a preference?

    #86593
    r-a-y
    Keymaster

    You could try Buddymatic:
    http://freebpthemes.com/themes/buddymatic/

    It’s a BP version of Thematic. From reading the comments on the release page, it appears Buddymatic is merging into Thematic, which is great news!

    #86575
    Pisanojm
    Participant

    Justin what is your Website address?
    What version of BP and WordPress?
    What version of PHP?
    Does your host allow you to send PHP mail?
    Have you tried with all plugins off?
    Does it work with the default BuddyPress Theme?
    This all works fine for me with BP 1.2.5.2 and WP 3.0 using…

    #86568
    thekmen
    Participant

    The only issues you should have with a WP theme is all the BuddyPress CSS, easy enough to fix but can require lots of edits depending on the theme.
    To include the required BuddyPress JS & ajax functions in any WP theme, all you need to do is add something like the following to your themes functions.php file

    require_once( BP_PLUGIN_DIR . '/bp-themes/bp-default/_inc/ajax.php' );
    function theme_loaded_init() {
    wp_enqueue_script( 'bp-js', BP_PLUGIN_URL . '/bp-themes/bp-default/_inc/global.js', array( 'jquery' ) );
    }

    add_action('wp_head', 'theme_loaded_init', 5);

    You would also need to add the BuddyPress template folders to your theme & add either the default buddypress & admin bar css to your css with edits or include the defaults in the above theme_loaded_init function.

    also note, some themes that include custom JS can conflict with BuddyPress JS, if the theme is coded properly it should be easy to remove those conflicts on BuddyPress pages.

Viewing 25 results - 23,826 through 23,850 (of 32,561 total)
Skip to toolbar