Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • autox420
    Participant

    @autox420

    Restrict page
    Restrict content

    Search for plugin for that.


    autox420
    Participant

    @autox420

    Added that code to functions.php
    But where and can u gimme example of a .css?

    example admin nick color red.


    autox420
    Participant

    @autox420

    Just make a macro and go take a shower.
    https://www.vtaskstudio.com/tinytask.php


    autox420
    Participant

    @autox420

    Not what you are serching for but plugin BuddyPress bulk delete can delete all activity.


    autox420
    Participant

    @autox420

    Thanks it worked!


    autox420
    Participant

    @autox420

    /plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php

    <div class="item">
    <div class="item-title">
    <a href="<?php bp_member_permalink(); ?>">
    <?php bp_member_name(); ?></a>
    <?php if ( bp_get_member_latest_update() ) : ?>
    <span class="update"> <?php bp_member_latest_update(); ?></span>
    <?php endif; ?>
    </div>				
    
    ///////////// <YOUR CODE HERE> <LIKE_GET_THAT_FIELD> ///////////// 		
    				
    <?php
    /**
    * Fires inside the display of a directory member item.
    *
    * @since 1.1.0
    */
    do_action( 'bp_directory_members_item' ); ?>

    autox420
    Participant

    @autox420

    Well i tryied to play around with the codes you provided thanks.

    The easiest solution i found was this.

    members-loop.php
    Change this.
    <div class="item-meta"><span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_last_active( array( 'relative' => false ) ) ); ?>"><?php bp_member_last_active(); ?></span></div>

    To this.
    <div class="item-meta"><?php $user_meta = get_userdata(bp_get_member_user_id()); echo($user_meta->description); ?></span></div>


    autox420
    Participant

    @autox420

    Found a solution.

    functions.php

    if( !defined( 'BP_DEFAULT_COMPONENT' ) ){
        define( 'BP_DEFAULT_COMPONENT', 'profile' );
    }
    function bp_remove_profile_tab_activity(){
       bp_core_remove_nav_item( buddypress()->activity->id );
    }
    add_action( 'bp_setup_nav', 'bp_remove_profile_tab_activity', 999 );

    autox420
    Participant

    @autox420

    Had same problem.

    The problem was that some plugin blocked this.
    Try disable all plugins and turn on one by one and see waht plugin gives you this trouble.


    autox420
    Participant

    @autox420

    Solved it.

    <a href="<?php bp_member_permalink(); ?>" title="<?php bp_member_name(); ?>"><?php bp_member_avatar(); ?></br></br></br><?php bp_member_name(); ?></a>

    /plugins/buddypress/bp-members/classes/class-bp-core-whos-online-widget.php


    autox420
    Participant

    @autox420

    <li class="feed"><a href="<?php bp_sitewide_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'buddypress' ); ?>"><?php _e( 'RSS2', 'buddypress' ); ?></a></li>

    wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.php


    autox420
    Participant

    @autox420

    This is how buddy press works.

    BuddyPress can only be accesed @ these links.

    yoursite.com/activity
    yoursite.com/members
    yoursite.com/members/username
    yoursite.com/members/OtherBuddyPressStuff

    So your site isnt touched @ all.

    yoursite.com will remain the same as before installing BuddyPress.


    autox420
    Participant

    @autox420

    Dont need help!
    Solved what i needed!

    <?php 
    $user_meta = get_userdata(bp_displayed_user_id());
    echo($user_meta->description);
    ?>

    autox420
    Participant

    @autox420

    Solved it!

    <?php 
    $user_meta = get_userdata(bp_displayed_user_id());
    echo($user_meta->description);
    ?>

    autox420
    Participant

    @autox420

    Where do i add this code?


    autox420
    Participant

    @autox420

    Nice! I was going to start a thread about this but you solved my problem 😀


    autox420
    Participant

    @autox420

    Maybe this plugin can help: Peter’s Login Redirect


    autox420
    Participant

    @autox420

    Yes they are unique for every user.

    Dont need for sanitise cause no spaces are allowed in description.

    More help what exactly do i do to make this into reality?

    And yeah if its possible just the link is the description my username will still be the same if possible.

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