Search Results for 'private'
-
AuthorSearch Results
-
February 4, 2011 at 8:37 pm #104628
r-a-y
KeymasterFebruary 4, 2011 at 8:25 am #104574In reply to: Some basic BuddyPress questions…
MikeStarrWriter
Memberaljuk, thanks for the reply.
1. I think the BP Profile Privacy plugin is just what I need.
2. I’m not sure about the BuddyPress Private Community plugin. I think I’ll have to install it and play with it and see if it’s helpful for me..
3. When you say “All of that should, and does, happen as a matter of course”, *Name* is a core field but doesn’t break a user’s name down into first name, middle initial and last name. So in order for me to have that level of granularity for the user name, I’ll have to add a “First Name” field, a “Middle Initial” field and a “Last Name” field. So I end up asking the user to fill in their name information twice and the value the user enters into the “Name” might not match the combined values of the “First Name” field, “Middle Initial” field and “Last Name” fields. I’d much rather have the user enter values in those fields then concatenate those entries to fill the “Name” field.
4. So is there a way I can manage group members profile management separately from visitor management? If I set up the BP profile fields with the level of granularity I need for our members, that would be way too much information to ask a visitor to enter just to be able to register to leave comments.
5. Sounds to me like until I can heap enough abuse on the folks over at Artisteer, I’ll have to retweak theme files every time I make a change to the theme with Artisteer. Your suggestion of constructing a child theme sounds like it would work but I’d have to have my “real” theme become a child theme to the BuddyPress default theme and that seems to me to be the exact opposite of how things ought to work. It would be really nice if there was some way to install the BuddyPress default theme as a limited child theme to my Artisteer theme without overriding my Artisteer theme formatting. That does bring up a question though… is there any way I can create page templates for profile management that use the BuddyPress default theme yet have the rest of the site maintain use of the Artisteer theme? Another option might be putting up profile management on a separate domain and synchronizing the database from there to the main site’s database. However, this sounds like a level of development that’s probably above my skill level (I’m not a PHP programmer but am at least a fair HTML guy).
Again, thanks much for your help.
February 1, 2011 at 4:22 pm #104397In reply to: buddypress clean all private message
PJ
ParticipantAre you looking for something like “all messages will be deleted after __ days”?
February 1, 2011 at 2:57 pm #104391In reply to: buddypress clean all private message
meg@info
Participanti think i foun a query
DELETE FROM `wp_bp_messages_messages` [ WHERE `sender_id` = MY_ID ; ]i have a question about mailing a notification of new messages, how i can disable this option?
thanksFebruary 1, 2011 at 11:44 am #104380Adar12
ParticipantUp.
February 1, 2011 at 10:30 am #104374In reply to: Some basic BuddyPress questions…
aljuk
MemberHi, I should preface this by saying that I’m not a BuddyPress developer as such, but have been coding WordPress themes professionally for a couple of years, and have been researching BP and putting together a BP-based startup for the past couple of months, so have been through these questions myself, and my own early steps may prove useful.
1. See https://wordpress.org/extend/plugins/bp-profile-privacy/
2. https://wordpress.org/extend/plugins/buddypress-private-community/ might be interesting. There’s another, more granular, privacy plugin that the community has its fingers crossed for, for further details see http://bp-privacy.com/
3. All of that should, and does, happen as a matter of course.
4. Semantics aside, they are all “subscribers” as far as WP is concerned, ie. members and commenters are one and the same.
5. BuddyPress themes contain extra template files for the parts of BP that are an extension on the WP template system (eg. activity, groups, user profile etc.) plus various css and javascript files. Running a regular WP theme with BP running won’t give you the framework to display that BP functionality. In order to achieve that, your WP theme needs the extra template files. You have two options, each with benefits and drawbacks:
a) Extend your existing theme with the required template files, javascript and css to enable and display the BuddyPress sections and functionalities. See https://wordpress.org/extend/plugins/bp-template-pack/ The drawback is that next time BuddyPress is updated, you might be faced with quite a fair amount of development getting your site aligned with the latest code base, new features etc.
b) Constructing a child theme. This relies on running the Default theme, and then adding your own css overrides and theme hacks as a non-destructive layer on top. The principle is that you can strip away your own additions, and you’ve still got the Default theme running beneath it, so in a sense it’s “unbreakable” and whilst you may need to modify your additions once BP is next updated, the underlying template will always function. With a decent caching strategy, unless you’ve expert level php behind you, I think it’s the way to go.
February 1, 2011 at 2:59 am #104343Harty
MemberHi.
I am looking to create a site similar to the one you propose.
Did you find a solution?
HartyJanuary 31, 2011 at 12:20 am #104267luvs
Member@dwenaus, the code above gives me duplicate topics, as well as topics misplaced in different groups.
January 30, 2011 at 11:17 pm #104261blindshooter
Member@dwenaus Great code.
Quick question, would it be possible to show it in the activity tab, regardless of tab? Currently it only shows if using the “My Groups”.
Thanks mate.
January 30, 2011 at 4:18 pm #104234In reply to: redirect – if not logged in – for some sections
David Carson
ParticipantThere is an epic thread on this that is worth a read – https://buddypress.org/community/groups/creating-extending/forum/topic/securing-components-from-non-logged-in-users/
That thread has lots of examples and discussion.
Here’s an example:
`
function restrict_access(){
global $bp, $bp_unfiltered_uri;if (!is_user_logged_in() &&
(
BP_MEMBERS_SLUG == $bp_unfiltered_uri[0] ||
BP_GROUPS_SLUG == $bp->current_component ||
BP_BLOGS_SLUG == $bp->current_component ||
‘forums’ == $bp->current_component ||
is_page_template(‘private-page.php’)
)
) {bp_core_redirect( get_option(‘home’) . “/private/” );
}
}add_action( ‘wp’, ‘restrict_access’, 3 );
`You can put that in bp-custom.php in the `wp-content/plugins/` directory. https://codex.buddypress.org/extending-buddypress/bp-custom-php/
January 28, 2011 at 10:50 am #104119In reply to: How to make a private community?
bkneppers
MemberThanks, that did the trick!
January 26, 2011 at 1:02 am #103862In reply to: How to make a private community?
Anonymous User 96400
InactiveDeleting `$bp->is_directory &&` from the line above should do it. That means that all the links that have the links directory slug in the URL are excluded.
January 25, 2011 at 11:49 pm #103856In reply to: Are all members reachable by other members?
@mercime
ParticipantLook over “Configuring BuddyPress Components” https://codex.buddypress.org/getting-started/configure-buddypress-components/
In dashboard menu BuddyPress > Components, do not enable private messaging. Other than that, anyone can request for and possibly get a response for contact information whether they post in forums or blog posts.January 25, 2011 at 9:34 pm #103842In reply to: How to make a private community?
bkneppers
MemberThanks guys, thanks to @Travel-Junkie ‘s code, I am now able to make an exception for the Links Directory, based on the ‘links’ slug.
However, I’ve now also been asked if we can’t get the individual link page (www.website.tld/links/…) to be an exception too… Can I count on you again?
January 25, 2011 at 8:16 pm #103840In reply to: Relocating “Messages” to its own page
David Carson
ParticipantThere are lots of CSS hooks so you can customize the look of your messages pages. It would be easiest to just use some creative theming and create the effect. You could hide most profile information/avatar using CSS.
Or you could also try creating a custom page template using the private messages loop and adjust the parameters to suit your needs.
January 25, 2011 at 11:45 am #103809nathan12343
ParticipantI use BP-Registration-Options and also Members Only between them this keeps out the non registered users and presents the registration page by default (which I have set as my redirect in Members Only). I hope this helps.
January 25, 2011 at 1:13 am #103787In reply to: BuddyPress Privacy: Can we get it in core?
Anonymous User 96400
InactiveJanuary 23, 2011 at 1:48 pm #103669January 20, 2011 at 9:17 am #103410In reply to: Removing group member validation
_Miriam
MemberI still want the group content to be private to the members of the group, just want to skip the validation of an admin.
Perfect would be a function that could call when a certain condition is met, that jregisters the present user in the appropriate group and that he can instantly access the content of the group.
January 19, 2011 at 12:12 pm #103332In reply to: How to move adminbar links to sidebar?
calvinhsu
Participant@acaps2007
@ScottWatson
the post linked below says how to display the number of unread messages.But I would prefer the idea @acaps2007 has proposed, that’s the “notification” item and the mouse over effect, since in a buddypress community, we would have
1. private messages
2. friend requests
3. group requests
4. group invites
5. mentionsAlthough the last one is not included in the default bp notification count, combining the previous four in one place would still help a lot.
January 16, 2011 at 9:52 pm #103056In reply to: How to make a private community?
Anonymous User 96400
InactiveNope, doesn’t matter in this case, cause the && gets tested before the ||, but you can use parentheses. Doesn’t hurt.
January 16, 2011 at 8:31 pm #103032In reply to: redirect to /register
r-a-y
KeymasterIf your site has open registration like you say, then users shouldn’t be redirected to the register page when they’re trying to read a post.
Do you have any redirection or private BuddyPress plugins installed?
January 16, 2011 at 5:00 pm #103018In reply to: How to make a private community?
pcwriter
ParticipantShouldn’t that line be:
`if( bp_is_register_page() || bp_is_activation_page() || ($bp->is_directory && $bp->current_component == ‘your-links-directory-slug’) )`
The added param should be between parentheses ‘cuz the “&&” applies only to the “is_directory”, no?
January 16, 2011 at 3:55 pm #103005In reply to: How to make a private community?
Anonymous User 96400
InactiveWell, just add that page to the first if statement in the function. Something like this:
`function sh_walled_garden()
{
global $bp;if( bp_is_register_page() || bp_is_activation_page() || $bp->is_directory && $bp->current_component == ‘your-links-directory-slug’ )
return;if( ! bp_is_blog_page() && ! is_user_logged_in() )
bp_core_redirect( $bp->root_domain .’/’. BP_REGISTER_SLUG );
}
add_action( ‘get_header’, ‘sh_walled_garden’ );`January 16, 2011 at 12:42 pm #103001In reply to: How to make a private community?
bkneppers
Member@Travel-Junkie and @iamjoshfrank I’ve just implemented your ‘sh walled garden’ code to shield my community pages from prying eyes, and it works great.
I was wondering however if you knew a way I could make an exception for the BuddyPress Links Directory (it’s a plugin, so there is no kind of conditional tag for this, as far as I know).
Any help would be greatly appreciated.
-
AuthorSearch Results