Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private message button'

Viewing 25 results - 126 through 150 (of 331 total)
  • Author
    Search Results
  • #249438
    neijisly
    Participant

    Hi, i want to disable ajax of button sender private message. any help!? Thank you.

    #249208
    acengiz
    Participant

    Hello,

    I add a private message button to listings by using below function, but in subject field “Testing” does not appear. Am i missing something? Actually, i want to get listing title into the subject field. Any suggestions?

    function bp_custom_get_send_private_message_link() {
    $author = get_the_author();
    $subject =”Testing”;
    $compose_url=bp_loggedin_user_domain() . bp_get_messages_slug() . ‘/compose/?’;
    if($author)
    $compose_url.=(‘r=’ . get_the_author());
    if($subject)
    $compose_url.=(‘&subject=’. $subject);
    return wp_nonce_url( $compose_url ) ;
    }

    add_shortcode( ‘ksam2’, ‘bp_custom_get_send_private_message_link’ );

    Best regards

    zerotechz
    Participant

    wordpress 4.4.1 using buddypress 2.4.3….Im new to buddypress so maybe its just me but I do not see a button for any type of messaging to friends or an add friends button either…..Is there something Im doing wrong?
    My site

    #248499
    bertl11
    Participant

    Hello,

    how can I disable the public message option or button?
    I want the users only to send private messages.

    Thanks for your help!

    #248453
    Hastig
    Participant

    Thanks very much guys!

    Is it just my blind eyes or is hookr.io impossible to read? Font size is tiny, color is invisible. A fantastic resource though, bookmarked it, thanks again!

    For anybody interested, I just wanted a ‘send private message’ button that I could place anywhere on the page.

    The simple way seems to be to use this..

    <?php bp_send_private_message_button(); ?>

    On click it will open the send message page with the person you want to message already set.

    bp_send_private_message_button is a function that echos bp_get_send_message_button
    bp_send_private_message_button is located in /bp-messages/bp-messages-template.php

    source http://hookr.io/plugins/buddypress/2.4.3/functions/bp_send_private_message_button/

    if you’re wanting to change the text of the link you can add this to functions.php or bp-custom.php

    function custom_change_send_private_message_text($args) { 
    	$args[link_text] = 'send message'; 
    	return $args;
    }
    add_filter( 'bp_get_send_message_button_args', 'custom_change_send_private_message_text', 1, 1 );

    ..thats courtesy of shanebp..
    https://buddypress.org/support/topic/private-message-button-label-change/

    another version i was playing with if its of use to anyone..

    function custom_change_send_private_message_text($args) { 
    	$userName = bp_get_displayed_user_username();
    	$args[link_text] = 'send ' . $userName . ' a private message'; 
    	return $args;
    }
    add_filter( 'bp_get_send_message_button_args', 'custom_change_send_private_message_text', 1, 1 );

    ..you would have to figure out how to remove the hyphen from the username.

    #248447
    shanebp
    Moderator

    It doesn’t handle the avatar.
    It creates Friend, Public & Private messages buttons.
    And provides a hook for you to add another call.

    See function setup_actions() in this file for where it is hooked to create the default buttons:
    buddypress\bp-templates\bp-legacy\buddypress-functions.php

    #248445
    Hastig
    Participant

    I’m wanting to look at the code for bp_member_header_actions so I can write a function based on it.

    It’s the action that collectively outputs the avatar, add friend and private message buttons on a users profile page.

    I’ve searched all files in bp-core, bp-friends, bp-members and bp-messages.

    do_action( 'bp_member_header_actions' );

    I’m not even seeing it mentioned on http://phpxref.ftwr.co.uk/buddypress/

    Anybody know off hand where it is before I check everywhere else?

    #246705
    scoobs2000
    Participant

    Hi
    in short everything you have asked can be done.

    But I’m a little bias as I honestly believe regarding technology there is nothing that can’t be achieved it just comes down to how much time and budget you have to invest… 🙂

    Below is a bit of a ramble…. But might provide insight. after you organize your coffee and come back.

    I have nearly completed a project that sounds similar in nature (few weeks from launch in final beta testing), however it was a highly customised solution (private membership site) .
    With nearly 70 plugins, 100’s hours coding integration code (lots of trial and error) between the plugins and also compatibility tests with multiples of plugins to ensure no issues, because of slow load times the project requires deploying from CDN,fast servers and customised caching solutions.
    most of work load appeasr to be bbpress – so an near out of the box solution, you prob don’t need to go that far.

    But not to scare you. Here are some pointers that might answer your questions, based on my understanding of the OP.

    In my case I spent many months researching solutions with many platforms (open source / paid / managed premium) – buddy press was selected simply because is built on WordPress that’s already has the core abilities you need, you just need to “hook in to’em” and take advantage of this concept – you can keep working on bettering and adding separate components / features as time goes by, great for client, works out a bit cheaper in the startup phase and great for developer – land ya self a permanent support / ongoing development contract……

    Is it possible to update profile content/meta? : In general yes, buddy press allows this out of the box

    Either the user or the admin can update, you can have admin only fields (the user doesn’t access them – but the admin can)
    if you use a membership plugin eg, s2member – you can extend this idea much further eg, only require email on signup, then all other fields are accessible from profile and can set fields on a per membership level,

    In your case, you might have different profile fields for students, teachers, Parents and only require a couple of basic fields to be completed on signup and all other fields can still be “required” when they reach their profile page.
    For profile field management I recommend the s2membership pro plugin (free version available) http://s2member.com/

    My project has a “todo list” for each and every member – however I’m still to this day unable to find a plugin that interacts with a completed wp/bbp/buddypress site. So I had to code one. The todo list was designed / engineered in a way that interacts with “wordpress” in general, by storing a completely unique data feed much like the activity feed with time stamps and can be programmed to be linked to any site link, media download, page view, forum post, reply any activity on the site can be logged and applied to the feed which the to-do-list interacts with and auto completing (crossing of the item) each item also has dependencies, so you rattle off a list of activities before the task is crossed off and each to-do-list also has dependencies so it is not seen by a user until certain tasks are completed, eg, purchase a course from the store, or complete a previous to-do-list.

    In short: Yes it can be done, however I’m not aware of any 3rd party plugin that does this successfully.

    In my case I have the to-do-list shown in the sidebar so as a member goes through the tasks the list is also available to them no matter what page they are on. But possible to publish it in the profile page if required.

    Regarding email notices, I recommend looking into the woo commerce sensei http://www.woothemes.com/products/sensei/ plugin for your courses that way you have management of email notices, in fact prob most of the things you require will be available via sensei – note this is a premium paid plugin with yearly ongoing licence costs.
    Without a free trial version to try before you buy.

    But maybe gravity forms developer licence might be fine in your case as it has, gateway plugins, qiz and survey plugins – it would be possible to build certain simple courses on the gravity framework including delivery of custom emails – if building a form based system than certainly worth a look into – but would require a developers licence to get all the plugins you would prob require.

    In fact what I do is use gravity forms email chimp plugin to send the members email address to an email list (automation campaign) in mail chimp (paid account) that auto sends a welcome emails that I have customize to suit the activity they have completed, this way I can send pretty html + marketing emails + scheduled follow up emails and take the work load off WordPress other than a quick API connect on demand.

    Regarding: is it possible to have multiple logins or users access the same account/profile?
    In simple: Yes, but it all comes to context of the profile, will each member be able to see other members profiles or will parents be able to edit a child profile etc.

    Although my project does not require the need for 2 or more members to edit a single profile, I do have multiple levels of context (horizontal and vertical memberships) all with their own set of rules who profiles they can see and what buddypress features are available to them – some members don’t have activity feeds or messages, But I needed to ensure that members that do have access to these features can’t access the features of cross membership and so on.

    This is 100% custom code (no plugin) but while coding this up I recall thinking I’m 100% confident it is possible to add another level of check “if current user can edit displayed user” and go from there, all you would need is a profile field / meta that links multiple accounts together –
    Eg, a parent account has a profiled field “child user name” – they just enter the child username / user ID – and now we would add the profile check if a parent is viewing the child’s profile.

    Regarding paying a deposit, and payment, this is my findings.

    There was no single one membership / payment plugin that integrated perfectly into what I wished to achieve – I have tested many. please note I’m suggesting there are no plugins that do this stuff just none that achieved the outcomes I needed for my project.

    – Tips: – start the project design based on the payment systems / gateway (the complete project and direction of development is 100% dependent on this) because the simple reason every feature you implement needs to check “is a paid member and what level (cap / role) ” – including free membership with paid features “is not a paid member” but has paid for… this includes recurring and non-recurring subscriptions with consideration of what you intend to do if a subscription expires.

    Eg, a recurring subscription will either just auto subscribe and pay for the next time frame (or fail)
    A non-reoccurring subscription will auto expire after a given time frame (or X cycles)

    The difference between to the two –
    Is generally on a recurring subscription when it expires it also linked to a member account to “do something” eg downgrade membership

    A non-recurring subscription is generally used for a onetime payment you have access forever feature- eg, a course and resources, you pay once on a deposit, subscription over several weeks when the subscription expires the member still has access to the course as long as they remain at minimum a free member on the site. (anyhow that’s how I have implemented things)

    These two concepts are completely different in the way they interact with the member as well at many levels although on the surface appear to be almost the same, add in a deposit feature you are also opening another level of context to play with, mostly limiting the available options regarding the payment gateway service you will need to use or more so which services have this feature on offer.

    As mentioned – my suggestion is start with the gateway solutions first and reverse the design back to the front end. – this is the big lesson I took away with this project (4 rewrites in total) as it was always a block relating to the gateway limitations (and laws relating to online subscriptions in my country).

    My project:
    Woo commerce (free) for shopping cart system including purchase of courses, subscription to site and deposit/ subscription to courses, plus all other products, deliverable products, workshops, webinars, one on one sessions, resource downloads from pdf to videos. Anything you can think off can be sold through woo

    Woo commerce quick cart – plugin (paid)– now I can add a buy now button on any page for any product including subscriptions – the membership info page has a standard 3 column price comparison chart with nothing more than a “sign up now” button – clicking the button auto adds the subscription to cart and opens the checkout popup with one click and without leaving the page (no need to send to store)

    Sensei (paid)– for courses and fits well into woo commerce system (but requires a couple more plugins and custom integration code if implementing paid / subscription based courses )

    Groups plugin (free) to easily manage roles and caps (as I have to teach client staff how to do this and manage the site) WordPress has this capability built in if your a coding ninja (I’m not)

    Groups Woo commerce (paid plugin) to link groups to a purchase – apply a role / cap or groups of, to a user based on the purchase.

    Then some custom code is required – to perform a check and if a user has a particular role or cap than apply the s2membership level – this check is done at the store level so if a member cancels or defaults on a payment – the membership level is auto adjusted depending on what role or cap is supplied to the user from the groups woo commerce automation. groups plugin manages non-recurring subscriptions so a expired subscription does not remove the users caps and roles (but a default on payment does)

    S2member pro – for membership level management including profile fields management and most importantly complete site access management – I can apply access to each and every competent of the site this includes , forums, topics, replies, posts, pages, media, courses, and content within pages eg, home page displays different content based on the membership level / logged in or general public. s2member pro is also used to override default bbpress / buddy visibility settings eg, hidden forums only available to certain member levels – but requires custom code to apply or traverse access levels on submitting topics / replies to ensure widgets and other snippets don’t display private areas to members that don’t have access. (it allows you to write custom queries with zero concern or consideration to access levels)

    For subscriptions (paid)– I use woo commerce Subscriptions plugin – this manages on its own site access based on paid recurring subscriptions (or in simple turns on or off user account based on payment) – pay x amount monthly to access certain site features, courses and resources, forums, pages, blog articles etc.

    However – woo commerce subscriptions does not manage deposit / time based subscriptions (non-recurring subscriptions) eg, pay a deposit for a course and gain instant access then pay off on a subscription for x amount of weeks / months –
    I was not able to find any plugin (free or paid) that does this, so I had to write a plugin currently under experimental concept stage.

    Other tips: often it’s better to find compatible, well supported and pay for premium plugins that have overlapping features and disengage these features you don’t want to achieve your goals and do as little integration code as possible, but anything you do needs to be well planned and though out as to not to touch core code in any platform, framework or plugin.
    At the end of the day you want the ability to upgrade all systems as time go by.

    Eg, s2member plugin has its build in membership system that is “required to be active” for the plugin to work. – all I did was setup a single paid (never to be used membership) on a paypal sandbox store this includes setting up all the s2membership registration pages etc – then put a simple redirect in the .htaccess on any of these pages. Now to purchase membership you must go to the store (woo commerce) and purchase a subscription via woo – s2member has now has nothing to do with membership registration / payment systems.

    And of course I have “force account creation” turned on at the store – you cannot make a purchase without signup at a minimum free site membership.
    by disengaging the buddy, bbp, Wp, and all other means of registering (by redirect) but only leaving the woo commerce customer account registration available – The pop up registration form I use for free members is just a woocommerce customer account registration form (with no products attached) with a fallback to the s2membership cut down reg form (in case ajax / jquery etc not working on client side)

    And now all purchases, subscriptions, shop account, courses etc are now available from the buddy press profile page also via a “woo to buddypress” plugin (or in my case built into the theme)

    May sound complicated but as mentioned I would really suggest starting with payment solutions and nut out this part of the project first as this will most likely force development direction,

    one of my project goals was a solution that can cater for anything…. so,

    Regarding variable deposit / costs amounts based on user input – if using similar approach as I did – you would just setup woo commerce discount codes per variable outcome / result and would just reveal the correct coupon code to the user on the checkout page. they just cut and paste this code into the discount field and click apply.

    or setup up multi products – one product per price base. – have the user input their details first and the result would be – apply a groups cap / role then only offer the courses products in the store with the associated price base based on user caps / role –

    woo discount coupons can be setup on multiple bases – eg, deposit amount / on going subscription amount or total amount or per product or per cart total etc.

    for me was plenty of research into this including concept builds of other community platforms and as above is only a bit of a sample of features used relating to the OP.
    I was under very strict key point goals and achievements requiring very specific outcomes many of these affected development direction how / why I implemented the above.

    There may be better simpler ways to suit your specific project, but thought it might be worth a mention for some direction. or at least insight into some of the plugins I use / ideas and concepts.

    my usual disclaimer – if there is something in there for you, that’s great! if not that’s fine too!

    enjoy!

    djsteveb
    Participant

    @ajaysingh-1
    man – there is post_comment, post_update – and a bunch of others on the hookr io page
    http://hookr.io/plugins/buddypress/#index=a

    not sure what you mean post button comment section..
    hmm.. section on the site-wide activity page?
    via private message emails / replies?

    hmm.. group replies?

    I don’t know anything about the functions and code actually – but hopefully the hookr info will help ya, or this comment will help you detail what exactly you are looking for – so if someone does know about this code they will know more about what you mean..

    #243919
    Caleb
    Participant

    Hi,

    How can I change what some elements say with Buddypress? I need to change the button under the users that says “Private Message” to “Chat User”.

    Is this possible?

    Thanks!

    danbp
    Participant

    is there an other setting ? No other setting in BP.

    Deactivate the child and use original Fifteen while testing.

    – no error message ? No JS error in console (browser tool) ?

    A similar topic here, with other advice
    https://buddypress.org/support/topic/private-message-button-only-appears-sometimes/

    ctuxboy
    Participant

    Hello,

    I have build a Social Network with BP.

    When I looking to my friends profiles the private-message-button is disappeared.
    How can friends send private messages to other friends?

    PS: When a profile is not a friend then the private-message-button shows correctly.

    Regards,
    Christophe

    #243150
    kostasbarkas30
    Participant

    Hello guys,

    I am relatively new to buddypress. Recently i installed facebook-like theme a wordpress theme from linash.com and buddypress the most recent installation (2.3.2) but i cannot see add friends button, private message button and public message button in my profile. i am the admin and only user in the buddypress installation and i develop the site locally. i even tried to copy some functions from bp default theme in my functions php theme but still nothing.
    i changed themes tried tewnty three theme and others theme still nothing.

    do i need to create another buddypress user?

    please help me i cannot enable the buttons

    thekristensam
    Participant

    I would like to include a “send private message” button, which is a Buddypress function, into an author box type of feature. I need this button to show in two place… 1) within the search results of GeoDirectory and 2) on a CPT author box. If I could have this as some kind of shortcode or something… that would be cool! I am willing to pay someone to set this up for me. Thanks

    Similar to: https://buddypress.org/support/topic/send-private-message-link-to-the-author-of-the-post/

    modx
    Participant

    Hi, sorry if I ask a question here but it is also with regards to adding a Send Private Message button/link.

    I would like to add it on the user profile. For example when a user views my profile, he/she can send me a private message through my profile page.

    Any help is greatly appreciated. Thank you!

    #238740
    Henry Wright
    Moderator

    Oops, I just noticed I supplied you with an add friend button; nothing to do with private messages, so sorry about that. Let me take a look to see if I can find something.

    #238738
    Henry Wright
    Moderator

    Closing as a [duplicate]

    akosichen
    Participant

    This is the code linking to the specific member I wanted to send a message.
    <a href="/members/<?php echo bp_core_get_username( get_the_author_meta( 'ID' ) ); ?>/">

    but the question is, how can I go directly to the Private Message?
    Thank you!

    akosichen
    Participant

    This is the code linking to the specific member I wanted to send a message.
    <a href="/members/<?php echo bp_core_get_username( get_the_author_meta( 'ID' ) ); ?>/">

    but the question is, how can I go directly to the Private Message?
    Thank you!

    feyrisa
    Participant

    Hi !

    I’m using a wp template based on twig file and I want to add a Private message button on post which are create by Buddypress user.

    I found this code “bp_core_get_userlink() ” but I don’t know how to write it in my twig file…

    I try that but it doesn’t work, someone can help me ?

    {% set url = bp_core_get_userlink()  %}
    <FORM ACTION="{{url}}">
    <INPUT TYPE="SUBMIT" VALUE="Envoyer un message au propriétaire"></FORM> 
    #237369
    Henry Wright
    Moderator

    BuddyPress Mute allows your members to mute their friends. Muting a person results in all of that person’s activity items being removed from your site-wide activity stream. Some features of the plugin are:

    • You can mute and unmute people at any time.
    • You can continue to interact with muted members. For instance, sending them a private message remains possible.
    • There’s no way of knowing that you’ve been muted.
    • Fully ajax’d buttons

    It’s similar to how you can mute users on Twitter.

    BuddyPress Mute:

    https://wordpress.org/plugins/buddypress-mute/

    vuko
    Participant

    Hi

    someone has some idea how to put send- private -message in every post for to contact the Author ?

    This code can work ?:

    <div class=”generic-button” id=”send-private-message”>” title=”<?php _e( ‘Send a private message to this user.’, ‘buddypress’ ) ?>”><?php _e( ‘Send Private Message’, ‘buddypress’ ) ?>
    </div>

    thanks to all

    #235598
    KS
    Participant

    Thanks Dan.

    I did search across every file (using Brackets), so I found the .js and .php files where it’s used, but those classes were not found in any CSS file in my installation. Sorry, ‘looking’ was probably misleading. I meant I had searched thoroughly, using any one of a number of appropriate tools 🙂

    I did find *some* of the attributes of the button, but not, for example, where the ‘Add friend’ button is getting its colour from, which is different to the ‘Send private message’ button for example. Some CSS has to be differentiating those two buttons, surely? And the colour in mine doesn’t appear anywhere in any CSS except for a class that isn’t applied to these buttons at all.

    #235488
    whoaloic
    Participant

    Thank you Henry for your answers.

    Note is what I call “What’s new” message in Activity Stream.
    That’s why you called public message or mentions?
    It’s like a tweet finally ?

    For private messages, I notice that user could send a message to all users so I was wondering what’s the point of Friends connexion.
    I was thinking that only users who are friends could send messages.

    Than you for the “favorite” button trac. It looks encouraging.

    #234546
    majecdad
    Participant

    Hey,

    @shanebp as I understand it, your plugin serves as sort of a ‘blacklist’ where you can block any user in a variety of ways. Have you considered making it the other way around? Whereby ALL other users were blocked from sending a Public or Private Message *unless* the User clicked on a button that added the other user to a ‘whitelist’?

    If the user B clicked on a ‘Message’ button, they would be precluded from sending a message to User A unless User B had already been whitelisted by the recipient/User A. Maybe with the attempt generating a prompt to User B to submit a whitelist approval request to User A.

    Maybe something like this already exists?

    Something for consideration. Thoughts?

    Thanks.

Viewing 25 results - 126 through 150 (of 331 total)
Skip to toolbar