Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A BuddyPress debug plugin that outputs some useful BuddyPress global variables in the footer.
@Jonnyauk

This comment has been minimized.

Copy link

@Jonnyauk Jonnyauk commented Sep 30, 2013

Good work r-a-y, this is great thanks!

I hope you don't mind but I've slightly adapted this into a WordPress plugin that adds the info to the admin menu. I'd like to extend it a bit in the future too, but it means that it doesn't interfere with the front-end UI as your code means that it overlays on the website, stopping me clicking on buttons and things sometimes (I also only show to admin level users).

Check out the work in progress at https://github.com/TancDesign/Tanc-BuddyPress-Helper

@iheartwine

This comment has been minimized.

Copy link

@iheartwine iheartwine commented Oct 13, 2013

Hello r-a-y, how shall I implement this plugin into my BP theme? :(

@r-a-y

This comment has been minimized.

Copy link
Owner Author

@r-a-y r-a-y commented Oct 20, 2013

Sorry everyone for not replying! I don't get notified of gist comments!

@Jonnyauk - Good job on extending the codebase of this debug plugin. I just added a check so only admins can view the debug output.

@iheartwine - This is a debug plugin for theme developers. This is not meant to be included into a theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment