Forum Replies Created
-
Restrict page
Restrict contentSearch for plugin for that.
Added that code to functions.php
But where and can u gimme example of a .css?example admin nick color red.
Just make a macro and go take a shower.
https://www.vtaskstudio.com/tinytask.phpNot what you are serching for but plugin BuddyPress bulk delete can delete all activity.
Thanks it worked!
/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' ); ?>
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>
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 );
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.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
<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
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/OtherBuddyPressStuffSo your site isnt touched @ all.
yoursite.com will remain the same as before installing BuddyPress.
Dont need help!
Solved what i needed!<?php $user_meta = get_userdata(bp_displayed_user_id()); echo($user_meta->description); ?>
Solved it!
<?php $user_meta = get_userdata(bp_displayed_user_id()); echo($user_meta->description); ?>
Where do i add this code?
Nice! I was going to start a thread about this but you solved my problem 😀
Maybe this plugin can help: Peter’s Login Redirect
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.