Search Results for 'private'
-
AuthorSearch Results
-
January 4, 2011 at 12:23 am #101818
techguy
Participant@Mouchoirs Do a search for “Private Buddypress site” or something like that and you’ll find lots of threads on how to redirect non-logged in users to the login or registration page.
@djpaul,
Seems like you should be able to just replicate the user account creation calls on another page right? This is something I was considering doing for my project. Basically, someone could upload a list of email addresses and names, and it would create the person’s account, email them a temp password and they’d be good to go. Yes, I know WP use to do temp password and took that out, but in this case it might be useful to do.January 3, 2011 at 9:44 am #101753cezar
Participantis there a way to have a page with all documents uploaded from all groups? of course, preserving the permissions. Meaning that without being logged in you can see only public groups documents, if logged in you see documents from your private groups too.
January 3, 2011 at 2:42 am #101728Mouchoirs
MemberI like the widget you recommended above. I’m wondering if you know anything about pagelines plaform. I was thinking, if it offers full buddypress functionality, I could utilize the registration widget along with the “hide primary bar” feature in pagelines. This would make the widget available on only the pages I desire.
If I did this, do you know if there’s a way I can make every page of buddypress invisible to non-logged-in users? I could then simply have the registration and log in page visible to non-users. I’m currently using a privacy widget to hide all pages except login from non-logged-in users. However, I don’t see any way to select specific buddypress pages to choose to make private.
Thanks again so much for your time.
January 1, 2011 at 10:22 pm #101655In reply to: Homepage issue, help please
r-a-y
KeymasterTo remove the default tabs, you’ll need to modify the theme.
Read this page:
https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/Then, once you’ve got the hang of that. Copy over /bp-themes/bp-default/header.php to your new child theme and modify the tab structure.
The function you’ll want is:
`is_user_logged_in()`Wrap a is_user_logged_in() conditional around the tabs you want to show only for logged in users.
Something like this:
`
<li class=”selected”>
<a href="//” title=””><li class=”selected”>
<a href="//” title=””><li class=”selected”>
<a href="//” title=””><li class=”selected”>
<a href="//” title=””><li class=”selected”>
<a href="//” title=””>`
Note that if someone knows the URLs to those tabs, they’ll still be able to access them.
You might want to look into some BP private plugins like:
https://wordpress.org/extend/plugins/buddypress-private-community/
https://wordpress.org/extend/plugins/private-buddypress/December 30, 2010 at 8:52 pm #101564In reply to: Persistent Caching and Private Messaging
gregfielding
ParticipantThanks @r-a-y
This is a better solution. Any thoughts on how to solve the same problem with @mentions?
December 29, 2010 at 2:20 pm #101476In reply to: Persistent Caching and Private Messaging
skippybosco
MemberThanks @r-a-y , I’ll give it a go.
December 29, 2010 at 4:52 am #101458In reply to: Persistent Caching and Private Messaging
r-a-y
KeymasterNo need to hack BP.
Put the following in your theme’s functions.php:
`
function ray_bp_get_send_public_message_link() {
global $bp;return wp_nonce_url( $bp->loggedin_user->domain . $bp->activity->slug . ‘/?r=’ . $bp->displayed_user->userdata->user_login );
}
add_filter( ‘bp_get_send_public_message_link’, ‘ray_bp_get_send_public_message_link’ );function ray_bp_get_send_private_message_link() {
global $bp;return wp_nonce_url( $bp->loggedin_user->domain . $bp->messages->slug . ‘/compose/?r=’ . $bp->displayed_user->userdata->user_login );
}
add_filter( ‘bp_get_send_private_message_link’, ‘ray_bp_get_send_private_message_link’ );`December 29, 2010 at 2:51 am #101452In reply to: Persistent Caching and Private Messaging
skippybosco
MemberThanks for the followup Greg. What is the exact change you made to the bp-messages-templatetags.php? Trying to figure out if it has already been updated in SVN.
December 28, 2010 at 7:24 pm #101426In reply to: P2 Header Image Conflict with BP-default theme
laloma
ParticipantAlready select P2 on SuperAdmin > Themes, the problem is that on Appearance > Theme I select P2 but it not show as selected on same page instead BP-default show as selected, but if you hit the secon blog url it use P2.
Is there a way to sent you blog info privately, so you can check this issue ?
Regards,
December 28, 2010 at 5:13 pm #101415In reply to: Persistent Caching and Private Messaging
gregfielding
ParticipantFor anyone else with this issue, here is the fix. Thanks to @sbrajesh
in bp-messages-templatetags.php, starting at line 498:
function bp_send_private_message_link() {
echo bp_get_send_private_message_link();
}
function bp_get_send_private_message_link() {
global $bp;if ( bp_is_my_profile() || !is_user_logged_in() )
return false;$user=new WP_User($bp->displayed_user->user_id);
return apply_filters( ‘bp_get_send_private_message_link’, $bp->loggedin_user->domain . $bp->messages->slug . ‘/compose/?r=’ .$bp->displayed_user->userdata->user_login );
}Private messaging now works with persistent caching like memcached.
December 27, 2010 at 7:58 pm #101367In reply to: Persistent Caching and Private Messaging
gregfielding
ParticipantIt looks like BP 1.3 is going to address some issues with object caching. https://trac.buddypress.org/ticket/2636
Can anyone who knows confirm if it will fix these messaging issues?
December 19, 2010 at 11:59 pm #100969In reply to: Cancel Friendship Button in 1.2 Default Theme
glittereyes
ParticipantI agree to this! For now, how can I switch the places between the cancel friendship button with send private message buttons?
December 19, 2010 at 7:24 am #100932In reply to: Question for profile/membership site
@mercime
ParticipantSure. There’s one featured WordPress.tv presentation from WordCamp Yokohama. It’s a Japanese site (with English translation), http://loftwork.com, which only used BuddyPress components like Blog Tracking, Activity Streams, Private Messaging and Extended Profiles. Didn’t use Friends, Groups and Forums.
–December 18, 2010 at 3:12 am #100865In reply to: Help with Messaging and @mentions
stoi2m1
Participant@r-a-y I think my issue is beyond a simple email issue. I installed the email plugin you mentioned just to humor the situation. When I try to send a private message I get redirected to the homepage of my site. So I could either be experiencing a 404 error or some other similar problem.
Also Im not even getting notifications at the recipient. I also do not have a message in the senders sent message box nor in the recipients inbox.
Thanks,
December 15, 2010 at 9:27 pm #100637In reply to: Memcached is breaking private messaging
gregfielding
ParticipantJust to update, I applied the code from the patch with no luck. Here’s what my messages-templatetags.php code now says:
function bp_send_private_message_link() {
echo bp_get_send_private_message_link();
}
function bp_get_send_private_message_link() {
global $bp;if ( bp_is_my_profile() || !is_user_logged_in() )
return false;return apply_filters( ‘bp_get_send_private_message_link’, $bp->loggedin_user->domain . $bp->messages->slug . ‘/compose/?r=’ . bp_core_get_username( $bp->displayed_user->user_id, $bp->displayed_user->userdata->user_nicename, $bp->displayed_user->userdata->user_login ) );
}It looks like I now need to “apply a filter to “bp_get_send_private_message_link” and override it so it doesn’t use bp_core_get_username().” Anyone know how to do this?
Thanks guys.
December 15, 2010 at 8:44 pm #100635In reply to: Memcached is breaking private messaging
gregfielding
ParticipantThanks for the link, but I’m confused a bit. My current code already has that patch in it, changing the “public” to “private” looks to be the only switch. I’m guessing this was changed in a more recent BP release?
And, you said:
“With the patch, you’d still need to apply a filter to “bp_get_send_private_message_link” and override it so it doesn’t use bp_core_get_username().
The same problem occurs with the bp_get_send_public_message_link() function – aka the “Mention this user” link.”
It sounds like this is the step I need to take. How exactly do I apply this filter?
Thanks!
December 15, 2010 at 8:08 pm #100628In reply to: Memcached is breaking private messaging
r-a-y
KeymasterCheck out:
https://trac.buddypress.org/ticket/1332
https://trac.buddypress.org/ticket/2636You can temporarily fix private messaging by overriding the username filter. See #2583 for hints.
December 15, 2010 at 8:04 pm #100626In reply to: Memcached is breaking private messaging
gregfielding
ParticipantBatcache isn’t supposed to impact logged-in users, so it seemed like a natural fit for BP.
Paul, you think this is a BP issue as opposed to just tweaking a caching setting?
I know that there are people using BP with memcached and W3Total cache…are any of you guys having trouble with this? (W3TC doesn’t worth with multi-db’s or I’d be using it)
December 15, 2010 at 6:36 pm #100615In reply to: Memcached is breaking private messaging
Paul Wong-Gibbs
KeymasterProbably more the other way; that BuddyPress needs to communicate when caches need to be refreshed better.
December 15, 2010 at 6:28 pm #100614In reply to: Memcached is breaking private messaging
teebes
ParticipantHmm, I was under the impression batcache would only cache public pages (non-logged in users). The above seems to indicate otherwise. Is batcache really buddypress aware (I noticed the last update of the plugin via the repo was back in April ’09).
December 15, 2010 at 2:04 pm #100593In reply to: solo practice university
David Carson
ParticipantNo courseware. The site was launched March 2009 on WordPress MU/BuddyPress. Slight modifications based on snippets/plugins posted by Burt Adsit, Paul G., Boone G., JJJ and Andy.
The content is mostly pre-recorded video and audio – not a formal educational program with assignments etc. So the setup is pretty straightforward and most of the customization is just theming. Main site has different content for logged out and logged in users. “Classrooms” are private sub-domain blogs (soon-to-be sub-domain sites) with a classroom theme. The main site and classroom sites are both using custom child themes powered by the BuddyPress default theme.
I’m in the process of upgrading the site so I’ll be around here more often if you have questions.
December 11, 2010 at 10:13 pm #100306In reply to: BP Sections?
@mercime
ParticipantThat “section” could be a “group” component already in WordPress and joining groups is either voluntary for public groups or by invitation for private groups and each group can have a forum if the group admin so chooses. That’s basic behavior which can be changed via a plugin you can make to do so. You could check out BuddyPress Group component and other default components by logging in http://testbp.org/ with the username and password you used here.
December 8, 2010 at 7:34 pm #100109In reply to: Private Messaging Broke
r-a-y
KeymasterObject caching bug most likely experienced with W3 Total Cache.
If you don’t have W3 Total Cache installed, not sure.December 8, 2010 at 8:06 am #100075toffee
Participantif ‘User A’ is admin of two private groups (B and C)
when members request to join those groups, the notification is sent to ‘User A’ with multiple notification
the notification may look like this: “2 requests group membership”
the problem is the link of notification is just only one of two group, when click that notification, it will redirect to group admin request (B or C), and notification will gone.brief: request is both B and C but notification link is only B or C
So, I’d like to change multiple notification to each single notification or any idea to fix above problem, please help.December 1, 2010 at 12:17 pm #99574In reply to: bp-messages Compose Message autocomplete issue
roman
Participantsimilar problem over here, autocomplete function finds valid users and shows them up, but in the following lines an error is displayed 3 times:
“Warning: Cannot modify header information – headers already sent by (output started at mountpointwp-contentpluginsbuddypressbp-themesbp-default_incajax.php:556 in mountpointwp-contentpluginsbuddypressbp-messages.php on line 556”
any idea?
by the way, is there a plugin which enables a better useabbility for choosing multiple user’s to send a private message to? Something like a list with checkboxes for example?
-
AuthorSearch Results