Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 29,801 through 29,825 (of 31,071 total)
  • Author
    Search Results
  • #41390
    Burt Adsit
    Participant

    We have to workaround this issue.

    function my_fix_linking(){
    remove_filter( 'bp_the_profile_field_value',
    'xprofile_filter_link_profile_data', 2 );
    add_filter( 'bp_the_profile_field_value',
    'my_filter_link_profile_data', 2, 3 );
    }
    add_action('bp_member_theme_functions', 'my_fix_linking');

    function my_filter_link_profile_data($field_value,
    $field_type = 'textbox', $field_id){
    if ( 'textbox' == $field_type)
    return $field_value;
    else xprofile_filter_link_profile_data($field_value, $field_type);
    }

    That will stop linking any field that is a text box.

    function my_filter_link_profile_data($field_value,
    $field_type = 'textbox', $field_id){
    if ( 999 == $field_id)
    return $field_value;
    else xprofile_filter_link_profile_data($field_value, $field_type);
    }

    That will stop linking for the field whose field_id is 999.

    Your choice. I haven’t tested the above code but it should work. Add the code above to your bp-custom.php file. If you don’t have one create one in /mu-plugins.

    #41382
    Burt Adsit
    Participant

    OK. Here\’s the solution. You have to update to the latest trunk again. At least rev 1286. Put this in wp-config.php:

    define(\’BP_ROOT_BLOG\’, X);

    Where X is the blog id for the blog you are running the bp home theme on. Gotta be an integer there for X. 1, 99, 207 whatever it is.

    #41381
    Sgrunt
    Participant

    as you wish, however i’ve published a new version of the theme compatible with the latest trunk

    #41379
    Burt Adsit
    Participant

    If you are running the latest trunk for everything then I don’t know what the problem could be. When that options is chosen in the home theme nav bar bp detects the /blog url and simply loads the template index.php in your document root.

    Cancel all that. You are running the home theme on a subdomain right? I just got that error when I activated the home theme on a subdomain.

    Ok, now I understand. Hmmm. Be back.

    #41377
    Burt Adsit
    Participant

    Before we go to far with this what menu are you talking about? The admin bar menu or the member/home theme’s button bar menu?

    #41375
    halfpint
    Participant

    Thanks for all of your input on the theme. I have decided to go a different route and installed a diff home theme and just making some small css changes to the members theme.

    #41373
    Wcastillo
    Participant

    By the way, the blog link is served using the home theme so I think the member theme is out of question regarding this issue (just MH opinion… I only have a few hours playing with BP)

    #41368
    Sgrunt
    Participant

    i’m not sure to have understood: you want that home, blog, members etc will appear on the top of your page, and then the search and login will appear down of it?

    In this case you should edit the header.php file in the theme folder inverting the order, and then hacking a bit with the css.

    #41365
    gpo1
    Participant

    @Sgrunt, How do you replace the login-in tab/button area with the home,blog,members& groups tabs / buttons in the member theme of facebuddy?

    #41363
    Burt Adsit
    Participant

    I really don’t understand what you are trying to do. You want to create a new member theme?

    https://codex.buddypress.org/developer-docs/creating-a-custom-buddypress-theme/

    Joss Winn
    Participant

    Socialpreneur is quite right. The plugin works very well. The issue is changing the template so users are directed to wp-login.php as an alternative to normal signup in the way that the fb-connect plugin is integrated into the default themes.

    #41361
    Burt Adsit
    Participant

    Member theme or home theme?

    What version of bp?

    The 404 error when trying to access the blog posts on the main blog is usually due to not using the most recent functions.php file in your theme. Make sure that your theme is using the functions in functions.php distributed with the bp home theme.

    #41356
    Robert
    Participant

    In case others are curious here’s what I did:

    I copied the function bp_get_nav removed the lines with the logout link and renamed it to bp_get_nav_no_logout as suggested above by jjj. Then I put this newly created function in the functions.php file in my theme and I changed the userbar.php file to call bp_get_nav_no_logout.

    That way I keep it with my custom theme and leave the core files untouched.

    Thanks again John.

    gpo1
    Participant

    @Socialpreneur, How do you display the widget on the home theme for sign-in like facebook connect?

    #41352
    Sgrunt
    Participant

    ok solved the registration problem!

    #41350
    Sgrunt
    Participant

    ok, we’re gonna to see the light, i’m making all required changes and keeping them working, if you wish i could write a little documentation after this. I’ve only a question: the signup button now leads to the WMPU registration page and not to the buddypress register. Could you tell me if i’m doing something bad or if this is an upgrade issue?

    Thanx Andy, i’m sure that the final version will be a great success.

    #41347
    Sgrunt
    Participant

    hi Andy, after having this issue i’ve rembered your mail that anticipated the changes. But in my opinion downloading the latest trunk with no indication in sticky posts or in the readme.txt is a pain (yes,i’m receiving a lot of emails from theme users).

    I hope to see a sticky post with documentation for this upgrade: it will be very useful. I think that directories must be styled from directory.css in the bp-theme?

    #41343
    Wcastillo
    Participant

    A hat? Where should I claim for it??? :)

    @Dace: Your best bet is start a new theme out of the buddypress_home and _member theme, rename it and place the custom.css from the FaceBuddy guys…

    Take a look at Emigrando.info… It worked like a charm (I even manage to adapt Andy’s BP-Facebook Connect plugin with “Invite Friends” capabilities! A very dirty workaround… but it works anyway! still needs some polishment though)

    #41335

    In reply to: trouble with rev 1268

    Jeff
    Participant

    bp-themes folder was used, and directories was there. Tried trunk1281 and that caused more issues with nav links (HOME_BLOG_SLUG & MEMBERS_SLUG appeared on /groups page) and same issue as before.

    I reverted to trunk1248 and all is back to normal… except I was liking the new page title tags in trunk1268.

    #41333
    Shelley Keith
    Participant

    The readme in the trunk hasn’t been updated to reflect this change, just FYI.

    Burt Adsit
    Participant

    benny this has nothing to do with bp itself. It’s a theme thing that is happening here only.

    Burt Adsit
    Participant

    If you are trying to edit your member profile and are getting some error about groups then something is very wrong. Since this is a custom member theme I can’t help because I have no idea what the code looks like. I can help you if you are having problems with the standard member theme.

    #41327
    hotandrei
    Participant

    Sorr but can you tell me how to do it exactly because i m a super noob and don t know too much PHP also.

    Thank you

    #41326
    Andy Peatling
    Keymaster

    For anyone who has this problem —

    1. Copy the /directories/ folder from the default BuddyPress member theme into your own BuddyPress member theme.

    2. Copy the /css/directories.css and /css/loader.php from the default member theme to your own theme’s /css/ directory.

    3. Reload the page, but make sure you have cleared your browser cache.

    These changes will make it much much much easier to change the design of the directory pages.

    #41325
    Andy Peatling
    Keymaster

    Sgrunt: not sure if you got my message mentioning the changes?

    The directories have moved to the member theme instead. They have proper template files now that you can skin far easier. You should be able to copy your styles from the blog to member theme.

    Be aware of constant name changes in the functions.php too.

    MEMBERS_SLUG is now BP_MEMBERS_SLUG.

    There should be no more changes like this – it was a necessary change to help theme designers ready for 1.0.

Viewing 25 results - 29,801 through 29,825 (of 31,071 total)
Skip to toolbar