Skip to content

Instantly share code, notes, and snippets.

@raftaar1191
Last active August 19, 2025 14:07
Show Gist options
  • Select an option

  • Save raftaar1191/0f5412141d09587062a6902f7133f309 to your computer and use it in GitHub Desktop.

Select an option

Save raftaar1191/0f5412141d09587062a6902f7133f309 to your computer and use it in GitHub Desktop.
To disable all PopupCard features (profile, group, etc.) in BuddyBoss
// 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