Plugin Not Working On Buddypress Pages
-
Plugin is not working on pages used in Buddypress such as Members, Groups, Activity, and all pages under a user’s profile (Wall, Profile, Friends, etc.).
It’s working on all other pages. Any idea on how to fix this? Protecting the Buddypress pages are the main reason I want to use this plugin.
-
I should have you an answer in about three hours. I was not at my Desk (and Test Machine) when you posted, and won’t be back until then.
There is a fairly good chance I can figure out how to fix this as I have another plugin (jonradio Multiple Themes) that shares (a newer version of) the same URL matching code, and it works fine with BuddyPress.
Thank you for your patience!
Thanks for the quick response and I look forward to hearing from you.
I just did some thorough testing from a clean install of BuddyPress and my plugin, i.e. – on a site that had never had BuddyPress installed in the past.
And every BuddyPress page was protected (i.e. – forced a login) whenever I was logged off.
Hard to know where to begin. Later I may need to ask you about other plugins installed and what settings you have in BuddyPress, but right now, I’ll start with the most obvious possibility: Caching. Two types of Caching could cause the behaviour you are experiencing:
- Browser Caching
- a Plugin that Caches
This occurs because you view a URL, such as a BuddyPress URL, then you view that URL again later, after my plugin is working. The problem is that your browser or another plugin that does caching, will display the page the second time from a stored copy (“Cache”) made when you viewed it previously, before my plugin blocked it.
Let me know either way. I do want to help you get this working!
The plugin in on a development site so I haven’t activated any caching plugin yet and I don’t believe any of the plugins I do have active are caching pages.
Below is a list of plugins that are active on the site.
share-this
admin-menu-tree-page-view
many-tips-together
akismet
amr-shortcode-any-widget
bbpress
bp-default-email-notification-settings-control
bp-friends-suggest
buddypress
bp-group-hierarchy
bp-group-organizer
bp-group-suggest
bp-profile-search
buddy-bbpress-support-topic
buddypress-activity-stream-hashtags
buddypress-auto-group-join
bp-editable-activity
buddypress-extended-friendship-request
buddypress-fb-connect-plus
buddypress-groupomatic
buddypress-group-email-subscription
bp-limit-friendship-request
buddypress-links
buddypress-message-privacy
bp-private-message-rate-limiter
buddypress-profile-progression
bp-profile-visibility
buddypress-toolbar
buddypress-wall
buddypress-xprofile-custom-fields-type
conditional-profile-fields-for-buddypress
events-manager
events-manager-email-users
events-manager-pro
ewww-image-optimizer
invite-anyone
multi-plugin-installer
multisite-toolbar-additions
nav-menu-roles
revslider
buddypress-media
shortcodes-ultimate
buddypress-shared-friends
tinymce-advanced
welcome-pack
wordpress-social-invitations
wp-fullcalendar
social-media-widget
tagregator
yd-profile-visitor-tracker
mycred
wp-better-emails
duplicator
indeed-smart-popup
gravityforms
gravityformsuserregistration-master
add-new-default-avatar
buddymenu-buddylinks
bp-force-profile
jonradio-private-siteThanks for checking. And this plugin list. Best thing for me to do right now is to install all those plugins and see if their presence allows me to recreate your problem, and then resolve it.
I’ll update this thread as soon as I have any new info.
Given the number of plugins involved, this is going to take a while, and I’m not going to be able to test the Paid Plugins.
But I do need to know if you are using a WordPress Network, i.e. – Multisite. One of your plugins got me wondering, but I see that it works in Single Site as well.
Please let me know as I want to be sure that I’m testing on the same (Multi- or Single Site) as you have.
I’m using multisite.
I activated your plugin network-wide as well as at the individual website level and both returned the same result.
Thank you very much! That will help (to know).
I tried locating, installing and activating all 60 of those plugins, but discovered that at least a dozen of them were Paid Plugins, which I have no access to. Nonetheless, I did some testing and my plugin worked fine with all of the free plugins activated at once. Though, of course, I don’t know what Settings you had specified for each of those 48 plugins.
Because it looks like the problem may be with one of the Paid Plugins, and because there are so many plugins involved here, I think I’m going to have to say that my plugin can’t support this particular collection of plugins. Because even if I could find and solve the problem, I have no access to the Paid Plugin(s) for future testing, with both new versions of my plugin and the Paid Plugins.
Sorry that I was unable to help.
The topic ‘Plugin Not Working On Buddypress Pages’ is closed to new replies.