Search Results for 'private message button'
-
Search Results
-
Can somebody provide or did custom code a CSS ajax-loader for forums and messages?
The ajax-loader should show when somebody clicks “respond” to a forum topic and when sending / responding to a private message. Now, people often click twice, as the button does not provide feedback that the response has been submitted.
Such an ajax-loader now shows for Activity Updates and Activity responses, but not for Messages and Forums.
Thanks!
I’ve asked this question before but was unable to find my original post i’m afraid. I had some more thoughts about it…
I have a community of only about 30 users and 1 ‘consultant’. I want to prevent the users from being able to send private messages to each other but I would like them all to be able to send messages to the consultant.
I don’t think there’s any straightforward way of doing this based on roles or similar, so I wondered if I could create friendships between the consultant and the 30 members (but not between each other) and in the ‘Member Buttons’ part of functions.php, test for friendship and only display the private message button if there is a friendship.
Unfortunately I don’t know where to look for the functions (or are they called actions?) bp_add_friend_button and bp_send_private_message_button
Does this sound like a possible hack just so I can limit private messaging?
I’m using CSS to hide the add / cancel friendship button by the way.
Hi guys i have a problem that when i click on private message button on my friends profile compose page opens but the send to is empty while when i press the private message button on my non friend member it automatically enters the members name near the send to please help i couldn’t fix it i will go crazy
I couldn’t find anything on this which probably means it’s something small and dumb. This is a recent issue (within the last 48 hours) that could have been the result of a setting change or an update (sorry, don’t know which).
When a member hits “Request Membership” on a private group, the red error bar appears with “You do not have access to this group”. Being a member of the root site doesn’t help and I can’t find settings anywhere to change it.
I’ve backdated all plugins (including buddypress) to those on my staging server (where everything is working fine) and no luck. That would suggest this issue is in fact a settings blunder. I’ve also poked around in the source code and can’t find an obvious reason for the error to be appearing other than the user not being logged in but that wouldn’t make any sense.
Worth noting: On the broken site, “Request Membership” and “Join Group” buttons do not appear.
http://dhcworks.carleton.ca/groups/
http://dev.archonic.com/carleton/dhc/groupsIf you’d like to see what I mean for yourself, message me for test account access for my staging and production servers and I’ll provide it.
Thanks in advance!
Hey all!
Quick note on this bug we found today. When sending a private message the autocomplete does not always fill in correctly. Friends and activity stream has been turned on / off to see if there is any intereference and still no success.Scenario is…Private messaging does not always autocomplete when clicking on “private message” in the users profile.
User A clicks on the private message button and autocomplete shows correctly
User B clicks on the private message button for USER A and autocomplete shows correctly
User B clicks on the private message button for USER C and autocomplete does NOT showAll of these users have the same role, and being a “friend” with each other has no effect to this scenario.any insight you could provide would be greatly appreciated. THANKS!
I’m making some custom buttons for my member pages using bp_send_private_message_button() as my template (see below). What I want the buttons to do is link to the page specified in the link_href field. I need that link to go to the archives page of whatever user’s profile was being viewed when the link was clicked. This is for a “view user’s posts” button on each member’s page.
What would the syntax be for that particular link in the link_href field below? I’ve tried a few things but not having much success.
Code:
`/**
* bp_send_private_message_button2()
*
* Copy of original bp_send_private_message_button()
*
* @uses bp_get_send_message_button2()
* @since 1.2.6
*/
function bp_send_private_message_button2() {
echo bp_get_send_message_button2();
}function bp_send_message_button2() {
echo bp_get_send_message_button2();
}
function bp_get_send_message_button2() {
return apply_filters( ‘bp_get_send_message_button2’,
bp_get_button( array(
‘id’ => ‘private_message2’,
‘component’ => ‘messages2’,
‘must_be_logged_in’ => true,
‘block_self’ => true,
‘wrapper_id’ => ‘send-private-message2’,
‘link_href’ => LINK GOES HERE,
‘link_class’ => ‘send-message’,
‘link_title’ => __( ‘Send a private message to this user.’, ‘buddypress’ ),
‘link_text’ => __( ‘Post New Ad’, ‘buddypress’ )
) )
);
}`Hi,
i was looking around for a privacy solution in buddypress. Means, that a user will not be able to see a non friend’s profile. There is a plugin called “BuddyPress Profile Privacy” that work great for some people. However for me and for many other the plugin gives error and i couldn’t find a fix for it.
i did manage to find a solution that for now seems to work for me. the original function of the function below i found here (http://premium.wpmudev.org/forums/topic/additional-buddypress-profile-privacy-settings) thanks to Richie_KS. the original function direct a user to a different page (non-friend.php) when he is trying to see a non friend profile. which can work just fine. However, i changed the function and now if i will go to a non friend page i will see his picture , “Add Friend” button and “Send private message” button. but no profile information will be displayed. This way i can also choose in which pages to block the information. (profile , activity , blogs…..)few simple steps :
1) paste this function in your function,php :
`
//
check if member is a friend
//function bp_displayed_user_is_friend() {
global $bp;
if ( bp_is_profile_component() || bp_is_member() ) {
if ( (‘is_friend’ != BP_Friends_Friendship::check_is_friend( $bp->loggedin_user->id, $bp->displayed_user->id )) && (bp_loggedin_user_id() != bp_displayed_user_id()) )
if ( !is_super_admin( bp_loggedin_user_id() ) )return true;
}
}
`2) i created a template file called “not-friend.php” where i put the message i want to be displayed . this is how mine looks like :
`
This information is avaliable only for friends
`
simple!!
* i uploaded the file to the buddypress theme folder under /members/single/
2) now you can go to the pages you want to make private (pages found in buddypress theme folder under /members/single) and add this to the top of the page:
`
`
//////////////////////////////////////////////////////
here goes the original information of the page.
///////////////////////////////////////////////////////and add this below the information( should be at the bottom of the page):
``
as for now it works great for me. if any of you try it and find something wrong please let me know.
Hi,
Does anyone know how to change the button text in the core member functionality. For example I want to change “Send Private Message” to “Trade Love Note”. This is after two users are friends.Is it done in MyPHPadmin or in a file in the ‘wp-content’ folder?
Thanks
Tyler @neosmediaTopic: Send Private Static Message
I need to add a button on single profile pages.
The button will send a private message to the user being viewed – but the message is preordained.
(It’s a promotional thing)
So we don’t want to go to a compose page – just send the message.In member-header.php, I add a button:
``
In bp-custom, I add the functions:
`
function bp_send_private_grrr_link() {
echo bp_get_send_private_bzzzt_link();
}
function bp_get_send_private_bzzzt_link() {
global $bp;if ( bp_is_my_profile() || !is_user_logged_in() )
return false;return apply_filters( ‘bp_get_send_private_bzzzt_link’, bp_send_private_bzzzt() );
}function bp_send_private_grrr() {
$subject = ” I just sent you a BZZT!”;
messages_new_message( array(‘sender_id’ => 1, ‘subject’ => $subject, ‘content’ => “BZZT!”, ‘recipients’ => 9) );
// sender_id & recipients hard-coded for testing
}
`The above will send a message – But it does so as soon as a profile page is loaded.
How can I stop the message from being sent until the “Send a BZZZT!” button is clicked ?
Hi All,
Not sure if this is the right place for this so sorry if thats the case!
I’m currently trying to change the 2 buttons listed as “Add Friend” and “Send Private Message” on my theme to icons instead of words.
I’ve managed to get the “Send Private Message” Icon working perfectly by editing the file members/single/member-header.php but when I try to to wrap the bp_add_friend_button function in an a href but It doesn’t seem to want to work!Here is the code that I used for the icons
`
`
Any advice on this would be greatly appreciated!
Many Thanks
Chris

Hey guys, I hope you can help me.
I have been setting up my buddypress install for a few weeks now (tinkering with many plugins and trying to get it just right before it goes public) and I’ve run into a couple of issues which I have been unable to resolve.
I would like some parts of my site which are restricted to be viewable to non-members (or members who are not logged in) and some parts which are accessible to be restricted. My WordPress/BuddyPress settings are all set for public viewing/registering.
Perfect: My Homepage is set to Activity Stream with selected activity types hidden from non-members and this is working well.
Would like restricted: My Members page allows non-member to view my members list which I would like to change so If the user is not logged in they will be redirected to the register page.
Would like partially unrestricted: My Groups page restricts non-member and redirects them to the register page but I would like non-members to have access to my Groups List but not individual groups.
Would like unrestricted: My Forums page restricts non-member access but I would like all my public group forums to be accessible by all users.I am using plugins: BuddyPress Links, Jet Event System and Achievements which all add a nav button to BuddyPress header bar but all these pages have restricted access too. I would like all these pages to be viewable by everyone.
Standard public blog pages created in wp-admin are accessible to non-members and I wondered if it is something I have done to my install while playing with plugins. I’ve been searching for a way to fix this for ages now on google and even in bp code (mostly theme which is bp default by the way) but can’t find anything. Pages redirect to **mysite.com**/register/?private=true which shows a red message bar at the top which says: This is a private network. You must register first before fully interacting with the rest of the community.
Please help – I hope I’ve provided enough info (didn’t want to post a proper link to my site as I don’t want it public until it’s ready.
Oh and thanks to all wp/bp/plugin devs you are awesome!
If you use Buddypress Template Pack and upgrate Buddypress to 1.2.6 and decide to update the template files that Template Pack copied into your WordPress Template directory with the updated 1.2.6 bp-default template files, things will break in your WordPress/Buddypress site. Add Friend and Send Private Message buttons will disappear (and maybe other things break as well.)
Anyway.. I found a way to fix Buddypress Template Pack (which has not been updated since February, by the way.)
Copy and paste over some of the items from functions.php in the bp-default theme into the bb-template-pack.php file in the Buddypress Template Pack plugin folder.
On line 35 of bb-template-pack.php I changed bp-js to dtheme-ajax-js
Then I pasted in everything from line 24 through 36 in functions.php in the bp-default theme functions.php and pasted it into bp-template-pack.php after the bracket } after line 35
I have compressed a copy of my new bp-template-pack.php if you want it. You can download it here: http://www.hotforwords.com/files/bp-template-pack.zip

