Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private message button'

Viewing 25 results - 201 through 225 (of 231 total)
  • Author
    Search Results
  • #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.)

    #107386
    4colourprogress
    Participant

    Okay well I tried hooking the icon by adding another generic button div but it still wont acknowledge it as a link. I’m guessing it’s something to do with the fuction, but if I’m not suppost to put the code in that file then where should I be putting it ?

    `

    <a href="”>
    <img src="http://www.pixelcove.co.uk/images/addcontact.png&quot; title="Follow “>
    <a href="”>
    <img src="http://www.pixelcove.co.uk/images/messagecontact.png&quot; title="Message “>

    `

    #100969
    glittereyes
    Participant

    I agree to this! For now, how can I switch the places between the cancel friendship button with send private message buttons?

    #96119
    r-a-y
    Keymaster

    @intimez – Just checked Private Messages for Friends Only and the plugin still works fine on BP 1.2.6.

    BP 1.2.6 made some changes to the way buttons are rendered.

    If you modified the member header in your child theme, you’ll need to look at the changes made to /members/single/member-header.php and apply them.

    #83392
    lincme.co.uk
    Member

    @alanchrishughes; What we’ve done – and it’s making sense to a few testers so far – is to ditch the forums and just use groups. So people know, for example, that they can create a cycling group, or a business group, or a flower arranging group. They understand that they can post messages in their group, and invite others to join in, accept new members, etc., and also that if they want things in the group to remain only there then they can make it private.

    Apart from the varying negative reactions I see from people regarding forums and blogs, one of the things which puts people off with forums is the layout style. They don’t want to ‘go into’ a new area and then have to sub-navigate, as they frequently become lost and end up hitting the Home button and starting again. Or worse still, the browser’s Close button, because it’s just another minor stress in life they can do without. Seeing an activity stream, and then entering a group knowing that it’s much the same thing, but either publicly displayed or kept private, they can handle. (Funnily enough, one tester said today when looking at the activity stream, “This is a really great idea…a local forum”).

    Personally, I’m very much pulling away from all the “Oh how cool is this?!” side of technology, as you may notice from other posts I’ve made. It’s not because I’m ready for pipe and slippers yet, nor because I don’t like it all, but simply because those who are or become site and software developers are usually far removed from those they’re developing for, yet they don’t realise it. ‘Screen blindness’, perhaps. Developers are producing highly complex helicopters, while what most people really want are bog-standard 4-gear cars. Some are even happy with a horse and cart! (Afterthought; I guess the trick is to produce the complex helicopter, but make it so simple to fly that all you need is a steering wheel and 4 gears. I know; the analogy falls down hard if stretched further!)

    nessradio
    Participant

    Ok I just find the solution… It’s because of my wordpress template… I had a js file which was conflict with the crop button

    nessradio
    Participant

    So in my case I find the problem of why “upload avatar” doesn’t work.
    It’s because of the BuddyPress Template pack plugin. When I use the bp default theme everything works perfectly.
    When I use any wordpress theme that I made compatible with BuddyPress using the plugin bp Template pack I find exactly the same problem: Avatar Upload, private message, register… all of that doesn’t work… as soon as you click on the button “Submit” or “Crop” you go back to the same page and nothing happen?! It’s like the information wasn’t given at all…
    There is a conflict somewhere that I can’t find!
    Any Ideas???

    [EDIT] Ok I solved the problem!!!
    Ok so if none of the solution you have in this topic works for you it’s probably because you have a conflict between a js script in your default theme and a js script in your wordpress theme… take a minute tu disable all the js action in your wordpress theme ton test if it’s coming from there…

    #78047
    Scott B
    Participant

    I am also unable to create any groups on my installation. Details:
    1. Ubuntu 10.04 fresh install dedicated to WPMU+BP only, on a corporate intranet.
    2. WP-MU 2.9.2, BP 1.2.3, + LDAP user authentication.
    3. Site blog uses BP default theme, user blogs use Kubrick.
    4. No other plugins enabled.
    5. From “groups” tab, click on “Create a Group”, which takes me to “site/groups/create/step/group-details/”. After entering Group Name and Group Description, clicking on “Create Group and Continue ->” just takes me back to /group-details/, Step 1, as if I had hit the refresh button instead of “Create Groups and Continue”.
    6. Have verified that after every attempt, the wp_bp_groups table in the MySQL database is empty.

    Any ideas?

    EDIT: forgot to mention, WPMU is set up for subdirectory blogs (“blogs.corp.lan/blogname”). User account authentication, blog creation, etc., work just fine, as well as BP user activity, mentions. But user private messages don’t work (separate issue, it appears).

    #77273
    foxly
    Participant

    PART 2 – DEFEATING SPAMMERS

    In the last post I covered why and how spammers attack BP installations. This post will cover how I propose to counter them.

    Fast Attacks -vs- Slow Attacks

    There are two basic kinds of spam attacks that get run on social networks: “fast” or “flood” attacks, and “slow” attacks.

    In a fast attack, the spammer signs up for an account on the site, then sends thousands of messages as quickly as possible.

    Obviously, the site admin will be deluged with complaints about the spam user and quickly delete their account …but in the hours (or days) it takes the admin to respond, hundreds and hundreds of people will read the spam messages. Then the spammer signs up for another account, and repeats the process.

    In a “slow” attack, the spammer signs up for *hundreds* of accounts on the system, often over a period of many months, and only sends out spam messages one at a time …often days, weeks, or months apart.

    “Slow” attacks are very difficult to counter using automation …at least without annoying legitimate users.

    The best way people have come up with so far is just a “report spam” button which, when clicked, reports the member to an admin so they can investigate it and if necessary delete the account. This will be implemented as part of @francescolaffi ‘s BP content moderation plugin in a couple of months.

    Unfortunately, a “report spam” button doesn’t work well against “fast” attacks.

    This is because:

    a) There is a delay while the admin responds to manually submitted spam reports, or,
    b) When a consensus scheme is used (if X users report a member their account gets suspended), there is a delay while enough votes are accumulated to flag the member as a spammer.

    During that time, people are reading the spam messages and the spammer is winning.

    Goals of Proposed BP Core Anti-Spam Mods

    The goal of the proposed core modifications is to counter “fast” attacks by the following means:

    1) To make it difficult for a spammer to create large numbers of member accounts using automated means.

    2) To make it difficult for a spammer that already has a member account to use automated means to:
    a) send large volumes of PM’s
    b) send large numbers of friend requests
    c) create large numbers of groups
    d) create large numbers of group posts
    e) post large numbers of comments
    f) post large numbers of status updates

    3) To accomplish 1) and 2) without being annoying to legitimate users.

    4) To make the system configurable, so it can be adapted to the needs of the site …for example: visually impaired users, or display on mobile phones.

    5) To make the system “on by default” and “secure by default”

    How We Can Accomplish This

    1) New User Sign-up

    a) Add a captcha on the new account sign-up screen.
    b) If the “user” gets the captcha wrong on the first try, require *TWO* captchas to be solved before they can proceed. (If the odds of a bot solving ONE captcha with OCR are 1 in 100, the odds of the bot solving TWO captchas with OCR are 1 in 10,000. This is a technique Gmail uses.)

    …set X to be a random number on each installation between 3 and 7…

    c) If the user gets X captchas wrong in a row, block their IP for a random amount of time (15 minutes to 2 hours). (This is what Craigslist does)
    d) If the user fails X captchas *again* after being blocked, permanently ban their IP and post it to akismet.
    e) If a locally banned IP tries to sign-up, don’t throw an “error page”. Completely ignore the request and don’t send anything.
    f) If an akismet banned IP tries to sign up, require *TWO* captchas to be solved on the first try, and if they get X captchas wrong in a row, permanently ban their IP and repost it to akismet.
    g) Add an option field to the admin menu that limits the number of accounts that can be created per IP address. By default, set it at 2.

    2) Existing User Sign-In

    a) Use a “normal” password box on first sign-in attempt.
    b) If the member gets their password wrong on the first try, require them to solve a captcha on the second try. Offer password recovery option.
    c) If the member gets their password wrong on the second try, require *TWO* captchas to be solved before they can proceed. Offer password recovery option.

    …set X to be a random number on each installation between 3 and 7…

    d) If the user gets X logins / captchas wrong in a row, block the visitor’s IP for a random amount of time (15 minutes to 2 hours).

    3) Private Messages

    a) Add a field to the user table that allows PM limiting to be bypassed or set to a unique value on a user-per-user basis.
    b) Add three option fields on the admin menu: allow “X” messages to be sent every 24 hours, averaged over the past “Y” hours with “Z” hysteresis
    …when BP is installed, randomly set X, Y, and Z to allow a daily maximum of between 18 and 24 messages, averaged over between 2 and 24 hours, +/- 3 messages.
    c) If the maximum is exceeded, require the member to solve a captcha before they can send another PM.
    d) If they get the first captcha wrong, require them to solve two captchas before they can send another PM.

    …set R to be a random number on each installation between 3 and 7…

    e) If the user gets R captchas wrong in a row, block their IP for a random amount of time (15 minutes to 2 hours). (This is what Craigslist does)
    f) If the user fails R captchas *again* after being blocked, permanently ban their IP and post it to akismet.
    g) If a locally banned IP tries to visit the site, don’t throw an “error page”. Completely ignore the request and don’t send anything.

    Consider how difficult the algorithm above makes it to send automated messages. A spammer can’t just send “12 messages a day” or “1 message an hour” and avoid triggering the system. Every BP installation will have a unique combination that will cause it to trip. Yet for a “normal” user, the system will hardly ever trip, and if it does, it takes all of 5 seconds to enter a captcha and continue. And the system can be bypassed entirely for edge cases, like paid advertisers or site news.

    3) Friend Requests

    a) Create a config option in BuddyPress that allows the admin to remove the member’s directory with one click. Disable the member directory by “default” on new installs. In my experience, the only people that use the member’s directory (in its default state, on a socially oriented site) are Spammers, Marketers, and Competitors. There’s a reason Facebook, MySpace, LinkedIn, and Twitter do not have “global” member directories.
    b) Implement same scheme as private messages.

    4) Group Creation

    a) Add a field to the user table that allows Group limiting to be bypassed or set to a unique value on a user-per-user basis.
    b) Add an option field on the admin menu that sets a maximum number of groups that can be created by a user. By default, set it at 5.

    5) Group Posts

    a) Add a field to the user table that allows group post limiting to be bypassed or set to a unique value on a user-per-user basis.
    b) Create a “whitelist” field on the admin page that allows “trusted” media sharing URL’s like YouTube, Revver, Flickr, etc to be bypassed in spam protection.
    c) Create an option that automatically “scrubs” URL’s and email addresses from group posts if they are not on the whitelist. Not just “nofollow” …complete removal. This will stop 90% of abuse dead in its tracks, because most spammers are just trying to get traffic to a site or replies to an email.
    d) If the system detects a URL or email address embedded in a message, and it’s not on the whitelist, require a captcha to be solved before allowing the post.
    e) If they get the first captcha wrong, require them to solve two captchas before approving the post.

    …set R to be a random number on each installation between 3 and 7…

    f) If the user gets R captchas wrong in a row, block their IP for a random amount of time (15 minutes to 2 hours).
    g) If the user fails R captchas *again* after being blocked, permanently ban their IP and post it to akismet.
    h) If a locally banned IP tries to visit the site, don’t throw an “error page”. Completely ignore the request and don’t send anything.

    i) For posts that do not contain a URL or email address, run the post through akismet. If it passes, approve the post. If it fails, require a captcha to be solved before allowing the post.
    j) If they get the first captcha wrong, require them to solve two captchas before approving the post.
    k) If the user gets R captchas wrong in a row, block their IP for a random amount of time (15 minutes to 2 hours).
    l) If the user fails R captchas *again* after being blocked, permanently ban their IP and post it to akismet.
    m) If a locally banned IP tries to visit the site, don’t throw an “error page”. Completely ignore the request and don’t send anything.

    6) Comments

    a) Create an admin option that only allows users to comment on their *friend’s* items. Activate it by default on new BP installations.

    7) Status Updates

    a) Add a field to the user table that allows status update limiting to be bypassed or set to a unique value on a user-per-user basis.
    b) Create a “whitelist” field on the admin page that allows “trusted” media sharing URL’s like YouTube, Revver, Flickr, etc to be bypassed in spam protection.
    c) Create an option that automatically “scrubs” URL’s and email addresses from status updates if they are not on the whitelist. Not just “nofollow” …complete removal. This will stop 90% of abuse dead in its tracks, because most spammers are just trying to get traffic to a site or replies to an email.
    d) If the system detects a URL or email address embedded in a message, and it’s not on the whitelist, require a captcha to be solved before allowing the activity stream post.
    e) If they get the first captcha wrong, require them to solve two captchas before approving the activity stream post.

    …set R to be a random number on each installation between 3 and 7…

    f) If the user gets R captchas wrong in a row, block their IP for a random amount of time (15 minutes to 2 hours).
    g) If the user fails R captchas *again* after being blocked, permanently ban their IP and post it to akismet.
    h) If a locally banned IP tries to visit the site, don’t throw an “error page”. Completely ignore the request and don’t send anything.

    i) For activity stream posts that do not contain a URL or email address, run the post through akismet. If it passes, approve the post. If it fails, require a captcha to be solved before allowing the post.
    j) If they get the first captcha wrong, require them to solve two captchas before approving the post.
    k) If the user gets R captchas wrong in a row, block their IP for a random amount of time (15 minutes to 2 hours).
    l) If the user fails R captchas *again* after being blocked, permanently ban their IP and post it to akismet.
    m) If a locally banned IP tries to visit the site, don’t throw an “error page”. Completely ignore the request and don’t send anything.

    8 ) In All Cases

    a) When a member account is banned, or repeatedly triggers spam protection measures, send an alert to the site administrator.
    b) Allow admin alerts to be disabled if necessary, example: DDOS attack against the site.

    9) CONCLUSION

    While the list of modifications above may look incredibly complicated, really, it’s not.

    I’d say “worst case” it’s about a week of work to research and make these modifications. Then we can push it out into beta testing with all the other new code to give it a proper shakedown.

    I’m sure there are plenty of ways the algorithms above could be improved, so please go ahead and post your feedback!

    Thanks!

    ^F^

    #76485
    r-a-y
    Keymaster

    Try this until a more, full-featured privacy component is available.

    Remove send private message button for non-friends:
    http://blog.etiviti.com/2010/03/buddypress-hack-remove-send-private-message-for-non-friends/

    #75226
    @mercime
    Participant

    “I would like the Members profile to have a contact button which when clicked allows the users to send an email to the member?”
    Actually, when a logged-in user sends “Private Message” to another member, the latter receives the message in his/her email inbox. Or did you need a contact form for online visitors who are not logged in so they could touch base with any member of your community?

    #73521
    jordashtalon
    Member

    2. I know you use the FB metaphor about creating an album first but I’d make the media add process a logical next step. Right now you create the album and the process just kinda stalls.

    3. The member tags field will cause my folks to do nothing. I’d suggest making it more FB like. You click a button that says “tag this photo” and a list pops up of your friends to tag with. Now, I know there isn’t yet the ability to tag faces, but it needs to be clear that you can tag your friends in pics (maybe something along the lines of the auto suggest in the private message area?

    @Mike Pratt

    I like those ideas.

    #73454
    Mike Pratt
    Participant

    testing v 0.1.9.2 Excellent progress so far. I have not been able to break this build (yea!) but I have a bunch of usability comments to add and, hopefully, help with.

    1. I’d consider giving admins the ability to decide what users are presented with when they upload media e.g. whether they have to deal with visibility options at such a granularity. My site is behind a wall so “public” will only throw them off. This is minor, I know.

    2. I know you use the FB metaphor about creating an album first but I’d make the media add process a logical next step. Right now you create the album and the process just kinda stalls.

    3. The member tags field will cause my folks to do nothing. I’d suggest making it more FB like. You click a button that says “tag this photo” and a list pops up of your friends to tag with. Now, I know there isn’t yet the ability to tag faces, but it needs to be clear that you can tag your friends in pics (maybe something along the lines of the auto suggest in the private message area?

    Will send more feedback as I go thru. Many Thanks so far.

    #71033
    21cdb
    Participant

    I really like to follow your development and i raelly appriciate how transparent you’re keeping the developmet and how much your are listining to the demands of us users.

    Keep it up this way!

    I wrote a short user story:

    1) An administrator: I would like to see all albums even if they set to private or not. I would like to hide pictures with inappropriate content. They shouldn’t be visible for site members anymore, but the owner should see them darkened out with a message overlaying the picture “This picture was removed due to inappropriate content” – something like this.

    2) An anonymous user off the Internet: Should only be able to see the “public” pictures.

    3) A logged-in member viewing their own profile: Should have an Main Menu Item “Albums” or even better “Photos” that shows all of his pictures and all pictures of his friends (newest Uploads on top – so they can easily discover whats new). There should be an “Upload Photos” button on this page (After clicking you will be ask if you would like to upload a single picture or if you would like to create an album). The Page should also hold a subnav with some Options as “Photos of my friends – Photos i’m tagged on – My uploaded Photos – Upload Photos”

    4) A logged-in member viewing a friend’s profile: Should have an Main Menu Item “Albums/Photos” with all of the photos uploaded by “John Doe” and a subnav with “Photos John Doe is tagged on”.

    5) A logged-in member viewing a stranger’s profile: Should have an Main Menu Item “Albums/Photos” with all public pictures the “stranger” uploaded.

    I was also thinking of pictures uploaded to groups. I guess it should be enough if there would be an “Album/Photos” Menu Item in the mainnav of the group. This page should hold all group pictures and an “Upload Photos” button.

    That should be enough for the beginning.

Viewing 25 results - 201 through 225 (of 231 total)
Skip to toolbar