Search Results for 'private'
-
AuthorSearch Results
-
July 25, 2011 at 6:21 pm #116900
In reply to: Link to Send Private Message is wrong
@mercime
ParticipantCould be a theme issue. Change to bp-default theme and see if same behavior occurs.
July 24, 2011 at 10:52 pm #116858In reply to: Changing Group tab display defaults
gwadholm
MemberRobcwright…I added to the code to fix the problem with logged out users or users who aren’t members of private groups being kicked back to the home page when they click on the name of a private group:
function redirect_to_forum() {
global $bp;$path = clean_url( $_SERVER );
$path = apply_filters( ‘bp_uri’, $path );
if ($bp->groups->current_group->user_has_access === true) {
if ( bp_is_group_home() && strpos( $path, $bp->bp_options_nav ) === false ) {
if( $bp->bp_options_nav )
bp_core_redirect( $path . $bp->bp_options_nav . ‘/’ );
}
}
}
add_action( ‘wp’, ‘redirect_to_forum’ );This checks to see if the user has access before redirecting to the forum page as the home page. The function is found in bp_groups.php , line 187.
July 20, 2011 at 11:41 pm #116630dmgphotography
MemberWell I don’t know if this a bug or not, but I found (almost) the root of the problem and a relatively simple fix.
I discovered that the recipients table had entries for threads that were not in the messages tables. I don’t know where these threads came from, but they were definitely there. So I changed the messaging code to generate the thread_id from the recipients table rather than the messages table.
If this was some sort of database corruption, this was a reasonable fix for me. We don’t have enough messages for it to be a performance issue and if something else is inserting into that recipients table we shouldn’t conflict with it (assuming it is generating thread_ids in the same way).
I really don’t know enough about BuddyPress to know if this is a core bug or some other issue related to our theme (I can’t find any other references to that table so it’s kinda wierd).
bp-messages-classes.php:
/* If we have no thread_id then this is the first message of a new thread. */
if ( empty( $this->thread_id ) ) {
$this->thread_id = (int)$wpdb->get_var( $wpdb->prepare( “SELECT MAX(thread_id) FROM {$bp->messages->table_name_recipients}” ) ) + 1;
$new_thread = true;
}July 20, 2011 at 2:29 am #116567In reply to: Public/Private/Hidden Groups
CedricFP
MemberYes, but it seems that there was no solution found to that. Esssentially, I’m looking for a way to have all content visible in the group, but to disable any member from joining that group – only allowing for invites.
A child theme removing the “Join” buttons is a pretty bad way of doing it and I don’t want to do that.
July 19, 2011 at 9:55 pm #116557In reply to: Setting Privacy Settings
Tammie Lister
ModeratorYou could take a slightly different approach and hide the content but keep the tab: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/hiding-activity-content-for-non-logged-users/
There is also this (I’ve not used it though): https://buddypress.org/community/groups/private-buddypress/activity/
As for the second bit.. which plugin are you using?
July 19, 2011 at 9:50 pm #116556In reply to: Public/Private/Hidden Groups
Tammie Lister
ModeratorI think this post is something similar to what you are asking: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/make-groups-visibile-but-invite-only/
July 18, 2011 at 8:39 pm #116495dmgphotography
MemberI’m seeing this as well, and I’ve even seen it happen when our caching system was turned off. Could you provide a few more details as to what modules are involved or how the file caching triggers this as I would definitely like to find a way of fixing this.
July 15, 2011 at 8:40 pm #116398In reply to: month names not translated
danbpfr
ParticipantI have the same problem with birth date in french.
Warum ?
According to this ticket, this would be solved in 1.3 (even if this problem was mentionned 2 years ago…)
https://buddypress.trac.wordpress.org/ticket/3149
Concerning private msg date, you can read this:
https://buddypress.trac.wordpress.org/ticket/2203July 8, 2011 at 10:40 pm #116023In reply to: Is it possible to make some profile fields private?
tnd
MemberAlright, thank you!
July 8, 2011 at 8:50 pm #116012In reply to: Is it possible to make some profile fields private?
danbpfr
ParticipantMaybe this can help ?
https://buddypress.org/community/groups/creating-extending/forum/topic/hide-profile-field/
https://buddypress.org/community/groups/bp-profile-privacy/
http://bp-tricks.com/snippets/displaying-certain-profile-fields-on-your-members-profile-page/also remember that privacy controls don’t apply to Admin. Admin can see everything. Log in as a regular user and then test.
July 8, 2011 at 8:13 pm #116010In reply to: Is it possible to make some profile fields private?
tnd
MemberI hate to bump, but…any ideas?
July 8, 2011 at 4:11 pm #115990In reply to: Change settings in Private Group
b1gft
ParticipantAny one know how to do this. The reason why I need this done is I want to make members request to join a group, but its still a public group, that is anyone can read the forums ect
July 8, 2011 at 4:11 pm #115989In reply to: Change settings in Private Group
b1gft
ParticipantAny one know how to do this. The reason why I need this done is I want to make members request to join a group, but its still a public group, that is anyone can read the forums ect
July 5, 2011 at 2:27 pm #115786In reply to: Cannot Create a New Forum Topic in BP
oraclesoftruth
ParticipantOk, I failed to mention previously that I have created a group. I just created the public group and it allows me to create new topics for it from inside the group, but when I access the forum from the main navigation menu I cannot create a new topic from the Group Forums Directory. This is my real issue. I can create topics from within the group but, I cannot create new topics at the Group Forums Directory level. Also, I am finding that private group topics do not display in the Group Forums Directory.
July 4, 2011 at 11:28 am #115662In reply to: HELP WITH HEADER
Hugo Ashmore
Participant@megt12 on a public help forum it’s bad form to expect or try and move a topic away to private messaging, help given is always thought to perhaps be useful to others stumbling across the thread in searches.
Defines go in your wp-config.php file.
You will definitely be needing to explain the steps you have taken thus far and the point you are at if it’s going to be possible to provide meaningful help.
July 3, 2011 at 8:03 pm #115622Bristol CI
ParticipantGreat, that plugin is perfect thank you!
All I need to work out now is how to change what template the buddypress pages (groups, forum, etc) use – any ideas?
SaskiaJuly 3, 2011 at 7:34 am #115588embergermedia
MemberI use S2member plugin. It will handle what you are asking for. Plus a whole lot more. Be sure to read all the documentation.
July 2, 2011 at 11:53 am #115559In reply to: Buddypress as Private Section of WordPress Site
Hugo Ashmore
ParticipantClosing thread then.
July 1, 2011 at 9:23 pm #115549In reply to: Buddypress as Private Section of WordPress Site
pcwriter
ParticipantOops! You have a duplicate post that is answered here:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/buddypress-section-as-private-section-of-wordpress-site/July 1, 2011 at 9:19 pm #115548pcwriter
ParticipantThe s2member plugin will do everything you want, and a whole LOT more too! Watch out though, you can easily get lost in all the features and options, so take it slow and follow the startup instructions closely. But everything is very well documented, and there’s a pretty good help forum available if you get stuck.
https://wordpress.org/extend/plugins/s2member/There is also a new bridge plugin for s2member (or any other membership plugin) that enables you and your users to create private profiles that become visible to certain membership levels. It automatically inserts an “Upgrade” link in member profiles that displays to users who don’t yet have view permissions.
https://wordpress.org/extend/plugins/buddypress-profiles-manager/July 1, 2011 at 4:20 pm #115530In reply to: simple reCaptcha for Buddypress /register page
NoahY
MemberI also use BWP-recaptcha for my other blogs on the network, so I can access the pub and priv keys from there, like so:
global $bwp_capt;
$publickey = $bwp_capt->options;and
global $bwp_capt;
$private_key = $bwp_capt->options;That way the keys are kept in one place.
July 1, 2011 at 10:39 am #115511In reply to: Members’ privacy: how can I hide members’ profiles?
aces
ParticipantDerived from the above link, I use the following in a bp-custom.php file to exclude users that are not logged in from seeing the activity or members areas.
function sh_walled_garden()
{
global $bp;if( bp_is_register_page() || bp_is_activation_page() || bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_GROUPS_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' );
In bp-custom.php the above needs to be placed in a plain text file with “ at the end of the file….June 28, 2011 at 12:27 pm #115341In reply to: BP private community trouble shoot
kardingsungkit
Memberpls anyone??
June 28, 2011 at 8:05 am #115331In reply to: restrict profile views
Hugo Ashmore
ParticipantFirstly searching the site will possibly throw up past threads on the subject, try: ‘private profile’
Or you could check how certain aspects of bp work that only kick in when the user has logged in ( look in sidebar.php for examples of logic that checks if a user is logged in) using that logic you could take the main home page for members profiles and wrap it a conditional query that says ‘show: member profile if user is logged in else: write a polite message explaining profiles are restricted to members and provide a link to registration page.
June 28, 2011 at 2:05 am #115324In reply to: Private Messaging throws error
a_johnson
MemberUpdate: I installed the “BuddyPress Private Messages for Friends Only” plugin by r-a-y. It throws an error when the Admin account sends a PM “You are not friends with the person(s) you are attempting to send a message to. Your message has not been sent.” but the two accounts are friends. The user can send a PM to the admin successfully and the admin can reply successfully to that PM only.
HTH.
-
AuthorSearch Results