Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private message button'

Viewing 25 results - 176 through 200 (of 219 total)
  • Author
    Search Results
  • #138911
    broniors
    Member

    Hi .. I think I am having the same problem

    I am running Buddypress 1.6 and WordPress 3.4.1

    I am finding the Add Friend feature is not working and the reply to message functionality (when I try and reply to a message it isn’t working.)

    When I click on Add friend it just appears to remove the button and the friend pending button doesn’t appear and it doesn’t active the friend request

    When I try and reply to a message I type in the message and click on the send reply and it just clears the message window.

    I am not sure how to uninstall/remove the CDN version of jQuery. Can you please point to some instructions on how to do this?

    #138856
    Joseph8th
    Member

    I’m having a similar problem. I’m running BP 1.6 on WP 3.4.1 network.

    I can write new PMs to any member and it all works great, but when I hit ‘Send Reply’ button the text box empties itself out and the reply is never actually sent as a message.

    I used Firebug and discovered that the POST data is all there, but the AJAX/jQuery isn’t doing it’s job. Here’s why I see in the Firebug console:

    `POST http://bannedatheists.us/wp-admin/admin-ajax.php`

    which is supposed to be handled by `http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?ver=3.4.1`

    Moreover, I just noticed that the jQuery ‘Friend’ buttons aren’t working, either… URG! I’ve been disabling plugins like a madman but so far nada. HELP!

    #136807
    Roger Coathup
    Participant

    If you are using the bp-default theme —

    All you have to do is login, visit someone’s profile, and the send message buttons are there

    thirstcard
    Member

    Thanks once again Hugo, you always have the solution!

    I was doing the sort of digging you describe yesterday in fact and was able to find out how to add a “Follow” button which may interest users of Andy’s plugin BuddyPress Followers:

    bp_follow_add_follow_button( bp_displayed_user_id() );

    Hugo Ashmore
    Participant

    bp_member_add_friend_button() you would find that by looking in the bp-friends-tamplate.php and to find it was in that file meant looking at the members loop to see how the action buttons are handled and tracing the do_action handle back to that template file you’ll then realise ‘bp_member_add_friend_button()’ echoes bp_get_add_friend_button() with passed args so you then need to trace that function to see further how the friends button works.

    In the profile we trace back to functions.php and find ‘bp_add_friend_button()’ that traces to various files, bp-friends-template.php the one of interest again.

    thirstcard
    Member

    OK i have managed to find

    bp_send_private_message_link and bp_send_private_message_link()

    This covers points 1 and 3 above.

    Does anyone know if there is a template tag for Add Friend button?

    @mercime
    Participant

    Looks like JS hiding all the buttons from this test user – though I can see all those links in source.

    smackmathew
    Participant

    Thanks for replying

    1. here is a test user account. Username: user1 Password: user1

    2. Not sure where the public message button went, although my thoughts are that its also overlapping with the others. In this theme they’re not buttons, but text links. so you can see a bunch of text on top of text. if that makes sense.

    When you log into http://www.writerscubed.com the home page won’t have much on it. click on a user image to the right and you should see the jumbled text on the top right of the profile page.

    Thanks for your help it’s much appreciated

    @mercime
    Participant

    == ‘cancel friendship’ & ‘private message’ buttons overlap each other ==

    1. If you want volunteers to actually check out the issue, please provide test user username and password which you can delete later.

    2. What happened to the ‘public message’ button which in bp-default theme shows up between ‘cancel friendship’ and ‘private message’ buttons?

    3. In all probability, you would just need to add styles in your theme’s style.css file. something like:
    `#item-buttons a { margin-right: 15px; }`
    The above will work in bp-default theme. No guarantees this will work on your theme.

    #132651
    @mercime
    Participant

    == it looks so rubbish in IE. ==
    Yup, IE < 9 is bane of designer/developer :-) There are still at least 2 solutions as I pointed to above if you want to pursue the buttons later.

    == But please is there a way to wrap the Edit Profile link which is in the item-header so that it shows on your own profile alone and not when viewing others profile. instead of hiding it under private message button. ==

    Saw your new topic and answered you there https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-make-a-link-show-on-your-profile-alone/

    #132614

    @mercime, thanks so much for your help so far, have given up on the button. it looks so rubbish in IE. i dont even check it until you call my attention to it.

    But please is there a way to wrap the Edit Profile link which is in the item-header so that it shows on your own profile alone and not when viewing others profile. instead of hiding it under private message button.

    The code am using is :
    `<a class="edit-my"<a href="profile/edit”>Edit Profile`

    I mean may be a wrap to declare something like if is_ user_profile

    Regards

    #132578

    @mercime, thanks so much. the problem has been solved. what i did was i declare them seprately and it works.

    div#item-header #send-private-message a{background: url(_inc/images/plus-icon.png)no-repeat 0 2px transparent;padding-left:16px;
    }
    div#item-header #send-private-message {background:#ededed;background:-webkit-gradient(linear, left top, left bottom, from(white), to(#ededed));background: -moz-linear-gradient(top, white, #ededed);filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#ffffff’, endColorstr=’#ededed’);}

    #132575
    @mercime
    Participant

    There can only be normally one background image per element in CSS2 so when you add the icon, it will override the gradient background created in parent theme. You could add extra bg-img using pseudo-elements but that’s good for modern browsers and IE8+ only.

    You can use multiple background images for one element with CSS3 compatible with most modern browsers incl. IE9 above. But if you have users who use IE8 below, it will note show up at all.

    One solution for cross-browser compatibility down to IE7 is to create an image with the icon and the gradient background, e.g. activity-time-since-with-gradient-background.png, together and hook that to the link:
    `div#item-header #send-private-message a {
    background: transparent url(_inc/images/activity-time-since-with-gradient-background.png) left center no-repeat !important;
    padding-left: 25px;
    }`
    Of course your image name won’t be that long.

    The other solution is this: http://www.norestfortheweekend.com/2011/02/26/css3-gradients-multiple-backgrounds-and-ie7/ This is more involved but a great learning experience if you have the time.

    #132566
    @mercime
    Participant

    @naijaping Hook the background image to your link. Add this to your stylesheet
    `div#item-header #send-private-message a {
    background: transparent url(_inc/images/activity-time-since.png) left center no-repeat !important;
    padding-left: 25px;
    }`

    In addition, you have two styles for `div#item-header #send-private-message` and the second one overlaps and hides the Edit Profile link. So look for `div#item-header #send-private-message`

    Keep the first one below
    `div#item-header #send-private-message {
    float: left;
    position: absolute;
    right: 330px;
    top: 22px;
    }`

    Delete the second one below
    `div#item-header #send-private-message {
    right: 243px;
    }`

    #132560

    @mercime, i created the child theme of bp default theme myself.

    site url : http://suchworld.co.cc

    i have tried private message button and also friendship button but not works.

    Thanks for your help

    #130857
    BlinkyBill01
    Participant

    I too am having this problem. I’m using a custom theme from RocketThemes. I looked in the member-header.php file and it has that line of code you listed.

    On my member profile pages it only lists “Add Friend” Public Message” & “Private Message.”

    #127682
    Memfis
    Member

    Hey Chris,

    my mistake. You were right. All I had to do was paste the following into the functions.php (does not matter where):

    add_action( ‘bp_member_header_actions’, ‘bp_add_friend_button’ );
    add_action( ‘bp_member_header_actions’, ‘bp_send_public_message_button’ );
    add_action( ‘bp_member_header_actions’, ‘bp_send_private_message_button’ );

    Thank you again.

    #127681
    Memfis
    Member

    Hey Chris thank you for the prompt response. So I found this code:

    if ( !is_admin() ) {
    // Register buttons for the relevant component templates
    // Friends button
    if ( bp_is_active( ‘friends’ ) )
    add_action( ‘bp_member_header_actions’, ‘bp_add_friend_button’ );

    // Activity button
    if ( bp_is_active( ‘activity’ ) )
    add_action( ‘bp_member_header_actions’, ‘bp_send_public_message_button’ );

    // Messages button
    if ( bp_is_active( ‘messages’ ) )
    add_action( ‘bp_member_header_actions’, ‘bp_send_private_message_button’ );

    // Group buttons
    if ( bp_is_active( ‘groups’ ) ) {
    add_action( ‘bp_group_header_actions’, ‘bp_group_join_button’ );
    add_action( ‘bp_group_header_actions’, ‘bp_group_new_topic_button’ );
    add_action( ‘bp_directory_groups_actions’, ‘bp_group_join_button’ );
    }

    // Blog button
    if ( bp_is_active( ‘blogs’ ) )
    add_action( ‘bp_directory_blogs_actions’, ‘bp_blogs_visit_blog_button’ );
    }
    }

    and added it to the bottom of my themes functions.php. I had to remove the code though because it crashed the website :

    iftomkins
    Member

    i’m trying to do this, too! great idea! if anyone comes up with any solutions, that’d be killer

    #123773
    mrjarbenne
    Participant

    When you say “make a post on the site” are you talking about a Blog post in a WordPress Multisite install, or an Activity Stream update? A blog post from a user will create a hyperlink on the Activity Stream that will go directly to that blog, but very much like on this site, if you click directly on the avatar of the user in question, you should be taken to their profile page, on which you will see a “Friend” button, a “Private Message” button etc.

    Ensure that you have activated all of these items in the Network Admin/Buddypress Panel. It is possible that you have friend connections; private messages; profiles; etc turned off. Here’s a nice tutorial on setting up Buddypress 1.5 http://wpmu.org/the-illustrated-guide-to-installing-and-setting-up-buddypress-1-5/comment-page-1/

    #119764
    Boone Gorges
    Keymaster

    Just to be clear – by “autocomplete” you mean that, when you click the Private Message button, the user’s name is already filled in as a little box on the Compose screen, right?

    jeezyo
    Member

    drwebsitein, did you ever find a solution to this? im looking to implement a similar feature, and need to pass in the username.

    drwebstein
    Member

    Thank you for your response, Chouf1. Creating a button to link to the page from where they can send a private message is exactly what I was trying to do.

    Do you have any idea whether there’s a way to implement this so that they don’t have to manually enter the user name once they arrive at that screen?

    It seems like it might be doable with a second version of the bp_send_message_button() function that has been revised to accept the username as a parameter. I can tinker with the idea, but I thought I’d put it out there in case somebody knows whether or not there are any reason why this idea wouldn’t work.

    Thank you.

    danbpfr
    Participant

    To prevent spam, the fonctionnality you want to use is not avaible. You can see tthe function in bp-messages-templatetags.php:522

    Anyway you can add a button, which opens the send message page, but you need to add manually the user name.

    Open from your_child_theme/groups/single/members.php
    and add the function ` ` in the place you want.

    You can also learn to your user to use the profile page of their contact to send them a private massage.
    The number of click to do this is the same i think.

    It’s your choice ;)

    stephensimon
    Member

    Here’s where we encounter the error. First we go to the Members tab and select a member. On that member’s page, we click the “send private message” button. After filling in the email form and submitting, the page is returned with this error: “There was an error sending that message, please try again.” This only happens when attempting to send to a user with a country code extension in their email address. (We figured this out by looking at the user accounts that we couldn’t send messages to – the ones that triggered the error all had email addresses with country codes.)

Viewing 25 results - 176 through 200 (of 219 total)
Skip to toolbar