shirleyl
Forum Replies Created
-
Forum: Plugins
In reply to: [Private Community For BP Lite] "blog" slug is not acceptedYou might want to try the workarounds listed in this thread: https://www.ads-software.com/support/topic/wordpress-pages-unblocked-bp-bbpress-blocked
Shirley
My workaround doesn’t apply to pages. To unblock pages on my site, I rely on the core functionality in the original plugin: I enter the “slug” for the pages I want unblocked in one of the ten slots provided on the Dashboard/Settings/Private Community for BP Settings page.
If you want to try modifying the code to unblock all pages, I suggest that you consult the conditional tags documentation in the WP Codex https://codex.www.ads-software.com/Conditional_Tags#A_PAGE_Page I’m not certain this is a good approach, however, as it might unblock your buddypress and bbPress pages as well, defeating the entire purpose of using this plugin.
I hope that makes sense.
Shirley
Ok, think I found the problem. The bbPress Forums page seems to be covered under !is_archive(), so that’s too broad for me to allow. I changed my parameters to detect specific types of WordPress archives pages:
if ( !is_user_logged_in() && !is_front_page() && !is_home() && !bp_is_register_page() && !bp_is_activation_page() && !is_single() && !is_date() && !is_tag() && !is_category() && !is_author() && !is_page ( array( $bphelp_my_unblocked_page_1, $bphelp_my_unblocked_page_2, $bphelp_my_unblocked_page_3, $bphelp_my_unblocked_page_4, $bphelp_my_unblocked_page_5, $bphelp_my_unblocked_page_6, $bphelp_my_unblocked_page_7, $bphelp_my_unblocked_page_8, $bphelp_my_unblocked_page_9, $bphelp_my_unblocked_page_10 ) ) )
Now, my bbPress Forums page is blocked. ?? Happy dance!
Shirley
Further testing reveals that my bbPress Forums page is not blocked with my modified line 27+:
if ( !is_user_logged_in() && !is_front_page() && !is_home() && !bp_is_register_page() && !bp_is_activation_page() && !is_single() && !is_archive() && !is_page ( array( $bphelp_my_unblocked_page_1, $bphelp_my_unblocked_page_2, $bphelp_my_unblocked_page_3, $bphelp_my_unblocked_page_4, $bphelp_my_unblocked_page_5, $bphelp_my_unblocked_page_6, $bphelp_my_unblocked_page_7, $bphelp_my_unblocked_page_8, $bphelp_my_unblocked_page_9, $bphelp_my_unblocked_page_10 ) ) )
The bbPress Forums page is blocked with the unmodified version 3.6 plugin. Any hints about how my modification broke blocking of the bbPress Forums page would be appreciated. I have double-checked and the Forums page is not included among my 10 unblocked pages.
Thanks,
Shirley
Forum: Plugins
In reply to: [Private Community For BP Lite] Last update issuesI’m really confused! You say that your plugin is meant to block all pages “with the exception of the latest blog post in dashboard/settings/reading”. On my site, under dashboard/settings/reading my “Front Page displays” option is set to show “A static page” and I specify “Welcome” as my Front page and “Blog” (slug: blog) as my Posts page. I have “blog” listed as Unblocked Page Three in my Private Community for BP Settings, but the Blog page remains blocked. My Welcome page is listed as Unblocked Page One and it is indeed unblocked.
Thank you for any assistance,
Shirley
Forum: Plugins
In reply to: [Private Community For BP Lite] "blog" slug is not acceptedSorry to add to a thread marked resolved, but I just wanted to mention that I’m having the same problem, and this problem is a critical error for my site that will prevent me from using the plugin entirely. That’s a real shame because it seems to provide exactly the functionality I need otherwise. The difficulty is that the blog page (the special WP page that displays posts) MUST be accessible to users who aren’t logged in (i.e. unblocked) on my site.
Thanks so much for your work on this plugin. I hope that you can add this functionality soon. Please let me know if I can provide any additional information to assist you.
Shirley
Forum: Plugins
In reply to: [Expire Password] Great PluginThanks for this plugin, it’s working great for me so far. I’m also missing the bulk actions option. Not a critical issue right now, but I know that this would be a very valuable feature down the road as my site matures.
I’d appreciate any help.