Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 36,926 through 36,950 (of 69,106 total)
  • Author
    Search Results
  • Boone Gorges
    Keymaster

    +1 to using the `xprofile_` functions if you can.

    #119825

    In reply to: adding group fields

    Quint
    Participant

    @4ella, I believe this is post to which you are referring (near the bottom of the page): https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-add-fields-to-group-creation-with-group-extension-api-please-read/?topic_page=4&num=15

    It’s from modemlooper. And it’s a follow-on to modemlooper/jorges plugin. One has to go into the php file to add/modify fields but it solves the need. Plus, whatever html tags have been placed in the php file to organize the fields, one can just add IDs/Classes and style them in your child theme’s style.css. No need for inline styling.

    With that being said, @slaffik will your update allow for Group types and/or categories? For example, for a specific group type, the admin could create/apply a form containing fields specific to that Group type. With the application of categories/sub-categories, the user would be able to filter across an exhaustive list of Groups. I am looking forward to trying your updated plugin.

    #119823

    In reply to: adding group fields

    modemlooper
    Moderator

    Try using this http://github.com/modemlooper/buddypress-group-fields

    You have to edit the code your self to add fields. i’m going to develop it so it matched the profile fields editor that comes in default BP.

    #119822

    In reply to: Profile rating system

    Hey @christophg

    Sorry, I’ve been travelling a lot or work and haven’t had enough time to come back here!! Thanks for the info on Profile manager. I was half way through with my solution when I stumbled upon hers. It didn’t work for me, so I contacted her. After several iterations of the plugin it still didn’t work for me. I suspect there may be a plugin conflict, however, I have limited plugins running on my installation, and my community needs every one of them. So I continued to make refine the idea I sent to you.

    As for your question regarding using S2 to control who gets one of your pages created, I am not sure if it is possible. As it stands, S2’s hooks and filters only allow you to keep content sequestered depending on user level.

    One idea for you though is to allow a page to be created for every one who registers. Then, display the contents of that page as an iFrame on each users member profile page. Create a private group for the members who should have a rating. Then wrap the iframe in code that restricts the display of the iframe to only displayed members of that group. I do this very thing for my “Brands”.

    I believe this is the code I used to show only on my brands member pages:

    https://buddypress.org/community/groups/creating-extending/forum/topic/checking-if-a-user-is-in-a-group

    Let me know if you need more help!

    #119821
    tommyhoang
    Member

    HOLY SMOKES! i figured it out, the bp-custom.php file mustve been corrupted because i deleted and simply tried to replace the code. and now it works!!!

    thanks for all the help @mercime!!!!

    #119820
    tommyhoang
    Member

    @mercime, but it doesnt change the fact that my members are still autojoining the group when they reply to a post. the original code only disables the autojoin when starting a new topic.

    #119819

    In reply to: adding group fields

    hjbarraza
    Member

    Hey guys, im just posting this +1 so i can find this thread again.
    I’m willing to donate a few dollars to @SlaFFik if he updates his plugin
    : )

    Anonymous User 96400
    Inactive

    If you want to add a record, then there are API functions to do that for you for the most part. `xprofile_insert_field()` is one such function. There’s more in bp-xprofile/bp-xprofile-functions.php.

    If you really do need to query the database directly, then you can find the table names within the $bp global, e.g. `$bp->groups->table_name` for the main groups table.

    If there are API functions, then you should use these. Only query directly if you can’t find a function to do the heavy lifting for you.

    Boone Gorges
    Keymaster

    Components register their table names themselves. See https://buddypress.trac.wordpress.org/browser/trunk/bp-xprofile/bp-xprofile-loader.php#L85

    In the case of xprofile, they are
    `$bp->profile->table_name_data
    $bp->profile->table_name_fields`
    and so on.

    You may find it helpful to look at https://buddypress.trac.wordpress.org/browser/trunk/bp-xprofile/bp-xprofile-classes.php to see how BP itself references these tables. Likewise for the other components.

    sdls
    Member

    Something like this

    `
    $sql = “SELECT *
    FROM wp_bp_xprofile_data XP
    WHERE XP.user_id = $iallusersUserID”;
    $xprofile = $wpdb->get_col( $wpdb->prepare($sql));
    `

    should probably more like this

    `
    $sql = “SELECT *
    FROM $wpdb->x_profile XP
    WHERE XP.user_id = $iallusersUserID”;
    $xprofile = $wpdb->get_col( $wpdb->prepare($sql));
    `

    Maybe this whole style of calling a custom SQL query is way of track? any suggestions?

    #119813
    sdls
    Member

    Altough User A (ID:21) does show up in the table “wp_bp_xprofile_data”
    It would be great if there was some help in bp_has_members
    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-members-loop/
    To reference these orphaned users with a state…. like “inactive”

    #119811
    sdls
    Member

    On this same topic…..In the members directory in BP 1.5 user are displayed based on more criteria then mentioned by the discussion above.

    User A (ID: 21) is showing up in the members directory but does NOT appear in the buddypress activity tables

    `
    $sql2 = “SELECT *
    FROM wp_bp_activity activity
    WHERE activity.user_id = $iUserID”;
    `

    OR the user_meta table

    `
    $sql3 = “SELECT *
    FROM wp_usermeta UM
    WHERE UM.user_id = $iUserID
    AND UM.meta_key LIKE ‘last_activity'”;

    `

    Any thoughts on what’s making these members appear in the directory?

    #119804
    Boone Gorges
    Keymaster

    @simon_said – Would you mind posting a bug ticket on trac.buddypress.org, with steps to reproduce? Thanks!

    #119802
    sdls
    Member

    @boonebgorges – Correctamundo. The text field for “To” is blank rather then being populated with the username.

    @DJPaul – to get back to you on usernames see below

    User A – archon2112
    User B – Simon.delaSalle
    User C – Tim.Powell

    THANKS BOTH!

    #119801
    @mercime
    Participant

    @tommyhoang “headers already sent error” usually means that there’s space before the opening “ tags required in functions.php just like it is in bp-custom.php

    What the code above does is to replace the text string “You will auto join this group when you start a new topic.” to something else like ‘Feel free to reply.’ You could also leave the replacement text as blank by not adding text and just space between ‘ ‘

    #119792
    casix
    Member

    Never mind I figured it out. I modified the code bp_get_group_date_created() so it does get the date. For those who want to do the same or if the group for buddypress want to modify the code to do it the same, here is what I did.

    I didn’t want to do lot of code change that way if BP does any updates it would be easy to put the mod back in.

    Note: This mod requires you to modifying the BP core make a back up each file before modifying.

    1st I created a new function in the bp_core_function.php called bp_core_date_since() and I put it above bp_core_time_since() to keep them together.



    function bp_core_date_since($older_date) {

    // array of time period chunks
    $chunks = array(
    array( 60 * 60 * 24 * 365 , __( 'year', 'buddypress' ), __( 'years', 'buddypress' ) ),
    array( 60 * 60 * 24 * 30 , __( 'month', 'buddypress' ), __( 'months', 'buddypress' ) ),
    array( 60 * 60 * 24 * 7, __( 'week', 'buddypress' ), __( 'weeks', 'buddypress' ) ),
    array( 60 * 60 * 24 , __( 'day', 'buddypress' ), __( 'days', 'buddypress' ) ),
    array( 60 * 60 , __( 'hour', 'buddypress' ), __( 'hours', 'buddypress' ) ),
    array( 60 , __( 'minute', 'buddypress' ), __( 'minutes', 'buddypress' ) ),
    array( 1, __( 'second', 'buddypress' ), __( 'seconds', 'buddypress' ) )
    );

    if ( !empty( $older_date ) && !is_numeric( $older_date ) ) {
    $time_chunks = explode( ':', str_replace( ' ', ':', $older_date ) );
    $date_chunks = explode( '-', str_replace( ' ', '-', $older_date ) );
    $older_date = gmmktime( (int)$time_chunks[1], (int)$time_chunks[2], (int)$time_chunks[3], (int)$date_chunks[1], (int)$date_chunks[2], (int)$date_chunks[0] );

    }
    $output = date("F d, Y",$older_date);

    return $output;
    }

    Next I modify the function bp_group_date_created() in the bp_groups_template.php

    rem out the return and created a new return



    return apply_filters( 'bp_get_group_date_created', bp_core_date_since(strtotime($group->date_created)) );

    Now anytime you want to show date created in stead of time since you just replace bp_groups_last_active() to bp_groups_date_created().

    So now instead of showing “active since 1 day, 20 hours”. It shows “Created September 8, 2011”

    Boone Gorges
    Keymaster

    The BuddyBar builds those links mostly out of $bp->bp_nav and $bp->bp_options_nav (which are also responsible for site navigation in other places). See https://buddypress.trac.wordpress.org/browser/trunk/bp-core/bp-core-buddybar.php#L423

    The WP Admin Bar is built more independently of the BuddyBar. Each component essentially does its own work. See for instance https://buddypress.trac.wordpress.org/browser/trunk/bp-groups/bp-groups-loader.php#L370

    Boone Gorges
    Keymaster

    Wow, this issue is getting weirder.

    I have copied your theme but I can’t reproduce the problem. This could have to do with the fact that I don’t have the font files on my system. In any case, I have no idea whatsoever about how a font declaration could cause the sorts of problems you’re talking about.

    Just to see if it helps, you might try commenting out the BP javascript that makes the dropdown filters work. Look in buddypress/bp-themes/bp-default/_inc/global.js, around line 542, for the block beginning “When the filter select box is changed re-query”. Comment that out, clear your cache, and try again. (I’m skeptical this will actually get us any closer to the issue, since it sounded like you were having this problem with dropdowns other than this one.)

    ankurm
    Member

    btw @Dwenaus the code worked perfectly fine otherwise…
    Thanks..

    ankurm
    Member

    @Dwenaus , i have the same problem which @ibn.nadir had..
    there are no error messages appearing after the redirection. How to get that message appear?

    thanks

    #119780
    tommyhoang
    Member

    @r-a-y @quint, yeah i already made a child theme. and am trying to figure out how to edit the header size. i followed the tutorial (http://buddydress.com/2010/04/custom-header-tutorial-adding-an-image-and-changing-the-size/).

    ray i added this to my child’s function.php define( ‘HEADER_IMAGE_HEIGHT’, 300 );. and on my dashboard i can indeed upload bigger images, but after saving it, my site homepage still displays the default size header. furhtermore the images i upload are always messed up on the bottom or top.

    heres what i mean

    #119779
    tommyhoang
    Member

    @mercime, yeah im not sure what thats suppose to do. but as soon as i log out of admin, i get a bunch of error messages saying cannot modify header etc.

    im still trying to disable the autojoin function. the code define(‘BP_DISABLE_AUTO_GROUP_JOIN’,true);
    only disables the autojoin when starting a new topic. the autojoin for post reply is still active.

    Quint
    Participant

    @boonebgorges, okay Boone, I’ve spent the last 6 hrs 16 minutes on this. I have determined where the issue is occurring but I do not know how to fix it. But first here’s the calibration I eventually got to: I re-installed WordPress and Buddypress (yep, I’m getting faster reinstalling this stuff). ;-) I created a new child theme; that is, a new style.css file and a new functions.php file to enqueue the child’s style.css file. Here’s the code for my functions.php file:

    `<?php

    function bp_dtheme_enqueue_styles() {
    // Bump this when changes are made to bust cache
    $version = ‘20110804’;

    // Default CSS
    wp_enqueue_style( ‘bp-default-main’, get_template_directory_uri() . ‘/_inc/css/default.css’, array(), $version );

    wp_enqueue_style( ‘bp-child-style’, get_stylesheet_directory_uri() . ‘/style.css’, array(), $version );

    // Right to left CSS
    if ( is_rtl() )
    wp_enqueue_style( ‘bp-default-main-rtl’, get_template_directory_uri() . ‘/_inc/css/default-rtl.css’, array( ‘bp-default-main’ ), $version );
    }

    add_action( ‘wp_print_styles’, ‘bp_dtheme_enqueue_styles’ );

    ?>`

    Should be no issue there. With the new stylesheet I started adding back my old code starting at the very top. I didn’t have to go very far at all. It failed at the body selector (at the very bottom of this post); specifically, the @font-face font that the stylesheet loaded. I took it out; I replaced it with verdana or helvetica. No issues. I cycled through all of the @font-face fonts and each one produced the error. Note: The @font-face fonts rendered properly on every page but failed when I clicked on a “dropdown-style” field as described in my first post. Do you have any recommendations? Am I supposed to enqueue the fonts just as I had the stylesheet? If so, how would that be done? Thanks!

    Note: I commented out a few declarations in the body selector to help narrow down which declaration could be the issue. And just like Firefox, this works fine in Chrome 13.0.782.220.

    `/*
    Theme Name: My BP Default Child Theme 1
    Theme URI: http://folio.com
    Description: This is my first Buddypress Default Child Theme
    Author: Quint A. Rahaman, Jr.
    Template: bp-default
    Tags: buddypress, two-column, grey, dark
    */

    /* RESET – http://meyerweb.com/eric/tools/css/reset/ | v1.0 | 20080212 */
    /*


    */

    body,html{height:100%;}
    html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:top;background:transparent;margin:0;padding:0;}
    body{line-height:1;}
    ol,ul{list-style:none;}
    blockquote,q{quotes:none;}
    blockquote:before,blockquote:after,q:before,q:after{content:none;}
    :focus{outline:0;}
    del{text-decoration:line-through;}
    table{border-collapse:collapse;border-spacing:0;}

    /* Floating & Alignment */
    .fl{float:left;}
    .fr{float:right;}
    .ac{text-align:center;}
    .ar{text-align:right;}

    /* Clear Floats */
    .col-full:after{content:”.”;display:block;height:0;clear:both;visibility:hidden;}
    .fix{clear:both;height:1px;overflow:hidden;margin:-1px 0 0;}
    html body * span.clear,html body * div.clear,html body * li.clear,html body * dd.clear{background:none;border:0;clear:both;display:block;float:none;font-size:0;list-style:none;overflow:hidden;visibility:hidden;width:0;height:0;margin:0;padding:0;}

    /* Generated by Font Squirrel (http://www.fontsquirrel.com) on September 8, 2011 */

    @font-face {
    font-family: ‘FontSiteSansRoman’;
    src: url(‘includes/fonts/includes/fonts/fontsitesans-roman-webfont.eot’);
    src: url(‘includes/fonts/fontsitesans-roman-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/fontsitesans-roman-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/fontsitesans-roman-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/fontsitesans-roman-webfont.svg#FontSiteSansRoman’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘BergamoStdItalic’;
    src: url(‘includes/fonts/bergamostd-italic-webfont.eot’);
    src: url(‘includes/fonts/bergamostd-italic-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/bergamostd-italic-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/bergamostd-italic-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/bergamostd-italic-webfont.svg#BergamoStdItalic’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘BergamoStdRegular’;
    src: url(‘includes/fonts/bergamostd-regular-webfont.eot’);
    src: url(‘includes/fonts/bergamostd-regular-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/bergamostd-regular-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/bergamostd-regular-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/bergamostd-regular-webfont.svg#BergamoStdRegular’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘FontSiteSansCondensed’;
    src: url(‘includes/fonts/fontsitesans-cond-webfont.eot’);
    src: url(‘includes/fonts/fontsitesans-cond-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/fontsitesans-cond-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/fontsitesans-cond-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/fontsitesans-cond-webfont.svg#FontSiteSansCondensed’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘FontSiteSansUltraLight’;
    src: url(‘includes/fonts/fontsitesans-ultralight-webfont.eot’);
    src: url(‘includes/fonts/fontsitesans-ultralight-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/fontsitesans-ultralight-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/fontsitesans-ultralight-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/fontsitesans-ultralight-webfont.svg#FontSiteSansUltraLight’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘StMarieThin’;
    src: url(‘includes/fonts/stmarie-thin-webfont.eot’);
    src: url(‘includes/fonts/stmarie-thin-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/stmarie-thin-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/stmarie-thin-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/stmarie-thin-webfont.svg#StMarieThin’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘BergamoStdItalic’;
    src: url(‘includes/fonts/bergamostd-italic-webfont.eot’);
    src: url(‘includes/fonts/bergamostd-italic-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/bergamostd-italic-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/bergamostd-italic-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/bergamostd-italic-webfont.svg#BergamoStdItalic’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘BergamoStdItalic’;
    src: url(‘includes/fonts/bergamostd-italic-webfont.eot’);
    src: url(‘includes/fonts/bergamostd-italic-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/bergamostd-italic-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/bergamostd-italic-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/bergamostd-italic-webfont.svg#BergamoStdItalic’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘BergamoStdRegular’;
    src: url(‘includes/fonts/bergamostd-regular-webfont.eot’);
    src: url(‘includes/fonts/bergamostd-regular-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/bergamostd-regular-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/bergamostd-regular-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/bergamostd-regular-webfont.svg#BergamoStdRegular’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘BergamoStdRegular’;
    src: url(‘includes/fonts/bergamostd-regular-webfont.eot’);
    src: url(‘includes/fonts/bergamostd-regular-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/bergamostd-regular-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/bergamostd-regular-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/bergamostd-regular-webfont.svg#BergamoStdRegular’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘FontSiteSansCondensed’;
    src: url(‘includes/fonts/fontsitesans-cond-webfont.eot’);
    src: url(‘includes/fonts/fontsitesans-cond-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/fontsitesans-cond-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/fontsitesans-cond-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/fontsitesans-cond-webfont.svg#FontSiteSansCondensed’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘FontSiteSansCondensed’;
    src: url(‘includes/fonts/fontsitesans-cond-webfont.eot’);
    src: url(‘includes/fonts/fontsitesans-cond-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/fontsitesans-cond-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/fontsitesans-cond-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/fontsitesans-cond-webfont.svg#FontSiteSansCondensed’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘FontSiteSansRoman’;
    src: url(‘includes/fonts/fontsitesans-roman-webfont.eot’);
    src: url(‘includes/fonts/fontsitesans-roman-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/fontsitesans-roman-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/fontsitesans-roman-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/fontsitesans-roman-webfont.svg#FontSiteSansRoman’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘FontSiteSansRoman’;
    src: url(‘includes/fonts/fontsitesans-roman-webfont.eot’);
    src: url(‘includes/fonts/fontsitesans-roman-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/fontsitesans-roman-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/fontsitesans-roman-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/fontsitesans-roman-webfont.svg#FontSiteSansRoman’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘FontSiteSansUltraLight’;
    src: url(‘includes/fonts/fontsitesans-ultralight-webfont.eot’);
    src: url(‘includes/fonts/fontsitesans-ultralight-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/fontsitesans-ultralight-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/fontsitesans-ultralight-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/fontsitesans-ultralight-webfont.svg#FontSiteSansUltraLight’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘FontSiteSansUltraLight’;
    src: url(‘includes/fonts/fontsitesans-ultralight-webfont.eot’);
    src: url(‘includes/fonts/fontsitesans-ultralight-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/fontsitesans-ultralight-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/fontsitesans-ultralight-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/fontsitesans-ultralight-webfont.svg#FontSiteSansUltraLight’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘StMarieThin’;
    src: url(‘includes/fonts/stmarie-thin-webfont.eot’);
    src: url(‘includes/fonts/stmarie-thin-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/stmarie-thin-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/stmarie-thin-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/stmarie-thin-webfont.svg#StMarieThin’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    @font-face {
    font-family: ‘StMarieThin’;
    src: url(‘includes/fonts/stmarie-thin-webfont.eot’);
    src: url(‘includes/fonts/stmarie-thin-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘includes/fonts/stmarie-thin-webfont.woff’) format(‘woff’),
    url(‘includes/fonts/stmarie-thin-webfont.ttf’) format(‘truetype’),
    url(‘includes/fonts/stmarie-thin-webfont.svg#StMarieThin’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    #sidebar{display:none;}
    div#content .padder{margin-right:0px; border-right-width:0px;}

    body { font-family: ‘FontSiteSansRoman’, helvetica, sans-serif;
    /* font-size: 0.75em;
    line-height: 1.5em;*/
    color: #3e3e3e;
    background: url(“images/bg.png”) repeat fixed 0 0 #f6f0d6;
    /* max-width: none;
    width: 100%;*/
    /* position: relative;*/
    }`

    #119774
    Andrew Tegenkamp
    Participant

    @jad117, I hope this helps, and please let me know with another mention if not.

    Basically the first step is to create a blank file called bp-custom.php and save it as /wp-content/plugins/bp-custom.php. You can learn more about this file at https://codex.buddypress.org/extending-buddypress/bp-custom-php/ and what it does and all.

    Then, in that file (or in your theme’s functions.php file) you can paste certain bits of PHP code that have become known as hacks or tricks in order to make BuddyPress act a little differently. One such trick is to move around the tabs and redirect people so that group links like http://testbp.org/groups/buddypress-testers-614548248/ would actually redirect to http://testbp.org/groups/buddypress-testers-614548248/forum/ instead of showing http://testbp.org/groups/buddypress-testers-614548248/home/ as it does now.

    The code I gave earlier does this and like myself, some others after me have offered various improvements or changes, so I’d try them each out and see what works best for your setup. You can only have one function of each name at a time or you’ll get an error. You can also visit http://bp-tricks.com/featured/feature-forums-noticed/ for how the author of that post does this “trick” and see some comments there as well, as that is a site devoted to finding just the right trick to get BuddyPress to do exactly what you want!

    I hope that helps, and as I said, if not, write back at me, and I’ll try to answer any questions you have!

    Thanks,
    Andrew

    #119773
    Micheal Kennedy
    Participant

    Needs updating.

Viewing 25 results - 36,926 through 36,950 (of 69,106 total)
Skip to toolbar