Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'notification user id'

Viewing 25 results - 76 through 100 (of 772 total)
  • Author
    Search Results
  • varkoff
    Participant

    Project Details :
    – WordPress version : 5.5.3
    – BuddyPress version : 6.3.0
    – Website Link : https://microfarmap.dev-local.com/
    – Other plugins I use : Advanced Custom Fields PRO, Advanced Custom Fields: JSON, bbPress, bbPress – Moderation Tools, BuddyForm Premium, BuddyForm Advanced Custom Fields, BuddyForm Hook Fields, BuddoForm Members Premium, BuddyPress Username Changer, Custom Post Type UI, LoginPress, Paid Memberships Pro, Progress Map, List & Filter, User Role Editor …

    Hello,
    I have been updating a WordPress website that was made by others, I might lack some information.

    BuddyPress works like a charm except for a few features :

    – From the user profile, we can send friendship requests. As a new user, I sent a friendship request to my admin account. I did receive the notification on my admin profile, but the Friends tab says there is no friend requests pending. It just doesn’t display theme on my customized Understrap theme.

    – Switching to WordPress Twenty Twenty One theme does solve the issues. Switching to Understrap parent theme does switch the issue. There seems to be a problem with my custom theme.

    Under this custom there, there is a /buddypress/ directory with template pages and loops. The buddypress/members/single/friends/requests-loop.php file was not modified, it’s the default one. That’s where I checked first.

    I also checked in the plugin files directly, under plugins/buddypress/bp-friends/bp-friends-functions.php but did not find a clue.

    After some research, I found out that only users that have an active ‘ Paid Memberships Pro ‘ subscription can send friend requests, or atleast their friend requests appear.

    I also installed the ” BuddyPress Integration ” plugin from Paid Memberships Pro website, in which there is an option to allow non-registered users to send friend requests, but it did not solve the issue.

    Please if you need more details or even an access, do not mind asking.

    #317262
    lusidave
    Participant

    Hi,

    I have a wp + BP installation where users do not get email notifications when a private message is being sent (all other emails notifications are ok).

    can you help me please ?

    thanks a lot

    David

    #316736
    lynnapp
    Participant

    Hi, I have a site with no functions. the only plugin activated is buddy press,

    so when it loads the object for the nav after the bp-wrap div it has

    <nav class=”main-navs no-ajax bp-navs single-screen-navs horizontal users-nav” id=”object-nav” role=”navigation” aria-label=”Member menu”>

    I had the site with custom themes and functions and removed everything to try and find out where it was getting hung up.

    Is there something else I can trouble shoot this with to find out why it does not load with Ajax – I thought that should be the default

    WP is 5.6
    Theme twenty twenty-one 1.1
    php 7.4
    Buddy Press info Version 7.1.0
    Active components Community Members, Extended Profiles, Account Settings, Friend Connections, Private Messaging, Activity Streams, Notifications, User Groups
    Active template pack BuddyPress Nouveau 7.1.0 ( I have tried with bp legacy also )
    Toolbar No
    Account Deletion Yes
    Community Members: Profile Photo Uploads Yes
    Community Members: Cover Image Uploads Yes
    Extended Profiles: Profile Syncing Yes
    User Groups: Group Creation Yes
    User Groups: Group Photo Uploads Yes
    User Groups: Group Cover Image Uploads Yes
    Activity Streams: Post Comments Yes
    Activity Streams: Activity auto-refresh Yes

    #315753
    phy9pas
    Participant

    I think I may have spotted a bug in the notifications that are raised for a nested reply.
    In
    bbpress/includes/extend/buddypress/notifications.php
    LINE 165

    
    // Notify the immediate reply author if not the current reply author
    	if ( ! empty( $reply_to ) && ( $author_id !== $reply_to_item_id ) ) {
    		$args['user_id']           = $reply_to_item_id;
    		$args['secondary_item_id'] = $topic_author_id;
    		bp_notifications_add_notification( $args );
    	}
    

    I believe the secondary_item_id here should be $author_id.
    Otherwise:
    user1 writes the topic
    user2 replies to the topic
    user3 replies to user2

    This will add a notification for user2 with user1 as the author, where as it should have a notification for user2 with user3 as the author.

    The fix is to change this line to

    
    $args['secondary_item_id'] = $author_id;
    

    Would love to know if I’ve misunderstood the logic here, or if this is a genuine bug.

    Thanks

    Pete

    Unknown
    Participant

    Some of my users encounter this statement “”There has been a critical error on your site.”, when they create groups. Although when they refresh it and click on their profile the group is created. This is the error found.
    [11-Sep-2020 07:12:01 UTC] PHP Fatal error: Uncaught Error: Class ‘PHPMailer’ not found in /srv/htdocs/wp-content/plugins/buddypress/bp-core/classes/class-bp-phpmailer.php:91
    Stack trace:
    #0 /srv/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-functions.php(3233): BP_PHPMailer->bp_email(Object(BP_Email))
    #1 /srv/htdocs/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php(365): bp_send_email(‘groups-invitati…’, 102044344, Array)
    #2 /srv/htdocs/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-invitation-manager.php(55): groups_notification_group_invites(Object(BP_Groups_Group), 102044344, 102044348)
    #3 /srv/htdocs/wp-content/plugins/buddypress/bp-core/classes/class-bp-invitation-manager.php(197): BP_Groups_Invitation_Manager->run_send_action(Object(BP_Invitation))
    #4 /srv/htdocs/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php(1718): BP_Invitation_Manager->send_invitation_by_id(1178)
    #5 /srv/htdocs/wp-content/plugins/buddypress/bp-groups/actions/create.php(139): groups_send_invites(Array)
    #6 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(287): groups_action_create_group(”)
    #7 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #8 /wordpress/core/5.5.1/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #9 /srv/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(353): do_action(‘bp_actions’)
    #10 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(287): bp_actions(”)
    #11 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #12 /wordpress/core/5.5.1/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #13 /srv/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(430): do_action(‘bp_template_red…’)
    #14 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(287): bp_template_redirect(”)
    #15 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #16 /wordpress/core/5.5.1/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #17 /wordpress/core/5.5.1/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
    #18 /wordpress/core/5.5.1/wp-blog-header.php(19): require_once(‘/wordpress/core…’)
    #19 /wordpress/core/5.5.1/index.php(17): require(‘/wordpress/core…’)
    #20 {main}
    thrown in /srv/htdocs/wp-content/plugins/buddypress/bp-core/classes/class-bp-phpmailer.php on line 91

    I hope someone can help me with this. This is a link to my site https://getaprofessor.com/

    #313075

    In reply to: Error after upgrading.

    John
    Participant

    I get the errors while enabling/disabling the components, I’m using the Buddypress newest version: 6.1.0

    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_activity CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_activity_meta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_invitations CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_notifications CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_notifications_meta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_friends CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_groups CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_groups_members CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_groups_groupmeta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_messages_messages CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_messages_recipients CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_messages_notices CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_messages_meta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_xprofile_groups CHANGE COLUMN <code>id</code> id bigint(20) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_xprofile_fields CHANGE COLUMN <code>id</code> id bigint(20) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_xprofile_data CHANGE COLUMN <code>id</code> id bigint(20) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_xprofile_meta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_user_blogs CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    WordPress database error: [Multiple primary key defined]
    ALTER TABLE wp_bp_user_blogs_blogmeta CHANGE COLUMN <code>id</code> id bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/workspace/wordpress/wp-includes/wp-db.php:1491) in /home/xxx/workspace/wordpress/wp-includes/pluggable.php on line 1281
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/workspace/wordpress/wp-includes/wp-db.php:1491) in /home/xxx/workspace/wordpress/wp-includes/pluggable.php on line 1284
    #312481
    danimasedo93
    Participant

    Hi all! I’m new in php & css.

    After reading a lot and learning very little, I managed to program the notifications in my project in php and css. It works fine, shows the amounts (friends, messages and notifications) and redirects where it should.

    My problem is that I need to “hide” the bubble of “0” when the user has no notifications and only show when if they have 1 or more notifications

    Bubble Notification in menu

    Functions.php

    function my_counter_nav_menu($menu) {
    
    	if ( ! is_user_logged_in() ) {
    		return $menu;
    	}
    
    	$user_id = bp_loggedin_user_id();
    	$user_url = bp_loggedin_user_domain();
    
            $friends_url = $user_url . bp_get_friends_slug() . '/';
    	$msg_url = $user_url . bp_get_messages_slug() . '/';
    	$notify_url = $user_url . bp_get_notifications_slug() . '/';
    
    	ob_start();
    	?>
            <li><a><a href="<?php echo bp_loggedin_user_domain();?>friends"><span class="notifications_icons"><i class="fas fa-user-friends" style="font-size:17px;"></i></span><span class="my_bubble_notify"><?php echo friends_get_friend_count_for_user( $user_id );?></span></a></a></li>
    
    	<li><a><a href="<?php echo bp_loggedin_user_domain();?>messages"><span class="notifications_icons"><i class="fas fa-envelope" style="font-size:17px;"></i></span><span class="my_bubble_notify"><?php echo bp_get_total_unread_messages_count( $user_id );?></span></a></a></li>
    	
    	<li><a><a href="<?php echo bp_loggedin_user_domain();?>notifications"><span class="notifications_icons"><i class="fas fa-bell" style="font-size:17px;"></i></span><span class="my_bubble_notify"><?php echo bp_notifications_get_unread_notification_count( $user_id );?></span></a></a></li>
    <?php
    	$menu_items = ob_get_clean();
    
    	$menu = $menu . $menu_items;
    	return $menu;
    }
    
    add_filter( 'wp_nav_menu_items', 'my_counter_nav_menu' )

    CSS

    .notifications_icons {
    color: #ffffff;
    vertical-align: middle;
    margin: -7px;
    }
    
    .my_bubble_notify {
    color: #ffffff;
    border-radius: 3px;
    background-color: #f7823f;
    vertical-align: 20%;
    position: relative;
    	font-size: small;
    	padding: 0.1em 5px;
    }

    Buddypress 6.0.0
    Wordpress 5.4.2
    site: http://www.gamerstroop.com
    If you need, you can use test account (acc:test – pw:test)

    I dont know if I can paste my site link here. If I can’t please remove it or let me know, thank you so much for reading and helping me! <3

    #312338
    cmsplay
    Participant

    Have set up BuddyPress Groups. I opted not to have forums (fora), because I already have nice fora set up in bbPress.

    When I view a User’s BuddyPress profile, I see the user’s BuddyPress sub-menu showing :

    Home | Activity | Profile | Notifications | Messages |Friends | Groups |Forums | Settings

    When I click on ‘Forums’, a page comes up saying:

    Forum Topics Started

    Oh, bother! No topics were found here.

    …It seems as if BuddyPress is pointing the User to non-existent BP fora.

    How can I either:

    (i) HIDE the BP ‘Forums’ sub-menu item (users can access the bbPress fora from a WP widget)

    OR

    (ii) Make the BP ‘Forums’ sub-menu item link to the bbPress which I have fora already made.

    ?

    Thank you.

    #312242

    Topic: timestamp issue

    in group forum Installing BuddyPress
    desense
    Participant

    Hey everybody,
    I’ve install the buddypress plugin and every thing works fine.
    Just the Time is wrong.

    The Time “message sent” is always 3 hours behind the real time it was sent.
    also the time from the activy, from auser, shows in the future it say “in 4 hours”.

    But if i get a Notification of a message, there is the correct time shown.

    any Idea?

    aditideo
    Participant

    Hello,
    I am using buddyboss theme and buddypress plugin and I can not see toolbar or notification bar on the frontend of the site.
    which settings do I need to check and which steps I need to follow. please guide asap.

    #312052
    clickallco
    Participant

    Start with the basics, did you change your theme to see if the issue is theme based?

    Did you turn off your other plugins to see if its another plugin is interfering?

    There are two different notification pages inside the members area, are they both blank?

    you-website.com/members/user-name/notifications/
    you-website.com/members/user-name/notifications/read/

    Go through each step and narrow down your search to locate the bug.

    honoluluman
    Participant

    I would like to create a simple email send to admin when a user updated a specific Profile Field.
    The field is a checkbox so it should be an array because a have multiple values.

    The code that i alreade try to use is

    function buddypress_profile_update( $user_id ) { 
     
         $admin_email = "YOUR-EMAIL@DOMAIN.COM";
         $message = sprintf( __( 'Member: %1$s', 'buddypress' ), bp_core_get_user_displayname( $user_id ) ) . "\r\n\r\n"; 
         $message .= sprintf( __( 'Color: %s' ), bp_get_profile_field_data('field=Color') ). "\r\n\r\n";
         wp_mail( $admin_email, sprintf( __( '[YOUR SITE] Member Profile Update' ), get_option('blogname') ), $message );
     }
     
     add_action( 'xprofile_updated_profile', 'buddypress_profile_update', 10, 5 );

    1st Problem. In the email i get just “Color: Array” , i have tried to use vsprintf instead but it gives me back only one value.

    2d Problem. I get an email whenever there is an update in general, and not only when there is an update from the specific field with ID 7.

    Any help would be appreciated.

    woofy123
    Participant

    @shanebp

    Hi, thanks for your reply before. I checked with the creators of the plugin and they say they can’t do it. so i decided to check by myself….the wise chat plugin redirects notifications to the email and the code for that is below….i don’t know coding and all that so i seriously need your help…what code do i put inplace of the email so that messages are reduirected to buddypress notifications? Please help..The code—–

    `<?php

    /**
    * WiseChat user notifications services.
    *
    * @author Kainex <contact@kaine.pl>
    */
    class WiseChatUserNotificationsService {

    /**
    * @var WiseChatUserNotificationsDAO
    */
    private $userNotificationsDAO;

    /**
    * @var WiseChatSentNotificationsDAO
    */
    private $sentNotificationsDAO;

    /**
    * @var WiseChatUsersDAO
    */
    private $usersDAO;

    /**
    * @var WiseChatChannelUsersDAO
    */
    private $channelUsersDAO;

    /**
    * @var WiseChatHttpRequestService
    */
    private $httpRequestService;

    /**
    * @var WiseChatOptions
    */
    private $options;

    public function __construct() {
    $this->options = WiseChatOptions::getInstance();
    $this->userNotificationsDAO = WiseChatContainer::getLazy(‘dao/WiseChatUserNotificationsDAO’);
    $this->sentNotificationsDAO = WiseChatContainer::getLazy(‘dao/WiseChatSentNotificationsDAO’);
    $this->usersDAO = WiseChatContainer::get(‘dao/user/WiseChatUsersDAO’);
    $this->channelUsersDAO = WiseChatContainer::get(‘dao/WiseChatChannelUsersDAO’);
    $this->httpRequestService = WiseChatContainer::getLazy(‘services/WiseChatHttpRequestService’);
    }

    /**
    * Sends all notifications for message.
    *
    * @param WiseChatMessage $message
    * @param WiseChatChannel $channel
    */
    public function send($message, $channel) {
    foreach ($this->userNotificationsDAO->getAll() as $notification) {
    $this->sendNotification($message, $channel, $notification);
    }
    }

    /**
    * Sends the notification.
    *
    * @param WiseChatMessage $message
    * @param WiseChatChannel $channel
    * @param WiseChatUserNotification $notification
    */
    private function sendNotification($message, $channel, $notification) {
    if ($notification->getType() == ’email’) {
    $this->sendEmailNotification($message, $channel, $notification);
    }
    }

    /**
    * Sends e-mail notification.
    *
    * @param WiseChatMessage $message
    * @param WiseChatChannel $channel
    * @param WiseChatUserNotification $notification
    */
    private function sendEmailNotification($message, $channel, $notification) {
    $timeRange = null; // seconds

    if ($notification->getFrequency() == ‘daily’) {
    $timeRange = 24 * 60 * 60;
    }
    if ($notification->getFrequency() == ‘hourly’) {
    $timeRange = 60 * 60;
    }
    if ($timeRange === null) {
    return;
    }

    if ($this->sentNotificationsDAO->wasNotificationSendForUser($notification->getId(), $channel->getId(), $message->getUserId(), $timeRange)) {
    return;
    }

    $recipientUser = $this->usersDAO->get($message->getRecipientId());
    if ($recipientUser === null) {
    return;
    }

    $channelUser = $this->channelUsersDAO->getActiveByUserIdAndChannelId($recipientUser->getId(), $channel->getId());
    if ($channelUser !== null) {
    return;
    }

    if ($recipientUser->getDataProperty(‘disableNotifications’) === true) {
    return;
    }

    if (!($recipientUser->getWordPressId() > 0)) {
    return;
    }

    $recipientWordPressUser = $this->usersDAO->getWpUserByID($recipientUser->getWordPressId());
    if ($recipientWordPressUser === null) {
    return;
    }

    $sentNotification = new WiseChatSentNotification();
    $sentNotification->setNotificationId($notification->getId());
    $sentNotification->setSentTime(time());
    $sentNotification->setChannelId($channel->getId());
    $sentNotification->setUserId($message->getUserId());
    $this->sentNotificationsDAO->save($sentNotification);

    // send the e-mail:
    $templateData = array(
    ‘${recipient}’ => $recipientWordPressUser->display_name,
    ‘${recipient-email}’ => $recipientWordPressUser->user_email,
    ‘${sender}’ => strip_tags($message->getUserName()),
    ‘${message}’ => $message->getText(),
    ‘${channel}’ => $message->getChannelName(),
    ‘${link}’ => $this->httpRequestService->getReferrerURL()
    );
    $emailSubject = str_replace(array_keys($templateData), array_values($templateData), $notification->getDetails()[‘subject’]);
    $emailBody = str_replace(array_keys($templateData), array_values($templateData), $notification->getDetails()[‘content’]);

    wp_mail($recipientWordPressUser->user_email, $emailSubject, $emailBody);
    }
    }

    woofy123
    Participant

    @prashantvatsh

    Hi Prashant Sir,

    I didn’t know how to reach to you and so I had to reply to this thread.

    I am having a problem and I think you might be able to help me.

    I have this plugin called wise chat pro and it says they integrate buddypress and what I want to do is the following—

    1. When new messages arrive in the wise chat channel they appear in the users bp-profile under the bp-notifications
    2. whenever a user is mentioned in a chat—that also appears in the users bp-profile under the mentions column.

    So in short, how can I connect both plugins so that the new messages and the @mentions appear in the users bp profile under the notification nd mentions section.

    I’ve seen a lot of replies by you and one reply helped me show user profile on a blank page so I thought you could help me with this too..

    Thank you very much

    joshloo
    Participant

    The Original Buddypress email template:

    {{poster.name}} replied to one of your updates:

    "{{usermessage}}"

    Go to the discussion to reply or catch up on the conversation.

    Is there a way to add a “{{{thread.content}}}” or something similar so that the user can just view the original title of the thread instead of having to head to the URL?

    A function that can grab the contents of the original update post and place it inside the email?

    Thanks in advance!

    #310873
    jdegraaf
    Participant

    On the BuddyPress notification page for users, the page ID appears to be set to 0, which creates issues with other plugins I have that are interacting with that page when it shouldn’t be due to the null value. Is this page intentionally set to a null value and is there a reason that the page ID shows up as a 0?

    Thanks!

    Page ID

    AMSTS
    Participant

    I’m not one to normally ask for help as I’ve figured out ways to do quite a few things but I just need some conceptual help from people smarter than I.

    I have a buddypress instance where someone performs an action on my website (using strava as an example, imagine it’s them logging a workout) and it creates A) a database entry in my own database and B) an activity in the BP world (and database of course).

    I am looking to add the ability to tag another user in this activity, and then the other user would then verify (yes/no) and if yes, then it creates the activity in the BP world and in my database.

    I have so far been able to add mentions to my custom form (without a problem, what an easy system!) but I’m stuck conceptually how to continue.

    Should I create a duplicate activity with the tagged user’s ID? Will that lead to them getting a notification? Is there a way for them to approve or decline the notification that is already in existence or will I have to build something for that?

    Just looking for the most “BuddyPress-ic” way to attack this problem and was hoping I could use your insight.

    Thanks in advance!

    #310578
    jags7519
    Participant

    We have installed and activated buddypress on our multisite. We are currently facing an issue when we tried to add a friend from another user profile. When someone sent a request, I see correctly the notification, but when I click on it, or, when I go in profile > Friends > Request, Buddypress just tells me “No friend request pending”.

    I have tried deactivating the plugins and theme but it did not work.
    Kindly guide us in fixing the issue.

    #310301
    verogy
    Participant

    WP version: 5.3.2 / BP version: 5.1.2
    I am building community site with registered users. I don’t want give my useres any access neither to WP admin dashboard nor the WP admin bar. I do not want them to see anything from WP.
    BUT
    I want to keep the member’s profile block on the frontend as you have on your BP org page.
    In my case the registration and so profile modification, image replace etc. would be possible to be done also from the front side.
    OR
    Since BP creates these profile related functions inside (Home, Profile, Notification, Messages, Friends, Groups , Settings), how can I create a new additonal menu item (the name could be: „My profile data” or something like this) on the front in the primary menu bar by clicking of wich I could reach e.g. the „Home” page from the above.
    HOW CAN I REALIZE ANY OF THESE GOALS WITHOUT CODING ABILITIES ?

    esmaeili
    Participant

    Hello everyone,
    need a bit help not sure if it’s a bug or happening just for me.

    As said in the Title, When I click the notification tab at the user profile menu,
    the tab will disappear from the menu.

    how can I fix this or address me the file responsible for showing the menu in profile.

    Warmest regards,
    Mostafa.

    reelscene
    Participant

    Hi guys

    I have the Aardvark theme which comes bundled with Paid Memberships Pro and BuddyPress/bbPress.
    WP version 5.3.2, BP version 5.1.2
    I’ve set the site so any non logged-in user goes to a set page, the site is essentially private.

    For some reason, the activity feed on the homepage wall only shows activities when logged in as admin. Any other user gets the message “Sorry, there was no activity found. Please try a different filter.” If they post a status, it’s visible when posted and goes into the database, but refreshing the homepage leads to an empty wall again.

    I’ve only made one recommended tweak to the child theme – redirecting non-logged in users to a “public page”. I can provide the admin login if that helps.

    function my_template_redirect_require_membership_access() {
    if(!is_admin()){
    if ( function_exists( 'pmpro_has_membership_access' ) && ! pmpro_has_membership_access() ) {
    wp_redirect( pmpro_url( 'levels' ) );
    exit;
    }
    }
    }
    
    add_action( 'template_redirect', 'my_template_redirect_require_membership_access' );

    ​​As I don’t know where the problem lies I’m not sure what settings to show you. I’ve tried disabling all of the additional plugins I’ve installed to no avail. Here are the plugins I have installed:

    Aardvark Plugin

    bbP private groups
    This plugin adds private groups to the forums, allocating users to groups, and combinations of forums to those groups, creating multiple closed forums.

    bbPress
    bbPress is forum software with a twist from the creators of WordPress.

    bbPress Notify (No-Spam)
    Sends email notifications upon topic/reply creation, as long as it’s not flagged as spam. If you like this plugin, help share the trust and rate it!

    BP Profile Search

    BuddyPress

    BuddyPress Xprofile Custom Field Types

    Classic Editor

    Coming Soon Page, Under Construction & Maintenance Mode by SeedProd

    Contact Form 7

    Elementor

    Envato Market

    Events Manager

    GD bbPress Attachments

    LayerSlider WP

    Paid Memberships Pro

    Paid Memberships Pro – bbPress Add On

    Paid Memberships Pro – BuddyPress Add On

    Paid Memberships Pro – Mailchimp Add On

    Passster
    Plugin to password-protect portions of a Page or Post.

    Responsive for WPBakery Page Builder

    rtMedia for WordPress, BuddyPress and bbPress

    Sensei Certificates

    Sensei LMS

    Smash Balloon Instagram Feed
    Display beautifully clean, customizable, and responsive Instagram feeds.

    Smush
    Reduce image file sizes, improve performance and boost your SEO using the free WPMU DEV WordPress Smush API.

    Theia Sticky Sidebar

    Transcoder

    Ultimate Reviewer

    UpdraftPlus – Backup/Restore
    Backup and restore: take backups locally, or backup to Amazon S3, Dropbox, Google Drive, Rackspace, (S)FTP, WebDAV & email, on automatic schedules.

    WooCommerce

    Wordfence Security

    Wordfence Security – Anti-virus, Firewall and Malware Scan

    WordPress Popular Posts

    WP Google Review Slider
    Allows you to easily display your Google Places business reviews in your Posts, Pages, and Widget areas!

    WP-Live Chat by 3CX
    The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with WP-Live Chat by 3CX.

    WPBakery Page Builder

    Youzer

    I can send a link to a zip file of the settings of the various membership and theme plugins if that helps.

    I understand the issue could be complex but I’m a PHP developer, so if you know of some places I can look in the code or starting points for investigation that would be really helpful 🙂

    Cheers

    #309830
    bmcconach
    Participant

    Howdy, BuddyPress friends!

    I have been working on a project for fun and have been enjoying the laying out of items and adding plugin functionality a bit much here lately. So much so, in fact, that I put the testing phase on the back shelf for a bit.

    When I was attempting to request membership from a test account to a private group that my admin account was the creator of, I ran into an issue: I can get to the request page (/groups/test-group/request-membership/?_wpnonce=47febc75fe) by clicking the link to do so and then am presented with a textarea for request comments, however when I submit the form (with or without comments) I am taken back to the group’s main page (/groups/test-group/) and am presented with “There was an error sending your group membership request. Please try again.” The request does not come through (not in BP’s notifications, e-mail, pending requests, etc.) at all.

    At first this was a minor irritation because I could go to the group as the admin and invite the test account to join the group. There I am presented with a checkbox for my test account’s name, as well as a submit button; however when clicking on the checkbox, the form instantly submits without ever sending an invite. I even attempted to modify the live source to set the field to checked, attempted to submit, and received a success message stating my invite was sent, but of course it never was.

    I have checked the list of plugins I have on my site, disabled a few I didn’t necessarily need, and have checked each of the remaining to see if there’s any sort of conflict between plugins affecting groups, but to no avail. This functionality is key to the use of groups for my project, so I would sincerely appreciate any advice from more knowledgeable members of the BP community.

    Some support information, including a list of active plugins, can be found below. Please note that any plugin with ** beside it came bundled with the theme.

    == Server Environment ==
    	Operating System: Linux
    	Software: Apache/2.4.6
    	MySQL version: MariaDB Server v5.5.61-MariaDB-38.13
    	PHP Version: 7.2.24
    	PHP Max Input Vars: 2500
    	PHP Max Post Size: 64M
    	GD Installed: Yes
    	ZIP Installed: Yes
    	Write Permissions: All right
    	Elementor Library: Connected
    
    == WordPress Environment ==
    	Version: 5.3.2
    	WP Multisite: No
    	Max Upload Size: 64 MB
    	Memory limit: 512M
    	Permalink Structure: /%postname%/
    	Language: en-US
    	Timezone: America/New_York
    	Debug Mode: Inactive
    
    == Theme ==
    	Name: Gwangi
    	Version: 2.1.1
    	Author: Themosaurus
    	Child Theme: No
    
    == User ==
    	Role: administrator
    	WP Profile lang: en_US
    	User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
    
    == Active Plugins ==
    	(BuddyDev) BP Auto Login on Activation
    		Version: 1.0.3
    		Author: Brajesh Singh
    
    	Author Avatars List**
    		Version: 1.18
    		Author: Paul Bearne
    
    	Awesome Weather Widget
    		Version: 3.0.2
    		Author: Hal Gatewood
    
    	bbPress
    		Version: 2.6.3
    		Author: The bbPress Contributors
    
    	BP Messages Tool
    		Version: 2.1
    		Author: PhiloPress
    
    	BP Profile Search
    		Version: 5.2.4
    		Author: Andrea Tarantini
    
    	BuddyPress
    		Version: 5.1.2
    		Author: The BuddyPress Community
    
    	BuddyPress Default Cover Photo
    		Version: 1.6.0
    		Author: SeventhQueen
    
    	BuddyPress Extended Friendship Request
    		Version: 1.2.0
    		Author: BuddyDev Team
    
    	BuddyPress Reorder Tabs
    		Version: 2.0.1
    		Author: BuddyBoss
    
    	BuddyPress Xprofile Custom Field Types
    		Version: 1.1.3
    		Author: BuddyDev
    
    	Classic Editor
    		Version: 1.5
    		Author: WordPress Contributors
    
    	Classic Editor Addon
    		Version: 2.6.0
    		Author: Pieter Bos, Greg Schoppe
    
    	Dashboard Notepad
    		Version: 1.42
    		Author: Stephanie Leary
    
    	Easy Custom Sidebars**
    		Version: 1.0.10
    		Author: Titanium Themes
    
    	Elementor**
    		Version: 2.8.3
    		Author: Elementor.com
    
    	Envato Market
    		Version: 2.0.3
    		Author: Envato
    
    	Essential Addons for Elementor
    		Version: 3.7.1
    		Author: WPDeveloper
    
    	Grimlock**
    		Version: 1.2.5
    		Author: Themosaurus
    
    	Grimlock Animate**
    		Version: 1.1.0
    		Author: Themosaurus
    
    	Grimlock for Author Avatars List**
    		Version: 1.0.4
    		Author: Themosaurus
    
    	Grimlock for bbPress**
    		Version: 1.0.3
    		Author: Themosaurus
    
    	Grimlock for BuddyPress**
    		Version: 1.1.4
    		Author: Themosaurus
    
    	Grimlock for Elementor**
    		Version: 1.0.1
    		Author: Themosaurus
    
    	Grimlock for Jetpack**
    		Version: 1.0.4
    		Author: Themosaurus
    
    	Grimlock for Testimonials by WooThemes**
    		Version: 1.1.0
    		Author: Themosaurus
    
    	Grimlock for The Events Calendar**
    		Version: 1.1.2
    		Author: Themosaurus
    
    	Grimlock Hero**
    		Version: 1.0.7
    		Author: Themosaurus
    
    	Grimlock Isotope**
    		Version: 1.0.7
    		Author: Themosaurus
    
    	Grimlock Login**
    		Version: 1.0.10
    		Author: Themosaurus
    
    	Hide Admin Bar
    		Version: 0.3.9.9
    		Author: Shelby DeNike
    
    	If Menu - Visibility control for menu items
    		Version: 0.15
    		Author: Layered
    
    	Kirki Customizer Framework**
    		Version: 3.0.45
    		Author: Ari Stathopoulos
    
    	MediaPress
    		Version: 1.4.6
    		Author: BuddyDev
    
    	Menu Image**
    		Version: 2.9.5
    		Author: Rui Guerreiro
    
    	Simple Buddypress Profile Privacy
    		Version: 0.7.9
    		Author: Justin Hansen
    
    	Social Articles
    		Version: 2.9.5
    		Author: Broobe
    
    	The Events Calendar
    		Version: 4.9.14
    		Author: Modern Tribe, Inc.
    
    	UpdraftPlus - Backup/Restore
    		Version: 1.16.21
    		Author: UpdraftPlus.Com, DavidAnderson
    
    	Verified Member for BuddyPress**
    		Version: 1.1.1
    		Author: Themosaurus
    
    == Must-Use Plugins ==
    	Gateway Relay
    		Version: 1.0
    		Author: Arnold Bailey (Incsub)
    
    	rms_unique_wp_mu_pl_fl_nm.php
    		Version: 
    		Author: 
    
    	WPMU Assist
    		Version: 1.0.2
    		Author: Arnold Bailey (Incsub)
    
    == Elements Usage ==
    	
    	wp-page : 12
    		eael-adv-tabs : 1
    		google_maps : 1
    		image-carousel : 1
    		shortcode : 1
    		text-editor : 1
    		wp-widget-grimlock_author_avatars_section_widget : 1
    		wp-widget-grimlock_posts_section_widget : 1
    		wp-widget-grimlock_query_section_widget : 1
    		wp-widget-grimlock_section_widget : 3
    		wp-widget-grimlock_the_events_calendar_tribe_events_section_widget : 1
    
    == Log ==
    	
    PHP: showing 1 of 1PHP: 2020-01-02 10:43:38 [error X 1][/home/*****/public_html/wp-content/plugins/elementor/elementor.php::97] Cannot redeclare elementor_fail_wp_version() (previously declared in /home/*****/public_html/wp-content/plugins/elementor/elementor.php:97) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    
    JS: showing 1 of 1JS: 2020-01-11 16:50:05 [error X 1][https://*****/wp-content/plugins/grimlock/assets/js/navigation-stick-to-top.js?ver=1.2.5:27:45] Cannot read property \'top\' of undefined
    #309443
    eriksson1337
    Participant

    Thanks for your reply.

    As far as i know, the

    function friends_notification_new_request( $friendship_id, $initiator_id, $friend_id )

    sends a notification to the person who got a friendship request.

    I would like to send an E-Mail to the user who made a request.

    For example user 1 requests a friendship with user 2. User 1 gets an E-Mail “You requested a friendship with user 2”.

    Is that possible?

    rossmilstein
    Participant

    Hello,
    I hope you can give me input on this scenario.
    Diane has a image. She wants to share it with a potential user outside of Buddypress, Jack.
    I need Diane to be able to send some sort of message to the Jack who is not a member. Jack would get the message, probably an email, and need to register on the BuddyPress site and join as a member to see this new image, blog post, etc. Then once inside the site. Jack can see the image and operate as a member, because then he has signed up.

    Can you tell me how I can get there from here?
    Very grateful. Ross

    Nahum
    Participant

    What is the best way to remove user tabs? bp_core_remove_nav_item, after many years now, still doesn’t seem to be the solution. This method doesn’t only remove the link from the menu, it disables the component entirely unless I’m missing something because it seems to be offered up as the accepted solution on several threads.

    I’ve even tried

    bp_core_remove_nav_item in combo with add_action(‘bp_screens’, $screen_function) to re-add component screens >> worked somewhat but had other issues

    So I ended up with just overwriting the members/single/parts/item-nav.php file

    <nav class="<?php bp_nouveau_single_item_nav_classes(); ?>" id="object-nav" role="navigation" aria-label="<?php esc_attr_e( 'Member menu', 'buddypress' ); ?>">
    
    	<?php if ( bp_nouveau_has_nav( array( 'type' => 'primary' ) ) ) : ?>
    
    		<ul>
    
    			<?php
    			while ( bp_nouveau_nav_items() ) :
    				bp_nouveau_nav_item();
    			?>
    <?php /*///////////////////////////////////
    stopping the nav items here
    ///////////////////////////////*/?>
    
    <?php if(!in_array( bp_nouveau_get_nav_link_text(), array('Settings', 'Notifications', 'Messages')) ):?>
    
    				<li id="<?php bp_nouveau_nav_id(); ?>" class="<?php bp_nouveau_nav_classes(); ?>">
    					<a href="<?php bp_nouveau_nav_link(); ?>" id="<?php bp_nouveau_nav_link_id(); ?>">
    						<?php bp_nouveau_nav_link_text(); ?>
    
    						<?php if ( bp_nouveau_nav_has_count() ) : ?>
    							<span class="count"><?php bp_nouveau_nav_count(); ?></span>
    						<?php endif; ?>
    					</a>
    				</li>
    
    				<?php endif;?>
    
    			<?php endwhile; ?>
    
    			<?php bp_nouveau_member_hook( '', 'options_nav' ); ?>
    
    		</ul>
    
    	<?php endif; ?>
    
    </nav>
    

    What is the way to do this?

Viewing 25 results - 76 through 100 (of 772 total)
Skip to toolbar