Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 53,701 through 53,725 (of 94,554 total)
  • Author
    Search Results
  • #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?

    sdls
    Member

    Hey all, I’m trying to find the proper way of referencing BP tables using the $wpdb class. using $wpdb->$table reference http://codex.wordpress.org/Class_Reference/wpdb#Tables allows a smart way of reference WP table in case someone changes the table prefix.

    Hoping to follow suite when referencing the BP tables, for example $wpdb->$xprofile (or something like that). Can’t find these BP table references anywhere… my goal is to add a record to wp_bp_xprofile_data correctly following the new BP 1.5 etiquette.

    Any suggestions on how to keep this bulletproof would be greatly appreciated. THANKS!

    graymerica
    Member

    Does anyone know how to filter all member lists in Buddypress to only show users with the role of author or higher.

    I do not want subscriber level users to show up in the member lists or the count

    I have looked at the bp_has_members function and can not find a way to do it. I have also looked all over various filters available and I am stumped.

    I have written the following code:
    `
    add_filter( ‘bp_core_get_paged_users_sql’, ‘bp_filter_only_members’ , 1, 9 );
    add_filter( ‘bp_core_get_total_users_sql’, ‘bp_filter_only_members’ , 1, 9 );

    function bp_filter_only_members($sql, $object) {
    $sql = str_replace(‘FROM’ , “,(SELECT meta_value FROM wp_usermeta WHERE meta_key = ‘wp_user_level’ AND user_id = u.ID) AS user_level FROM” , $sql ) ;
    $sql = str_replace(‘ORDER BY’ , “HAVING user_level > 1 ORDER BY” , $sql) ;
    return $sql;
    }
    `
    The issue I am having is that the count is coming back wrong.

    Can anyone think of a better way than going directly to the SQL. I have thought about meta values and some other hacky ways of doing this,

    can anyone help me out on this,

    thanks,

    Andrew

    #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 ‘ ‘

    #24092
    gordyr
    Member

    Hi guys,

    I’m rather new to buddypress and am getting a little bit confused. My setup is quite unusual in that I don’t need several of the buddypress components such as ‘activity’ or ‘friends’.

    Instead I need the template to display several custom built web applications that Ihave coded myself.

    Therefore to make life easy I edited the php templates in my themes /members/single/ directory. the files activity.php and friends.php respectively, to show my web apps.

    I then created a bp-custom.php file and redifined the SLUGS to match the names of my web apps. i.e.

    define( ‘BP_FRIENDS_SLUG’, ‘photos’ );
    define( ‘BP_ACTIVITY_SLUG’, ‘songs’ );
    define( ‘BP_GROUPS_SLUG’, ‘songsearch’ );

    This worked great, when I clicked on the photos link, I was taken to my web app for photos etc… when i click songs it loads the activity template which contains my songs web app etc… etc….

    However, now I need to add in more of my custom coded apps but have run out of these subcomponents to ‘butcher’ so my question is…. How do I add a new one?

    I have created the file songprofile.php in the /members/single/ folder.

    what I want is when the URL is http://www.mysite.com/members/user/songprofile/ for this songprofile.php template to be rendered within the members component in exactly the same way as my modified activity/friends templates are.

    But i genuinely haven’t got a clue as to how I go about adding templates to the members component.

    Obviously I still want the members-header.php to be loaded etc… everything the same, but just this new custom template to be rendered if that makes sense

    Can anyone help?

    #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.)

    #24088
    heartcry2109
    Member

    I installed the latest version of WordPress and installed the buddypress plug in yesterday, along with the default bp theme.

    The problem I have is that when you visit the activity page, when you hit the reply button next to an item, no reply form appears. Instead you have to click “view” first, and then reply once the individual item appears.

    Any ideas at all please?

    THanks,

    John

    seabucks
    Member

    On wordpress’ plug-in buddypress, I want to make it possible for users to make a blog post to a certain category from their profile page directly instead of the wordpress “Add a new post” page.

    Here’s a link to show how users can currently post a blog post to activity stream.

    http://i.imgur.com/FLqJu.png

    So I would like the same “add a post” box to appear e.g. in the category “Projects” which is at the bottom of the left column. So that the post would automatically be directed to that general column.

    A huge thank you!

    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 - 53,701 through 53,725 (of 94,554 total)
Skip to toolbar