Search Results for 'buddypress'
-
AuthorSearch Results
-
May 6, 2018 at 5:04 pm #272797
In reply to: Theme/plugin suggestion please
adianand
ParticipantThank you varun. I’m trying buddypress with wpadverts, geo directory and events manager. I hope they all will work together well.
May 6, 2018 at 3:45 pm #272792yusareba
ParticipantMay 6, 2018 at 3:41 pm #272790In reply to: Disable BuddyPress Register Page?
yusareba
ParticipantMay 6, 2018 at 3:03 pm #272789In reply to: Age Field two fields
modde
ParticipantThank you, but the problem is, that its displayed like: 24 years, 2 months ago
In German its vor 24 Jahren, 2 Monaten.The birthday should be display like this: 24 years
Or in German: 24 JahreThe solution for me was to install the plugin BuddyPress Xprofile Custom Fields Type.
Its not maintained and got deleted from the plugin site, but it works.Maybe I can add a php code in the custom field of the profile fields?
May 6, 2018 at 1:00 pm #272782In reply to: Disable BuddyPress Register Page?
Venutius
ModeratorThis thread seems to have a tip to help:
Disable buddypress login page and switch back to wordpress default login.
May 6, 2018 at 11:18 am #272778In reply to: sitewide notice
sugar7
ParticipantThe first file (class-bp-messages-sitewide-notices-widget.php) may be more useful?
<?php
/**
* BuddyPress Messages Sitewide Notices Widget.
*
* @package BuddyPress
* @subpackage Messages
* @since 1.9.0
*/// Exit if accessed directly.
defined( ‘ABSPATH’ ) || exit;/**
* A widget that displays sitewide notices.
*
* @since 1.9.0
*/
class BP_Messages_Sitewide_Notices_Widget extends WP_Widget {/**
* Constructor method.
*/
function __construct() {
parent::__construct(
‘bp_messages_sitewide_notices_widget’,
__( ‘(BuddyPress) Sitewide Notices’, ‘buddypress’ ),
array(
‘classname’ => ‘widget_bp_core_sitewide_messages buddypress widget’,
‘description’ => __( ‘Display Sitewide Notices posted by the site administrator’, ‘buddypress’ ),
‘customize_selective_refresh’ => true,
)
);
}/**
* Render the widget.
*
* @see WP_Widget::widget() for a description of parameters.
*
* @param array $args See {@WP_Widget::widget()}.
* @param array $instance See {@WP_Widget::widget()}.
*/
public function widget( $args, $instance ) {if ( ! is_user_logged_in() ) {
return;
}// Don’t display the widget if there are no Notices to show.
$notices = BP_Messages_Notice::get_active();
if ( empty( $notices ) ) {
return;
}extract( $args );
$title = ! empty( $instance[‘title’] ) ? $instance[‘title’] : ”;
/**
* Filters the title of the Messages widget.
*
* @since 1.9.0
* @since 2.3.0 Added ‘instance’ and ‘id_base’ to arguments passed to filter.
*
* @param string $title The widget title.
* @param array $instance The settings for the particular instance of the widget.
* @param string $id_base Root ID for all widgets of this type.
*/
$title = apply_filters( ‘widget_title’, $title, $instance, $this->id_base );echo $before_widget;
echo $before_title . $title . $after_title; ?><div class=”bp-site-wide-message”>
<?php bp_message_get_notices(); ?>
</div><?php
echo $after_widget;
}/**
* Process the saved settings for the widget.
*
* @see WP_Widget::update() for a description of parameters and
* return values.
*
* @param array $new_instance See {@WP_Widget::update()}.
* @param array $old_instance See {@WP_Widget::update()}.
* @return array $instance See {@WP_Widget::update()}.
*/
public function update( $new_instance, $old_instance ) {
$instance = $old_instance;
$instance[‘title’] = strip_tags( $new_instance[‘title’] );
return $instance;
}/**
* Render the settings form for Appearance > Widgets.
*
* @see WP_Widget::form() for a description of parameters.
*
* @param array $instance See {@WP_Widget::form()}.
*
* @return string|null Widget form output.
*/
public function form( $instance ) {
$instance = wp_parse_args( (array) $instance, array(
‘title’ => ”,
) );$title = strip_tags( $instance[‘title’] ); ?>
<p>
<label for=”<?php echo $this->get_field_id( ‘title’ ); ?>”><?php _e( ‘Title:’, ‘buddypress’ ); ?></label>
<input class=”widefat” id=”<?php echo $this->get_field_id( ‘title’ ); ?>” name=”<?php echo $this->get_field_name( ‘title’ ); ?>” type=”text” value=”<?php echo esc_attr( $title ); ?>” />
</p><?php
}
}May 6, 2018 at 11:01 am #272775In reply to: sitewide notice
sugar7
Participantthis is the full path; /public_html/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-sitewide-notices-widget.php
May 6, 2018 at 9:13 am #272771wbcomdesigns
Participant@eforreal79 You can check for BuddyPress Moderation Pro It will help to moderate content with help of community members. They can report activities and reported activated will automatically remove from activity stream after a certain number of reports.
May 6, 2018 at 8:54 am #272770In reply to: BuddyPress Moderator
wbcomdesigns
ParticipantWe have recently created a plugin for BuddyPress Moderation, it’s live
Hopefully, it will help the community.
May 5, 2018 at 3:45 am #272740Varun Dubey
Participant@beo9999 It’s already fixed you can followup following discussion
https://buddypress.trac.wordpress.org/ticket/7391May 5, 2018 at 3:45 am #272739In reply to: choices for visibility of user name?
Varun Dubey
Participant@demiano Profile Name field is mandatory and it’s created at a time of plugin activation. It’s hard to add visibility control on it.
You can also check a related discussion on it
https://buddypress.trac.wordpress.org/ticket/7391May 5, 2018 at 3:21 am #272738In reply to: altering the user search query
Varun Dubey
ParticipantMay 5, 2018 at 3:11 am #272737In reply to: Include groups posts in the principal streams
Varun Dubey
Participant@goshoes Domain.com/activity will be site-wide activity and it will display activities from all members including group activities. You can also check https://codex.buddypress.org/administrator-guide/activity-streams/ for further details.
May 4, 2018 at 6:24 pm #272731In reply to: WP GDPR Compliance
Venutius
ModeratorThis is a bit of a wordpress issue in general, not just BuddyPress, for example much of the user info is actually from the WP user db, it’s also to do with the applications that you choose to use on WP. I believe the plan is for WordPress to build into core a Privacy Policy management system whereby plugins will be able to register their privacy/compliance options and the system admin will be able to use those to put together privacy policies using the mechanisms made available within this framework. Plugins can of course choose to implement their own solutons to GDPR.
The discussion regarding BP’s response to GDPR is here:
https://buddypress.trac.wordpress.org/ticket/7698 looks like the BP solution to this will be in 3.x.
May 4, 2018 at 6:05 pm #272729In reply to: choices for visibility of user name?
Venutius
ModeratorYou could ask for this as a feature request on Trac
There is a premium plugin I know of that does this – BuddyPress Profile Visibility Manager by BuddyDev.
May 4, 2018 at 2:17 pm #272720In reply to: altering the user search query
louie171
Participantok, after abit of digging I found away that might work.
Buddypress seems to WP_User_Query for the members query, so I can filter on pre_get_users
what I’m going todo is run a query where to find all users what are in a group that search term matches e.g. (pseudo query haven’t looked at the tables yet)
select ids_of_users from users, groups
where group_name like ‘%SEARCH_TERM%’ (join users and groups)Then from the ids above I can do something like this:
$query->set( ‘include’, (array) $user_ids );
looks like that should work, but welcome any input.
May 4, 2018 at 10:54 am #272714In reply to: Shortcode to create Edit Profile Page
jameskoo
ParticipantYes, I have been trying to share screenshot… It’s alright, I will try it again.
The plugin screenshot is here: https://prnt.sc/jdm8jn
The shortcodes are working! Thank you really much for this plugin! I will leave a review soon.
What I am trying to feedback is, the edit url shortcode is not functioning well.
This edit url shortcode will generate url as this format:
mysite/wp/members/username/edit/But the buddypress profile edit url should be this format:
mysite/wp/members/username/profile/edit/group/1/Thank you once again
May 4, 2018 at 8:34 am #272702In reply to: Inactive and old members
kriskl
Participantthanks, I have tried it few years ago, but it didn’t quite work, maybe I was doing something wrong,
pity, there is not a dedicated plugin for buddypress 🙁
May 4, 2018 at 7:49 am #272692In reply to: Shortcode to create Edit Profile Page
jameskoo
ParticipantHi @venutius thanks for developing this plugin. I think this should solve my issue.
I have tried the edit profile shortcodes, and paste it in the footer widget, it do shows the url. But it doesn’t shows the gravatar like what the buddypress login widget is.
Is the shortcodes being used in this way?
May 4, 2018 at 7:34 am #272691In reply to: Disable Change Email Address?
yusareba
ParticipantNo, only the actual buddypress profile.
May 4, 2018 at 7:21 am #272688In reply to: Disable Change Email Address?
Venutius
ModeratorSounds like you need to remove the nav item that corresponds to that link.
There’s two menu items that possibly need to be removed. the most common one could be removed with the
bp_core_remove_subnav_item( 'settings', 'general' );function.Do you also use the WordPress/BuddyPress adminbar?
May 4, 2018 at 5:03 am #272685Topic: Disable Change Email Address?
in forum How-to & Troubleshootingyusareba
ParticipantIn the settings (general) panel of buddypress, users can change their email address.
How can I remove or disable this?
If needed, I would be willing to use CSS but can’t find the identifier.
May 3, 2018 at 8:38 pm #272677In reply to: WordPress Broken During BP Activate
ChuxMark
ParticipantAll right. Everything is working now. I did NOT refresh the domain as mentioned in a prior post. Here is what I did:
1. From wp-admin, I deactivated Jet Pack plugin.
2. Set plugin folder back to “BuddyPress” (we previously set it to use -old suffix).
3. From wp-admin, reactivated BuddyPress
4. Confirmed that BuddyPress DOES work.
5. From wp-adminm, reactivated JetPack.
6. Confirmed BuddyPress STILL works.
There seems to be some unknown defect/inconsistency between the BP and JetPack plugins.
Note that there are other threads in this forum about JetPack problems that indicate SSO needs to be turned off. In my case, it wasn’t on, so that doesn’t seem to be the same problem.
Hope this situation and resolution helps someone else.
Best regards! CHUCK
May 3, 2018 at 8:33 pm #272674In reply to: Members Masonry List keeps disappearing
Venutius
ModeratorIn that case I don’t think that page is part of your BuddyPress install, I’m thinking it must have come with your theme, unless you renamed an existing bp page to that. there’s quite a few ways of getting the members page in masonry view, but unless you set it up specifically then it’s not part of the standard bp install I don’t think.
May 3, 2018 at 8:07 pm #272664In reply to: WordPress Broken During BP Activate
Venutius
ModeratorEither something went badly wrong with your install, wich is unlikelu or there’s something running on your site that is seriously messing with BuddyPress. Now you know how to recover from this, you could disable all other plugins, switch to the 2017 theme and then re-enable BuddyPress, to see if it works on it’s own.
-
AuthorSearch Results