Forum Replies Created
-
In reply to: Page visible after login only.
Restrict page
Restrict contentSearch for plugin for that.
In reply to: Admin and other usergourp color in online widgetAdded that code to functions.php
But where and can u gimme example of a .css?example admin nick color red.
In reply to: How do I activate all pending registrations at once?Just make a macro and go take a shower.
https://www.vtaskstudio.com/tinytask.phpIn reply to: Rebooting Activity Stream?Not what you are serching for but plugin BuddyPress bulk delete can delete all activity.
In reply to: Put user descripton under avatar in whos onlineThanks it worked!
In reply to: customize members page/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' ); ?>In reply to: user description in member list (fixed)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>In reply to: Click on member go to profileFound 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 );In reply to: Cropping profile image brokenHad 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.In reply to: Whos Online widget show nicknameSolved 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
In reply to: How to hide the RSS button<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.phpIn reply to: Adding Buddypress to an existing SiteThis 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.
In reply to: How to… Get profile page author?Dont need help!
Solved what i needed!<?php $user_meta = get_userdata(bp_displayed_user_id()); echo($user_meta->description); ?>In reply to: Include description in profile base.Solved it!
<?php $user_meta = get_userdata(bp_displayed_user_id()); echo($user_meta->description); ?>In reply to: Disable All RSS Feeds – updateWhere do i add this code?
In reply to: Bulk Delete pluginNice! I was going to start a thread about this but you solved my problem 😀
In reply to: dynamic “my home page” for logged in usersMaybe this plugin can help: Peter’s Login Redirect
In reply to: Change username to descriptionYes 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.