Search Results for 'wordpress'
-
AuthorSearch Results
-
September 29, 2018 at 8:54 pm #276852
Topic: 404 all bp pages
in forum How-to & Troubleshootingiburnthings
ParticipantWordPress 4.9.8
Buddypress 3.2.0
Ubuntu, Apache, MySQL, php
mod_rewrite is enabledFresh install. I have dropped the database a few times and reinstalled.
This time I immediately enabled pretty permalinks ie. %post-name% and enabled user registration.
Then I installed and activated buddypress.Each time the pages are created and linked in buddypress settings automatically. However navigating to them gives 404
Not Found
The requested URL /register/ was not found on this server.Apache/2.4.18 (Ubuntu) Server at sub.domain.com Port 443
(I replaced my domain info)September 28, 2018 at 10:02 am #276844In reply to: Adding user subgroups?
Prashant Singh
ParticipantHi,
1. So for this, you can create groups in BuddyPress with company name, also have member type feature using this plugin https://buddydev.com/plugins/buddypress-member-types-pro/ and create.
2. Create member types with the same name as your groups and they will be listed at the time of registration so one can choose to which company they belong and then you can use this plugin https://wordpress.org/plugins/bp-auto-group-join/ to let them auto join to the respective company groups. In this way, they will be joining their respective community group automatically when they register by choosing the member type.
Hope this makes sense.
Thanks
September 27, 2018 at 12:11 pm #276832In reply to: How to output the latest 5 activities
Prashant Singh
ParticipantHi,
There are number of plugins that provides shortcodes like this, please check this: https://wordpress.org/plugins/bp-activity-shortcode/
Thanks
September 27, 2018 at 11:47 am #276831In reply to: “Read More” button not working in Groups
Prashant Singh
ParticipantPlease report them here https://buddypress.trac.wordpress.org/
Thanks
September 26, 2018 at 1:20 pm #276809In reply to: Directing to a 403 Page
Prashant Singh
ParticipantHi,
I will suggest going with this plugin: https://wordpress.org/plugins/all-404-redirect-to-homepage/ or this plugin https://wordpress.org/plugins/redirect-404-error-page-to-homepage-or-custom-page/
The first one will always redirect all your page 404s to the homepage and the second one provides you with the option to set a custom page.
Hopefully, it will help you.
Thanks
September 26, 2018 at 7:27 am #276797Prashant Singh
ParticipantHi,
Please revert your homepage settings and do not set register page as homepage and then use this plugin https://wordpress.org/plugins/buddy-registration-widget/ to get registration widget.
Please try login then.
Thanks
September 25, 2018 at 9:00 pm #276783In reply to: Field for data processing
thedark52
ParticipantHi,
I have wordpress 4.9.6 and that plugin seems to be not compatible with my wordpress version ( i can’t set the admin visibility)September 25, 2018 at 8:45 pm #276781In 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?
-
AuthorSearch Results