-
Prashant Singh replied to the topic Private Message suggestions in the forum How-to & Troubleshooting 6 years, 2 months ago
Hi,
Have you tried that code?
-
Prashant Singh replied to the topic Redirect from page if not logged in in the forum How-to & Troubleshooting 6 years, 2 months ago
Hi,
Please paste the code in your child theme’s functions.php. If you do not have child theme then install this plugin https://wordpress.org/plugins/code-snippets/ and add a new snippet there and paste this code.
add_action( 'template_redirect', 'ps_redirect_to_login' );
function ps_redirect_to_login() {
if ( is_page('members') && !…[Read more]
-
Prashant Singh replied to the topic Filter Activity by Category in the forum Creating & Extending 6 years, 2 months ago
Welcome š
-
Prashant Singh replied to the topic How to start JS immediately after loading the āNotifications pageā in the forum How-to & Troubleshooting 6 years, 2 months ago
Perfect š
-
Prashant Singh replied to the topic Placing profile avatar in item-nav in the forum How-to & Troubleshooting 6 years, 2 months ago
Whenever you are adding to any other place, please remove from the first place and then only paste it on second place.
Thanks
-
Prashant Singh replied to the topic Members Masonry – Element in the forum How-to & Troubleshooting 6 years, 2 months ago
In my sense, simplest will be this:
<div class='item-meta'>
<p>
<?php
echo bp_member_profile_data('field=Expertise')
?>
</p>
</div>instead of this:
echo "<div…
[Read more] -
Prashant Singh replied to the topic Hide specific user profile tabs in the forum How-to & Troubleshooting 6 years, 2 months ago
Ok, got that.
Please check this thread: https://buddypress.org/support/topic/how-to-hide-profile-menu-items-from-other-users/
There is a code snippet that might work for you. Just have to put your menu names.
Thanks
-
Prashant Singh replied to the topic Placing profile avatar in item-nav in the forum How-to & Troubleshooting 6 years, 2 months ago
Have you checked again? Maybe it is there and hidden using CSS. It seems not possible that it will not appear.
Any screencast or screenshot will help to explain more.Thanks
-
Prashant Singh replied to the topic How to start JS immediately after loading the āNotifications pageā in the forum How-to & Troubleshooting 6 years, 2 months ago
No, If you will check there is a function already written:
start: function() {
this.setupGlobals();// Listen to events ("Add hooks!")
this.addListeners();
},just find this and in this function write
alert('completed!');
Thanks
-
Prashant Singh replied to the topic Please help….please! in the forum Installing BuddyPress 6 years, 2 months ago
Hi,
Please paste the following code in your child theme’s functions.php file:
add_action( 'bp_before_directory_groups_list' ,'ps_add_image_before_groups');
function ps_add_image_before_groups(){
echo "<img src='your_image_url_here'>";
}If you do not have child theme just add this plugin https://wordpress.org/plugins/code-snippets/ and add a…[Read more]
-
Prashant Singh replied to the topic slow upload – Bad Performance in the forum How-to & Troubleshooting 6 years, 2 months ago
Hi,
Which hosting provider you have? Please consult with them once.
Thanks
-
Prashant Singh replied to the topic Placing profile avatar in item-nav in the forum How-to & Troubleshooting 6 years, 2 months ago
Needs more debugging, please try just after or before
<?php bp_get_displayed_user_nav(); ?>
Thanks
-
Prashant Singh replied to the topic How to show profile fields as links (in member-loop.php) in the forum Installing BuddyPress 6 years, 2 months ago
Ok, got that.
Please check this thread: https://buddypress.org/support/topic/adding-xprofile-fields-to-members-directory-list-items/
Thanks
-
Prashant Singh replied to the topic Members Masonry – Element in the forum How-to & Troubleshooting 6 years, 2 months ago
echo "<div class=item-meta><p>".
bp_member_profile_data('field=Expertise')."
</p></div>";If I got you then you mean that item-meta class is not getting displayed there, right?
But it should work, anyways you can always wrap it like this:
echo "<div…
[Read more] -
Prashant Singh replied to the topic Members Masonry – Element in the forum How-to & Troubleshooting 6 years, 2 months ago
ohh ok got that.
/**
* Buddypress Members masonry
*
*
* @package WordPress
* @subpackage K Elements
* @author SeventhQueen <themesupport@seventhqueen.com>
* @since K Elements 1.0
*/$output = '';
extract(
shortcode_atts( array(
'type' => 'newest',
'member_type' => 'all',
'number' => 12,
'class' => '',
'rounded' => "rounded",
'avatarsize' =>…[Read more] -
Prashant Singh replied to the topic Placing profile avatar in item-nav in the forum How-to & Troubleshooting 6 years, 2 months ago
<div id="item-header-avatar" class="rounded">
"><?php bp_displayed_user_avatar( 'type=full' ); ?>
<?php do_action('bp_member_online_status', bp_displayed_user_id()); ?>
</div><!-- #item-header-avatar -->Just paste this line after
do_action( 'bp_member_options_nav' ); ?>
and it will come next to menu but may be you need to style…[Read more] -
Prashant Singh replied to the topic How to show profile fields as links (in member-loop.php) in the forum Installing BuddyPress 6 years, 2 months ago
Hi,
You need to put this in an anchor
<a></a>
tag, maybe the profile having only text value and link to that should be written by yourself.Thanks
-
Prashant Singh replied to the topic How to start JS immediately after loading the āNotifications pageā in the forum How-to & Troubleshooting 6 years, 2 months ago
Please try in different functions like
start: function() {
Thanks
-
Prashant Singh replied to the topic Two membership directory in the forum Creating & Extending 6 years, 2 months ago
Ok, please check this: https://codex.buddypress.org/developer/member-types/
BuddyPress had introduced member type concept and using this you can create multiple directories.
There is a paid plugin https://www.buddyboss.com/product/buddypress-member-types/ that you can check. But still, the payment and free level security need some sort of…[Read more]
-
Prashant Singh replied to the topic Members Masonry – Element in the forum How-to & Troubleshooting 6 years, 2 months ago
Shouldn’t it to be wrote like this:
<div class="item-meta"><p> <?php echo bp_member_profile_data('field=Expertise'); ?></p></div>
Please check this once.
Thanks
- Load More
@prashantvatsh
Active 3 months, 3 weeks ago