Search Results for 'notification user id'
-
Search Results
-
Hello all,
I’ve looked throught the forum and many plugins, and I can not solve this problem which seems “so simple” to me !
How to configure an email sent to the administrator each time a registration is done ?
Let me explain :
My community system is based on pre-registered users in a database.
So, when a user registers on my site, he receives an email (originally, the wordpress email with the activation link) telling him that his account is being verified by the administrator.
Then, the account is in the user pending system, and the administrator can activate or not this account manually.
If the account is validate, the user will receive a welcoming message, etc.BUT, I would like to receive an email informing me that a user has registered, ie who has completed the registration form BUT has not yet validated his account. However, the default wordpress email is only sent to the administrator when the account is validate.
It’s really exhausting to check permanetly if a user is in the pending system, in order to validate or refuse its account…
Hope someone could help me…
ThanksHi,
I have been using the below code, So when someone clicks on the profile of an association it will redirect to the products tab.
All is well and I can use the other tabs to navigate around except when I click on the activities tab. It takes me to the products tab users cannot see the associations (role) activity stream.I removed this code and it worked fine so it is some where here. I have this in the child-theme/buddypress-nouveau/members/single/home.php page
WP Version 5.7.2 PHP 7.4.12
$displayed_user = new WP_User( bp_displayed_user_id() ); if ( ( in_array( 'associations', $displayed_user->roles, true )) && (strpos($_SERVER['REQUEST_URI'], "my-products") == false) && (strpos($_SERVER['REQUEST_URI'], "front") == false) && (strpos($_SERVER['REQUEST_URI'], "profile") == false) && (strpos($_SERVER['REQUEST_URI'], "activity") == false) && (strpos($_SERVER['REQUEST_URI'], "friends") == false) && (strpos($_SERVER['REQUEST_URI'], "my-donations") == false) && (strpos($_SERVER['REQUEST_URI'], "notifications") == false) && (strpos($_SERVER['REQUEST_URI'], "messages") == false) && (strpos($_SERVER['REQUEST_URI'], "groups") == false) && (strpos($_SERVER['REQUEST_URI'], "location") == false) && (strpos($_SERVER['REQUEST_URI'], "invite-anyone") == false) && (strpos($_SERVER['REQUEST_URI'], "settings") == false) && (strpos($_SERVER['REQUEST_URI'], "w-my-account") == false) && (strpos($_SERVER['REQUEST_URI'], "store-manager") == false) && (strpos($_SERVER['REQUEST_URI'], "articles") == false) && (strpos($_SERVER['REQUEST_URI'], "media") == false) && (strpos($_SERVER['REQUEST_URI'], "item-header-content") == false) ) { //is assoc and is not already redirected to products or other profile links $currenturl = $_SERVER['REQUEST_URI']; $urlto = $currenturl."my-products"; ?> <script> window.location.replace("<?php echo($urlto); ?>"); </script> <?php } else { // just load ?>Thank you for helping with this
Topic: Edit Activity Stream
How do I edit the activity stream? I would like to remove the “favouriting, and @mentions, all with full RSS feed and email notification support” capabilities from my site. So ideally the users will not receive email notifications and they cannot be mentioned in a comment.
Topic: menu with bp_nav_menu()
I have a BuddyPress social networks in a multi network WordPress install (WordPress multisite), thanks to LH Buddypress Multi Network plugin.
Everything is up to date.
How can I prevent people from accessing to a profile page from another blog?
For example :
teacherSite, teacherUser
studentSite, studentUserI have restricted access to site for non-member.
teacherUser can only connect on teacherSite.
And he can’t see in the directory other users from others blogs.If studentUser knows the teacherUser username or if he finds or tests…
He can go to studentSite.domain.com/members/teacherUser/, and he can see the profile of teacherUser even though teacherUser is not linked to studentSite.
Fortunately, there is no information (because everything else is well segregated) except the name and the gravatar.
But he can still make a connection request or send him a private message!
teacherUser will not see any notification on teacherSite. But he will potentially receive an email which will redirect him to studentSite without being able to connect to it.How to avoid this?
If you know, you are a master!
hello, good evening,
I am using buddypress with bbpress and I have a little problem: when I get a notification where a user mentioned me; I click on the notification and buddypress redirects me to my profile / activity / mention whereas I would like buddypress to redirect me directly to the post.
Does anyone have the solution?
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.
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 YesSome 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 91I hope someone can help me with this. This is a link to my site https://getaprofessor.com/
Topic: Bubble Notifications Problem
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

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
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.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!
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.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