Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

  • jonnyscholes
    Member

    @gogger

    With the quotes, the link thats generated doesnt have the : so the link doesnt load. $data_twitter in the case im talking about has entered their site with http:// at the start. Iv checked in the db entry and its there… So im not really sure whats going on.

    Thanks for the reply!


    jonnyscholes
    Member

    @gogger

    Not sure if your still around, but this plugin is in development and will do exactly what your looking for. Its not ready for a production site, but you should watch it. It looks like its being developed actively.

    http://teleogistic.net/2011/11/new-buddypress-plugin-bp-better-directories/comment-page-1/#comment-111053

    Just gonna bump this again so its on the front page, getting to the second page seems to be broken currently…. having to find this post in my history or edit the url manually.

    Are you sure that didnt work? Because they both work my end [though method on is not a good idea unless you want to disable them completely that class is used in a few places] Are you modifying the default theme files or using a child theme?

    Bump? If anyone can come up with a method ill paypal/direct deposit them $20USD [not heaps i know, its all i can afford currently].

    BP Media has a nice upload function accesable from the users profile, if you dig through their plugin files im sure youd find a similar function. Or are you looking for some sort of shortcode for users?

    Theres also https://wordpress.org/extend/plugins/buddypress-activity-plus/screenshots/ which might be sort of what your looking for…

    Thats bizarre :-S ill have another look after breakfast… Its just the default theme with some colours changed yes?

    Just remembered, bp uses archive.php for the posts view. Open up archive.php and edit line 37 and remove the entire span tag and its contents. Leave the rest if you want tags to show up…

    In your style.css you could add the lines:

    .comments{
    display: none;
    }

    Its not the prettiest way, but it should work. The double lines still exist though so you might wanna change the css for .postmetadata to…

    Ok this is just weird. For the sake of trying to figure out what the hell is going wrong, i tried doing something very similar to this thread:

    https://buddypress.org/community/groups/creating-extending/forum/topic/providing-additional-info-in-userlist/

    Heres the working [according to the thread] code @DJPaul posted:

    function stwc_website_link() {
    $data = bp_get_member_profile_data( ‘field=Website’ );
    if ( $data )
    echo “Website: {$data}“;
    }
    add_action( ‘bp_directory_members_item’, ‘stwc_website_link’ );

    and heres my slightly modified version:

    function cat_links() {
    $data = bp_get_member_profile_data( ‘field=Catagories’ );
    if ( $data )
    echo “Website: {$data}“;
    }
    add_action( ‘bp_directory_members_item’, ‘cat_links’ );

    It /should/ output a link that has the normal category output as its title [eg. Animation, Pottery, Photography] and link to a href thats the same as the title [obviously it would get you to a page not found, but this is just for a test]. BUT it just outputs the categories in exactly the same way as bp_member_profile_data( ‘field=Catagories’ ); or bp_get_member_profile_data( ‘field=Catagories’ ); – no links, no span tags, no label saying “Website:”. This is rather confusing.

    Got up this morning and tried a few other ideas. But none worked :(

    $usercatsraw = bp_member_profile_data( ‘field=Catagories’ );
    $usercats = explode(” ,”, $usercatsraw);
    foreach ($usercats as $value)
    {
    echo $value . “br tag”;
    }

    Returns the checkbox catagories in exactly the same way as bp_member_profile_data( ‘field=Catagories’ );

    .

    I tried this also, modified from another thread. It was old though…

    $field_value = bp_member_profile_data( ‘field=Catagories’ );
    echo xprofile_filter_link_profile_data( $field_value, $field_type = ‘checkbox’ );

    Crashes the entire feed. Anyone got any ideas?

    So iv decided to just use groups for now and list them manually in an html widget – once this project is completed [on time i hope] ill come back and look at making the BuddyPress Contents plugin 1.5 compatible because it has a load of awesome features from the description. Any input is still very much welcomed, using groups is a temporary fix until i have more time.

Viewing 12 replies - 1 through 12 (of 12 total)
Skip to toolbar