frostdawn
Forum Replies Created
-
I also attempted to add an exception to the LoginRedirect before the loggedin check is performed. I didn’t get the syntax just right, but it could prove to be an alternative way to get something past the privacy filter. Provide the URL to a page you don’t want protected to the exception rule and if that URL is hit, it should exit out of the if loop in the LoginRedirect function.
I’ve since discovered that documents added to the media gallery are NOT protected by this plugin. So if you have information that can be imparted by an attachment, hardcode that link, and it will not be covered by the privacy plugin. Just an FYI for anyone that comes along and tries to customize this plugin.
Thanks for the post, however trying the above, I got the following error:
Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION in C:\xampp\htdocs\wordpress\wp-content\plugins\private-buddypress\private-buddypress.php on line 88I then tried to add the option of a page filter to the exception rules already defined in the source such as:
function LoginRequired() {
// No login required if homepage is excluded
if ( true == $this->options->exclude->homepage && is_front_page() )
return false;// No login required if terms is excluded
if ( true == $this->options->exclude->terms)
return false;// No login required if registration is excluded
if ( true == $this->options->exclude->registration && ( bp_is_register_page() || bp_is_activation_page() ) )
return false;// No login required if blog pages are excluded
if ( true == $this->options->exclude->blogpages && bp_is_blog_page() )
return false;// No login required if blog pages are excluded
if ( true == $this->options->exclude->page && bp_is_page(‘mypage’) )
return false;// Login required
return apply_filters(‘pbp_login_required_check’, true);
}While that block of code didn’t throw any errors, it didn’t exclude the page as expected either.
Another update:
Firefox
http traffic blocks the loading of events, but https allows them (where I get good behavior).IE (7 & 8)
http traffic renders the calendar, but not the events (loading prompt that never resolves itself)
https traffic- the calendar itself won’t render at all.Forgot to mention, I also have the header and footer tags in place- the only thing that seemed to affect is keeping the Firefox load prompt from sticking indefinitely. Now, it just appears briefly then disappears again (but no events will render on the front end calendar). Header/footer tags did not seem to affect IE one way or another.
Forum: Plugins
In reply to: WordPress/BuddyPress eblast?Anything? I need a capability of sending out newsletter/announcements to my users. Needs to be compatible with BuddyPress.
Forum: Themes and Templates
In reply to: A widget based page templateHow about the forums question? 🙂
Forum: Themes and Templates
In reply to: A widget based page templateAhh, the widgetize link looks at first glance to be exactly what I was after. I’ll have to try it and let you know. Thanks very much!