Nobody else has had the same issue? Lets try a different tact. Has there been any changes made to private message, add friend and public message buttons in 1.8?
Hi @mercime
The thread example I posted “username/messages/view/30/” can actually have more than two members. Conversations can have lots of members.
Obviously I can tell if the last message in the thread was sent to me by looking at it. I wanted to know how to check programatically. Sorry if I didn’t make that obvious. 🙂
How can I tell if that very last message was sent to me from somebody else or sent by me to somebody else?
@henrywright-1 Per structure of the example link you provided username/messages/view/30/ there are only two members in that thread, you and one other member. If the very last message has the avatar/username of the one other member with text e.g. “Sent July 12, 2013” then that message was sent by that one other member in the thread to you. Otherwise, if you see your avatarusername there at that very last message, then you sent that message to the one other member in that thread.
EDIT: Read that completely wrong.
Hi @mercime,
Apologies, let me explain..
If you see the message listed there then the message was sent
A private message thread can end up with many messages. Some of the messages in the thread were sent by you to a site member and some of the messages in the thread were received by you (sent to you by a site member).
I am interested in the very last message in the thread. How can I tell if that very last message was sent to me from somebody else or sent by me to somebody else?
Hope that helps?
@henrywright-1 Not quite clear. If you see the message listed there then the message was sent. As to whether the other member received the message, not sure until you test it yourself in your installation. If this is not what you’re referring to, please be more specific 🙂
When viewing a private message thread e.g username/messages/view/30/ – is there a way of knowing if the last message in the thread was sent or received?
@mercime.. will do. Question, do I have to configure a wildcard for my websites? Here is my scenario: I have one main site WITHOUT buddypress installed and a sub-site WITH buddypress and I only want to have these features on my sub-site: Forums, Groups, Extended user profiles, Private messaging and Friends connection.
Also, I want my sites addresses to look like these
My Community site: http://www.domain.com/community .. also http://domain.com/community (without www) should be accessible
And my main site: http://www.domain.com/.. and http://domain.com/ (without www) should be accessible.
What kind of settings should I use to accomplish this?
this makes buddypress unsuable for me… can anyone help?
Hi there,
The private message, add friend and public message buttons have disappeared from the user profile pages once I upgraded to BuddyPress v1.8 on my custom theme designed to work with BuddyPress.
I’ve compared the code in my BP functions.php with the default BP theme’s functions.php and cannot see anything that is omitted. I’ve updated all the BP templates file and tried a whole bunch of other things to get these buttons back but I’ve had no luck.
I’m starting to think this may be a BuddyPress bug, any help is appreciated.
@ericaeide
Have you tested the plugin with all other plugins other than BP and bbPress deactivated because it works pretty sweet for me and I am not just saying it because it is my plugin? When I say deactivate all but BuddyPress and bbPress it means all and not just the ones you choose to leave activated. This is basic troubleshooting procedures!
EEParticipant
@modemlooper, thanks again for your help. I know nothing about javascript so I’ll keep my fingers crossed I don’t run into any issues with the plugin in the future! 🙂
like I said all that header info breaks page when you try to do a redirect before page load. You can always do a javascript redirect but that is after page load and not any faster than using one of the plugins. You maybe able to remove the header comment text.
EEParticipant
`###############################################################################################
#
# Looking for the header content? You’ll find it inside “header-default.php”
#
###############################################################################################
/* This page does nothing. It exists for custom template files and plugins that load content
* outside the theme structure using direct calls to “the_header()” and “the_footer()”.
* You should not add anything to this file. If you want to modify header functions or layouts
* please look at “header-default.php” or “design-header.php”
*/
?>
header.php contains that, so I tried in design-header.php which loaded a blank page, and header-default.php got the same error message… (by the way, I DO appreciate your help!) I just don’t think it should be this hard… I really don’t want to go back to having all groups be private and all members having to change their profile privacy settings 🙁
Custom page templates will break whenever you add a filter to get_header because of the page template header info. This is really not a BuddyPress issue. There are other ways to redirect the page but they will work just like any plugin. The reason they maybe slow to redirect is because they redirect after page load so you are waiting on header and content.
Try this, add code to bp-custom.php but not the add filter line, then in header.php before anything else add:
<?php bp_communituy_redirect(); ?>
i’m using bbpress with buddypress, latest versions of both and latest version of wp.
the recent topic widget displays topics from private group forums to everyone… groups are private for a reason… is this a bug or?
EEParticipant
`Warning: Cannot modify header information – headers already sent by (output started at /home/content/56/9819056/html/wp-content/themes/parallelus-salutation/design.php:1) in /home/content/56/9819056/html/wp-includes/pluggable.php on line 876
EEParticipant
Does this go in functions.php or bp-custom.php?
function bp_communituy_redirect() {
if( !is_user_logged_in() && $_SERVER['REQUEST_URI'] != '/community/' && !is_home() ) {
wp_redirect( get_option('siteurl') . '/community/' ); exit;
}
}
add_filter( 'get_header','bp_communituy_redirect', 1 );
EEParticipant
I’m trying to completely block non-logged-in users out of my BP community WITHOUT a plugin (I’m using Private Community For BP Lite now but sometimes is redirects really slowly…?)
I have tried this code here (http://premium.wpmudev.org/forums/topic/i-am-now-able-to-block-logged-out-users-from-accessing-my-buddypress-and-search-pages-and-redirect-them-to-a-page-of-my-choice) but can’t get it to work.
Whenever someone tries to access any child pages of mysite/community, I want them to be redirected back to /community. Is this possible without a plugin?
Thank you!
You’d find the basic information about BuddyPress components at https://codex.buddypress.org/user/buddypress-components-and-features/
Limiting the number of groups which can be created by user is plugin territory https://wordpress.org/plugins/limit-groups-per-user/
Hi,
I´ve read a lot of documentation an forum posts, but I still don´t unstand it.
My plan is to offer the possibility, where small clubs can build their own network with buddypress:
1. There are subscribers, who register on my page for buddypress. They have to insert username, name, password and give their group (club) a name. The subscriber is only permitted to start one group. The subscriber should not be able to make changes in wordpress or in the plugins.
2. The subscriber can invite other members of the club to join the club. The subscriber can set the role for the members.
Later I want to use s2Member to offer free test period.
Is there any simple documentation? How can I do this.
Thank you very much!!!
Ciao Marco
Thanks. I doublechecked after reading your reply.
Unfortunately still no luck.
I went to settings>Private Community For BP.
Next to unblocked page one I typed in without any quotes:
profile
But when I go to the following profile I still get redirected:
http://www.ukraxdemo.com/members/newadmin/profile/
Thoughts? Thanks @bphelp
-Tom
@tduschei
By default the front page you set in dashboard/settings/reading is not blocked. To un-block a page with a url like this for example: http://your-site/sample-page/
You would go to dashboard/settings/privatecommunitybp and in one of the unblocked page fields you would only need to enter: sample-page because it already gets the rest of the url dynamically. Make sure to save it at the bottom. For you to see how it works you would have be logged out of course. Good luck!
aha not front page but site wide sidebar… its ok, thanks for trying tho…