Search Results for 'wordpress'
-
AuthorSearch Results
-
September 25, 2018 at 8:45 pm #276781
In reply to: Field for data processing
Prashant Singh
ParticipantYou can go with this plugin https://wordpress.org/plugins/buddypress-admin-only-profile-fields/ to set the visibility to hidden/admin only.
Thanks
September 25, 2018 at 7:49 pm #276774In reply to: Field for data processing
Prashant Singh
ParticipantSeptember 25, 2018 at 7:17 pm #276771In reply to: Please help….please!
lookingahead
Participantthank you SO much @prashantvatsh — that worked!! the only thing i had to do after was to hide the things that were appearing above the picture/groups list now since the workaround you posted above. so, to the ‘additional CSS’ section in the wordpress customizer, i added:
div#subnav-filters.subnav-filters.filters.no-ajax{ display:none !important; } div.pag-count.top{ display:none !important; }i realized that the image was not floating “above” the list of all groups….it was now part of the container (or whatever you call it) of the groups. and i wasn’t going to use those sections i just hid via CSS (above) anyway…thank goodness someone else had told me how to hide something else previously via CSS or i’d never have been able to hide that stuff i just hid, either! 😀
thanks again for all your help. this works good enough for me. <3 you’re fantastic!!
September 25, 2018 at 6:13 pm #276770In reply to: Description Groups
lookingahead
Participant@ipokkel okay lol….i had to restore my site to an earlier time, so….this fix was lost. totally sucks.
and, i updated to the latest version. which apparently came out after your fix was posted.
so here’s what you recommended:
For a temporary workaround this worked for me:
buddypress\bp-templates\bp-nouveau\buddypress\groups\single\cover-image-header.php
line 62
<?php echo esc_html( bp_nouveau_group_meta()->description ); ?>replace with:
<?php echo bp_nouveau_group_meta()->description; ?>reference: https://codex.wordpress.org/Function_Reference/esc_html
so i interpreted that location as:
wp-content\plugins\buddypress\bp-templates\bp-nouveau\buddypress\groups\single\cover-image-header.phpbut when i got there, there was no line 62 as there had been before. even after the coffee this time… 🙂
here’s the contents of the cover-image-header PHP file that i see at that location now:
<?php /** * BuddyPress - Groups Cover Image Header. * * @since 3.0.0 * @version 3.2.0 */ ?> <div id="cover-image-container"> <div id="header-cover-image"></div> <div id="item-header-cover-image"> <?php if ( ! bp_disable_group_avatar_uploads() ) : ?> <div id="item-header-avatar"> <a href="<?php echo esc_url( bp_get_group_permalink() ); ?>" title="<?php echo esc_attr( bp_get_group_name() ); ?>"> <?php bp_group_avatar(); ?> </a> </div><!-- #item-header-avatar --> <?php endif; ?> <?php if ( ! bp_nouveau_groups_front_page_description() ) : ?> <div id="item-header-content"> <p class="highlight group-status"><strong><?php echo esc_html( bp_nouveau_group_meta()->status ); ?></strong></p> <p class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>"> <?php /* translators: %s = last activity timestamp (e.g. "active 1 hour ago") */ printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?> </p> <?php echo bp_nouveau_group_meta()->group_type_list; ?> <?php bp_nouveau_group_hook( 'before', 'header_meta' ); ?> <?php if ( bp_nouveau_group_has_meta_extra() ) : ?> <div class="item-meta"> <?php echo bp_nouveau_group_meta()->extra; ?> </div><!-- .item-meta --> <?php endif; ?> <?php bp_nouveau_group_header_buttons(); ?> </div><!-- #item-header-content --> <?php endif; ?> <?php bp_get_template_part( 'groups/single/parts/header-item-actions' ); ?> </div><!-- #item-header-cover-image --> </div><!-- #cover-image-container --> <?php if ( ! bp_nouveau_groups_front_page_description() && bp_nouveau_group_has_meta( 'description' ) ) : ?> <div class="desc-wrap"> <div class="group-description"> <?php bp_group_description(); ?> </div><!-- //.group_description --> </div> <?php endif; ?>where do i put that fix now?????
thanks in advance for any and all help.
September 25, 2018 at 2:58 pm #276755In reply to: Redirect from page if not logged in
Prashant Singh
ParticipantNot an issue, just write
exit();after thiswp_redirect( 'http://www.legit-check.dk/rm_login/', 301 );and also replacetemplate_redirectwithwp.
I forgot to mention that.
If it still of no help, then please go for this plugin https://wordpress.org/plugins/simple-301-redirects/. You have to just enter the source and destination URL there.Thanks
September 25, 2018 at 2:24 pm #276746In reply to: Redirect from page if not logged in
Prashant Singh
ParticipantHi,
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') && ! is_user_logged_in() ) { auth_redirect(); } }Thanks 🙂
September 25, 2018 at 8:22 am #276728In reply to: Please help….please!
Prashant Singh
ParticipantHi,
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 new snippet and paste this code there.
Please remember to change ‘your_image_url_here’ with your image source URL.
Thanks
September 25, 2018 at 4:06 am #276716In reply to: Missing config.php to change language
r-a-y
KeymasterYou should post on the bbPress forums:
https://bbpress.org/forumsbbPress handles the forum aspect of your site. It looks like Turkish should be supported based on the community’s translation efforts:
https://translate.wordpress.org/projects/wp-plugins/bbpressSeptember 24, 2018 at 2:02 pm #276694In reply to: Members Masonry – Element
Prashant Singh
Participantohh 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' => '', 'width_height' => '', 'online' => 'show' ), $atts ) ); //var_dump($avatarsize); $params = array( 'type' => $type, 'scope' => $member_type, 'per_page' => $number ); if ($rounded == 'rounded') { $rounded = 'rounded'; } $avatarquery = ''; if( $avatarsize == 'large' ) { $avatarsizewh = explode( 'x', $width_height ); if( isset( $avatarsizewh[0] ) && isset($avatarsizewh[1] ) ) { $avatar_width = $avatarsizewh[0]; $avatar_height = $avatarsizewh[1]; $avatarquery = 'type=full&width='.$avatar_width.'&height='.$avatar_height.' '; } } if ( function_exists('bp_is_active') ) { if ( bp_has_members( $params ) ){ ob_start(); echo '<div class="wpb_wrapper">'; echo '<div id="members-dir-list" class="members dir-list">'; echo '<ul id="members-list" class="item-list row kleo-isotope masonry '.$class.'">'; while( bp_members() ) : bp_the_member(); echo '<li class="kleo-masonry-item">' .'<div class="member-inner-list animated animate-when-almost-visible bottom-to-top">' .'<div class="item-avatar '.$rounded.'">' .''. bp_get_member_avatar($avatarquery) . kleo_get_img_overlay() . ''; if ($online == 'show') { echo kleo_get_online_status(bp_get_member_user_id()); } echo '</div>' .'<div class="item"> <div class="item-title">' .''. bp_get_member_name() . ' </div>'; echo "<div class=item-meta><p>". bp_member_profile_data('field=Expertise')." </p></div>"; echo '<div class="item-meta"> <span class="activity">'.bp_get_member_last_active().'</span></div>'; if ( bp_get_member_latest_update() ) { echo '<span class="update"> '. bp_get_member_latest_update().'</span>'; } do_action( 'bp_directory_members_item' ); echo '</div>'; echo '<div class="action">'; do_action( 'bp_directory_members_actions' ); echo '</div>'; echo '</div><!--end member-inner-list--> '; endwhile; echo ''; echo '</div>'; echo '</div>'; $output = ob_get_clean(); } } else { $output = __("This shortcode must have Buddypress installed to work.","k-elements"); }Please try this code.
Thanks
September 24, 2018 at 12:58 pm #276692In reply to: Members Masonry – Element
israel4lincelot
ParticipantDoes not work. I think it’s because de line I’m writing is within an echo already.
Full code:
<?php
/**
* 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' => '',
'width_height' => '',
'online' => 'show'
), $atts )
);
//var_dump($avatarsize);$params = array(
'type' => $type,
'scope' => $member_type,
'per_page' => $number
);
if ($rounded == 'rounded') {
$rounded = 'rounded';
}$avatarquery = '';
if( $avatarsize == 'large' ) {
$avatarsizewh = explode( 'x', $width_height );
if( isset( $avatarsizewh[0] ) && isset($avatarsizewh[1] ) ) {
$avatar_width = $avatarsizewh[0];
$avatar_height = $avatarsizewh[1];
$avatarquery = 'type=full&width='.$avatar_width.'&height='.$avatar_height.' ';
}
}if ( function_exists('bp_is_active') ) {
if ( bp_has_members( $params ) ){
ob_start();
echo '<div class="wpb_wrapper">';
echo '<div id="members-dir-list" class="members dir-list">';
echo '<ul id="members-list" class="item-list row kleo-isotope masonry '.$class.'">';while( bp_members() ) : bp_the_member();
echo '<li class="kleo-masonry-item">'
.'<div class="member-inner-list animated animate-when-almost-visible bottom-to-top">'
.'<div class="item-avatar '.$rounded.'">'
.''. bp_get_member_avatar($avatarquery) . kleo_get_img_overlay() . '';
if ($online == 'show') {
echo kleo_get_online_status(bp_get_member_user_id());
}
echo '</div>'.'<div class="item">
<div class="item-title">'
.''. bp_get_member_name() . '
</div><div class="item-meta"><p">
<?php echo bp_member_profile_data('field=Expertise'); ?>
</p></div><div class="item-meta">
<span class="activity">'.bp_get_member_last_active().'</span></div>';
if ( bp_get_member_latest_update() ) {
echo '<span class="update"> '. bp_get_member_latest_update().'</span>';
}do_action( 'bp_directory_members_item' );
echo '</div>';
echo '<div class="action">';
do_action( 'bp_directory_members_actions' );
echo '</div>';echo '</div><!--end member-inner-list-->
';
endwhile;echo '';
echo '</div>';
echo '</div>';
$output = ob_get_clean();
}}
else
{
$output = __("This shortcode must have Buddypress installed to work.","k-elements");
}September 24, 2018 at 9:24 am #276679In reply to: Two membership directory
Prashant Singh
ParticipantHi,
You can check this plugin: https://wordpress.org/plugins/buddypress-shortcodes/
But still, it will need customization to add different fields there.
Thanks
September 23, 2018 at 8:03 pm #276667In reply to: Hide specific user profile tabs
Prashant Singh
ParticipantHi,
Please check this plugin: https://wordpress.org/plugins/buddypress-members-only/
Hopefully, it will help you.
Thanks
September 23, 2018 at 9:20 am #276662In reply to: DIrect messaging problem
casper99
ParticipantSame problem here.
And: I won’t get an ajax recommendation by entering @username in the field with bp-nouveau.It seems to be a problem with the “bp-nouveau” theme.
With the old standard-theme, it works!BuddyPress 3.2.0
WordPress 4.9.8September 22, 2018 at 10:26 am #276645In reply to: Problem with news feed (activities) filter
Prashant Singh
ParticipantHi,
Please follow these links:
Add custom filters to loops and enjoy them within your plugin
Hopefully, this will help you.
Thanks
September 22, 2018 at 10:16 am #276643In reply to: How to mark all notifications as read
Prashant Singh
ParticipantSeptember 22, 2018 at 10:12 am #276642In reply to: autopost to twitter, facebook , instagram
Prashant Singh
ParticipantHi,
Please try to use this one: https://wordpress.org/plugins/bp-activity-social-share/
It is not having an auto post but you can share activities on your favourite social network.
Thanks
September 20, 2018 at 11:52 pm #276624In reply to: register problem in mobile
r-a-y
KeymasterI cannot duplicate your problem with a WordPress tehme. Tested with Chrome’s developer tools with its mobile simulator.
Can you tell me what mobile device you are emulating with Chrome’s developer tools? If you have some plugins activated, deactivate ones that might be interfering with the registration process.
DL
ParticipantI like the idea of friends-only PM’s but that plugin hasn’t been updated and carries the warning.
This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
It looks like r-a-y is still active here though, so maybe it’s ok with the latest WP and BP?
September 20, 2018 at 5:55 pm #276614r-a-y
KeymasterLooks like the same problem as this user:
That user is also using the Kleo theme.
What happens when you change your theme to something else like Twenty Seventeen or another WordPress default theme?
September 20, 2018 at 10:51 am #276605In reply to: register problem in mobile
Layo_BCN
ParticipantHi,
We have already been changing to the WordPress theme and the same thing happens, when you finish entering the data in the registration and registration update fields, the page is reloaded and loads the same registration page with the fields already completed just missing the password. , and it is put back and repeated in bukle.
He also tested on another web that we have with another theme and deactivating all the plugins and still presenting the same error.
Â
in the Main web we use BuddyPress Version 3.2.0 and in the other one that we have tested we have Version 3.1.0I hope I can solve the situation for elelvamso two weeks without receiving user registrations since our potential partners are always conceded by the mobile and we usually receive more than 10 weekly registration.
So it is URGENT that you can register to BuddyPress by mobile device.
proweb01
ParticipantI installed this plugin and all PM spam stopped ever since. It requires a person to be your friend before they can PM you. https://wordpress.org/plugins/buddypress-private-message-for-friends-only/
September 19, 2018 at 9:01 pm #276591In reply to: Members listing and sorting
Prashant Singh
ParticipantHi,
You can create xprofile fields to save there data and then can search them on the basis of those fields under members directory using this plugin https://wordpress.org/plugins/bp-profile-search/
Thanks
September 19, 2018 at 8:41 pm #276583In reply to: How to filter members by profile field entries?
Prashant Singh
ParticipantSeptember 19, 2018 at 8:05 pm #276581jeffreyls
ParticipantHi Ray,
Big thanks, looks like the way to go. I did find
https://wordpress.org/support/plugin/disable-embedsIt looks to disable everything… just need to find a way to disable everything with an exception. i.e. YouTube and Vimeo.
Thanks again… appreciated.
Jeff
September 19, 2018 at 5:28 pm #276577In reply to: BuddyPress pages not secure
shanebp
ModeratorThere are a few plugins that can do that, for example:
-
AuthorSearch Results