Last active
August 19, 2025 14:07
-
-
Save raftaar1191/0f5412141d09587062a6902f7133f309 to your computer and use it in GitHub Desktop.
To disable all PopupCard features (profile, group, etc.) in BuddyBoss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Disable all BuddyBoss PopupCards (profile, group, etc.) | |
| (function($) { | |
| $(document).ready(function() { | |
| if (window.bp && window.bp.Nouveau) { | |
| if (window.bp.Nouveau.profilePopupCard) { | |
| window.bp.Nouveau.profilePopupCard = function() { return false; }; | |
| } | |
| if (window.bp.Nouveau.groupPopupCard) { | |
| window.bp.Nouveau.groupPopupCard = function() { return false; }; | |
| } | |
| if (window.bp.Nouveau.memberPopupCard) { | |
| window.bp.Nouveau.memberPopupCard = function() { return false; }; | |
| } | |
| // Add more as needed if other popup cards exist | |
| } | |
| }); | |
| })(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment