Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private message button'

Viewing 25 results - 176 through 200 (of 331 total)
  • Author
    Search Results
  • #176207
    ProfC
    Participant

    Hi everybody,
    I recently updated WP to 3.8 and Twenty Eleven Theme to 1.7. I still have BP 1.8.1 since 1.9 is not available in italian yet. If I go to a member directory to send a message I can se friendship button doubled: I have

    2 Private Message button
    2 Public Message button
    2 Cancel Friendship button

    Why? I tried to update BP to 1.9 on a local server installation, but the problem is still there. Should I wait to the new 2.0 version?
    Can you please help me?

    I have another big problem as you can see in this topic
    http://buddypress.org/support/topic/search-function-in-forum/

    Thanks,
    G

    #174037
    Marc K.
    Participant

    Hi Seth!

    Interesting, I didn’t know that you had a BP integration in place for EE. With which BP version was it compatible?

    I know that the BP core developers have their hands full of work, so I won’t blame them for not taking on a complete events module in the core.

    For me the question now is, which plugin takes the least effort to extend on our own. And yes, I know about your crowdfunding like offer to fund extensions to EE. But I need to meet certain deadlines and I don’t think you can guarentee a certain development until then.

    BTW, isn’t the “I’ll attend’ and ‘Maybe’ a pretty simple code addition? A user presses a button which captures that users user id and writes it into a custom field of the event page. The plugin then fetches those ids and shows avatars of those people who attend.

    I found an interesting tutorial (http://wp.smashingmagazine.com/2012/01/27/limiting-visibility-posts-username/) which might lead the way for my other request, specific event visibility/privacy:

    1. Only friends of events creator (again, write all the user ids of the event creator into a custom field thats not visible/accessible to users and then restrict visibility of event page to those users)

    2. Only invited (would require more work. First have a way to notify other users of the event by private message or BP notification. Write the user ids of those into yet another custom field, rest see above)

    I am pretty much a PHP noob. But are these things really so hard to do? More than a week of work for an experienced BP developer?

    #173863
    Anonymous User 13302461
    Inactive

    OK I’ll try the workarounds.

    Thanks a lot for the feedback.

    #173861
    Paul Wong-Gibbs
    Keymaster

    Hi @welshdemo

    The theme’s fine. The problem is actually caused by a bug in our widgets (you’re using the Members list and the “Who’s online?” widgets). We’re tracking the bug here https://buddypress.trac.wordpress.org/ticket/5170 and currently aiming to fix it by the 2.0 release, which is probably 4 months away. If we get a fix before then, we’ll put it into a 1.9.x small release.

    A workaround is to make sure that no BuddyPress widgets are rendered before the main content of the page. i.e. try moving the widgets to the right-hand column, or a widget area at the bottom of the page, or just removing the widgets.

    #173859
    Paul Wong-Gibbs
    Keymaster
    #173717
    Marc K.
    Participant

    Hello!

    I am currently setting up and developing a social media site based on WordPress/BuddyPress but can’t find a single event plug-in, that meets our requirements:

    1. Users can submit events
    2. Integration in the BP Frontend/Profiles
    3. Ability for recurring events
    4. Usage of custom Post Types and Taxonomies for Events and Locations
    5. Ability to show intention to attend (like in Facebook)
    6. Ability to invite others (your friends) to an event by BP messages or BP notifications
    7. Activity Stream entrys for creating and attending events
    8. Sell tickets (preferably integrating mit MarketPress or WooCommerce).
    9. Granular Shortcodes and Template-Tags for complete customization of output.

    I would gladly pay 500 or even 1,000 dollars for a plug-in that does it all!

    I started off with looking at a plug-in, I’ve been using for 4 years now: Events Manager. Its VERY well documented, has loads of shorttags and complies with 1/2/3/4/7/8/9. But it cant invite other users by internal BuddyPress functions and you cant say “I’ll attend” without “buying” a ticket.

    Then I came upon Event Espresso. Nice and polished and with some extra features like QR-Code tickets and a mobile app to have a digital check-in. It also exposes all content through a JSON API possibly making a mobile app integration (like with PhoneGap) much easier. It also offers seating plans for variable tickets. But again: no invitation or notification through BuddyPress. No “Attend” and “maybe” buttons like in FB. And no BuddyPress integration, not frontend event submission and unless you have bought a license you cant check, what shortcodes it has to offer. Certainly a more tight-lipped approach to technical support.

    For a long time I thought, these are the major players I have to choose among, before I became aware of Events+ by WPMU. Incredibly, it seems to be the only WordPress events plugin mimicking the FB way of showing your intention to attend. The “Attend” and “Maybe” buttons are front and center of this plugin, along with recurring events and a system to buy tickets (integrated with MarketPress). It even allows different ticket prices based on user level/role. But a lousy pre-sales documentation and limited number of shortcodes and again: no internal invitation feature.

    I googled again and again, before I found a reference to the original BP events plugin, seemingly abandoned by its (too good not to ne hired by Facebook) developer. This plug-in, was apparently able to invite friends of the event organizer through BuddyPress notifications. It hasnt been developed further since then, it seems, and it came with a peculiar “feature”: all people invited were automatically registered as attending. If everything in life would be so easy 😉

    Is this the end of this rant? No, there are more interesting players, targeting the WP events segment. Foremost “The Events Calendar” plug-in, which elegantly integrates ticket sales with WooCommerce, has very clean aesthetics, a lively community to support it and surprise, fails too in the notification and attention departments. It seems to have a rather limited choice of shortcodes and no official Buddypress integration at all, although it seems, as if you can achieve that manually. It’s US centric approach to only use 12h time formats basically excludes it for 85% of the world population.

    And then there is Timely, which brings more color into this review. Indeed, it’s author must love colors, since it’s using them all over the place. Category colors, calendar colors etc. Granted, this all can probably be changed by CSS, but the first impression is visual overkill. Besides that it lacks many of the required features.

    Just before completing my search I literally stumbled upon a newborn. Seeing the light of day on September 16, Event Calendar & Ticketing and its complementary WooEvents Pro. The plug-in approaches the ticket selling issue from a different side: events ARE products, having full integration with WooCommerce and all its possible extensions. But again: no imvitation feature, no attending without buying a ticket.

    So, to my astonishment, there doesnt seem to be a single WordPress plug-in that aloows the event creator (and others) to invite people in the BP community or notify them of the event. Many of the plg-ins mentioned above do provide for external means like E-Mail to inform people about the event. But this really defies, what a social community build on BuddyPress is all about. People should get encouraged to be online and participate, not just glance at the E-mail inboxes. The same with showing your intention to attend, without buying a ticket. This is, what makes FB truly social and BuddyPress (in its current incarnation) more of a publishing and marketing platform for events.

    Before I conclude there is one last thing I wanna mention: privacy. None of the events provide a way to make events visible only to friends or to people invited by the organizer. An important oversight, since many users might want to have private birthday party and don’t want to see hundreds of party crashers showing up and creating news headlines like “Police forced to break up mass event at private mansion”.

    Usually choice is a wonderful thing, but here, it becomes a nuisance. One is forced to choose between which core features you might be most willing to sacrifice without turning off your client or users. Clearly, there is an opening for a better integrated events plug-in for Buddypress, notwithstanding the crowded field of aspirants. There is also an argument to be made, that this is something, that clearly belongs in the core, with plug-in developers filling the gaps with their luxury features.

    If I made a factual mistake here, then I am sorry. Please correct me and provide for documention where to find this particular feature. Because a feature not documented, is practically the same as a non-existent feature!

    I hope no one will take the critique personally. All the mentioned plug-ins are fine products by themselves and based on a lot of work, I am very thankful for. It’s just, that I’m flabbergasdted, that there are so blatent omissions in their feature sets.

    #173600
    Anonymous User 13302461
    Inactive

    Ahh yes. seems to appear every time with default template. I will go to the theme support forum and ask there. Thanks.

    #173573
    shanebp
    Moderator

    Switch to the BP default theme or a WP theme like Twenty Thirteen.

    Does the problem still exist?
    If not, then the problem is in your custom theme.

    #173567
    Amid Dadgar
    Participant

    there should be 3 buttons (Add Friend,Public Message,private message) but as you said It just appears sometimes and I have a same problem 🙁

    Anonymous User 13302461
    Inactive

    This is really bizarre. As the title suggests, can anybody give an idea of why the buttons are only there about half of the time? They were just there for about page 5 refreshes, now theyre gone again!

    Take a look at any member profile from the user names on the right (recent topics) and maybe you can recreate this. I cannot create it at will. Its very random
    http://robssatellitetv.com/members/reece/

    This div is empty when theyre not there:
    <div id=”item-buttons”>

    And when they do load, these 2 divs are inside the previous one.
    <div id=”post-mention” class=”generic-button”>
    <div id=”send-private-message” class=”generic-button”>

    This is crazy!

    #172995
    John
    Participant

    Hi – I’m wondering if someone could give me some guidance on how to add a “Send Private Message” button & “Add Friend” button to non-Buddypress elements on my site.

    For instance; if a Buddypress user creates a blog post; I’d like the option for other users to either add them as a friend or send them a private message from the post.

    Thanks!
    John

    #172471

    In reply to: Private message users

    chur74
    Participant

    Thank you very much for the reply, and I understand.

    On the other hand I have seen that also can send public messages, but I can not display the button to send them, just see the private message when I activate the option.

    thank you.

    #172062
    Uncle Jimmy
    Participant

    @Shanebp and @mercime [RESOLVED]

    The following file was responsible. Comments marked !!!IMPORTANT!!! are where I made changes.

    wp-content/plugins/gantry-buddypress/bpt-functions.php

    <?php
    /**
     * @version   1.3 November 8, 2012
     * @author    RocketTheme, LLC http://www.rockettheme.com
     * @copyright Copyright © 2007 - 2012 RocketTheme, LLC
     * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
     */
    
    // Sets up WordPress theme for BuddyPress support.
    function gantry_bp_tpack_theme_setup() {
    	global $bp, $gantry_bp_path;
    
    	// Load the default BuddyPress AJAX functions if it isn't explicitly disabled
    	require_once( $gantry_bp_path . '/_inc/ajax.php' );
    
    	if ( !is_admin() ) {
    		///!!!IMPORTANT!!!/// COMMENTED OUT BY UNCLEJIMMY [[FIXED MEMBER HEADER DUPLICATE BUTTONS Friends/Public Message/Private Message]] ///!!!IMPORTANT!!!///
    		///!!!IMPORTANT!!!/// [[ALSO REDUCED QUADRUPAL MESSAGES/COMMENTS/REPLIES TO DUPLICATES]] ///!!!IMPORTANT!!!///
    		// 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' ) ) {
    			///!!!IMPORTANT!!!/// COMMENTED OUT BY UNCLEJIMMY [[FIXED DUPLICATE GROUP BUTTON Join/Leave ]] ///!!!IMPORTANT!!!///
    			//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' );
    	}
    }
    
    add_action( 'after_setup_theme', 'gantry_bp_tpack_theme_setup', 11 );
    
    // Enqueues BuddyPress JS and related AJAX functions
    function gantry_bp_enqueue_scripts() {
    
    	// Enqueue the global JS - Ajax will not work without it
    	wp_enqueue_script( 'dtheme-ajax-js', get_template_directory_uri() . '/_inc/global.js', array( 'jquery' ), bp_get_version() );
    
    	// Add words that we need to use in JS to the end of the page so they can be translated and still used.
    	$params = array(
    		'my_favs'           => __( 'My Favorites', 'buddypress' ),
    		'accepted'          => __( 'Accepted', 'buddypress' ),
    		'rejected'          => __( 'Rejected', 'buddypress' ),
    		'show_all_comments' => __( 'Show all comments for this thread', 'buddypress' ),
    		'show_x_comments'   => __( 'Show all %d comments', 'buddypress' ),
    		'show_all'          => __( 'Show all', 'buddypress' ),
    		'comments'          => __( 'comments', 'buddypress' ),
    		'close'             => __( 'Close', 'buddypress' ),
    		'view'              => __( 'View', 'buddypress' ),
    		'mark_as_fav'	    => __( 'Favorite', 'buddypress' ),
    		'remove_fav'	    => __( 'Remove Favorite', 'buddypress' ),
    		'unsaved_changes'   => __( 'Your profile has unsaved changes. If you leave the page, the changes will be lost.', 'buddypress' ),
    	);
    	wp_localize_script( 'dtheme-ajax-js', 'BP_DTheme', $params );
    
    	// Maybe enqueue comment reply JS
    	if ( is_singular() && bp_is_blog_page() && get_option( 'thread_comments' ) )
    		wp_enqueue_script( 'comment-reply' );
    }
    
    add_action('wp_enqueue_scripts', 'gantry_bp_enqueue_scripts');
    
    // Enqueues BuddyPress basic styles
    function gantry_bp_enqueue_styles() {
        global $gantry_bp_url;
    
    	// Do not enqueue CSS if it's disabled
    	if (get_option( 'gantry_bp_disable_css' ))
    		return;
    
    	// BP 1.5+
    	if ( version_compare( BP_VERSION, '1.3', '>' ) ) {
    		$stylesheet = 'bp.css';
    
    		// Bump this when changes are made to bust cache
    		$version    = '20110918';
    	}
    
    	// Add the wireframe BP page styles
    	wp_enqueue_style( 'bp', $gantry_bp_url . '/' . $stylesheet, array(), $version );
    
    	// Enqueue RTL styles for BP 1.5+
    	if ( version_compare( BP_VERSION, '1.3', '>' ) && is_rtl() )
    		wp_enqueue_style( 'bp-rtl',  $gantry_bp_url . '/' . 'bp-rtl.css', array( 'bp' ), $version );
    }
    
    add_action('wp_enqueue_scripts', 'gantry_bp_enqueue_styles');
    
    // Gantry BuddyPress plugin doesn't use bp-default's built-in sidebar login block,
    // so during no access requests, we need to redirect them to wp-login for
    // authentication.
    if (!function_exists('gantry_bp_use_wplogin')) {
        function gantry_bp_use_wplogin() {
    	    // returning 2 will automatically use wp-login
    	    return 2;
        }
    
        add_filter('bp_no_access_mode', 'gantry_bp_use_wplogin' );
    }
    
    // Hooks into the 'bp_get_activity_action_pre_meta' action to add secondary activity avatar support
    function gantry_bp_activity_secondary_avatars( $action, $activity ) {
    	// sanity check - some older versions of BP do not utilize secondary activity avatars
    	if ( function_exists( 'bp_get_activity_secondary_avatar' ) ) :
    		switch ( $activity->component ) {
    			case 'groups' :
    			case 'friends' :
    				// Only insert avatar if one exists
    				if ( $secondary_avatar = bp_get_activity_secondary_avatar() ) {
    					$reverse_content = strrev( $action );
    					$position        = strpos( $reverse_content, 'a<' );
    					$action          = substr_replace( $action, $secondary_avatar, -$position - 2, 0 );
    				}
    				break;
    		}
    	endif;
    
    	return $action;
    }
    
    ///!!!IMPORTANT!!!/// COMMENTED OUT BY UNCLEJIMMY [[FIXED DUPLICATE AVTIVITY STREAM AVATARS]] ///!!!IMPORTANT!!!///
    ///!!!IMPORTANT!!!/// [[ALSO FIXED DUPLICATE MESSAGES/COMMENTS/REPLIES]] ///!!!IMPORTANT!!!///
    //add_filter('bp_get_activity_action_pre_meta', 'gantry_bp_activity_secondary_avatars', 10, 2);

    Thank you for your time and attention, please let me know if I could’ve done this better.

    God Bless

    #171677
    Eric J T
    Participant

    Sorry I didn’t include the code for that. Yes, it is in the wp functions.php file, but it is relevant to bp theme. Here is the full function that line 100 is found in. Line 100 is the third to last, which starts with “add action”.

    /**
     * Sets up theme defaults and registers support for various WordPress and BuddyPress features.
     *
     * Note that this function is hooked into the after_setup_theme hook, which runs
     * before the init hook. The init hook is too late for some features, such as indicating
     * support post thumbnails.
     *
     * To override bp_dtheme_setup() in a child theme, add your own bp_dtheme_setup to your child theme's
     * functions.php file.
     *
     * @global BuddyPress $bp The one true BuddyPress instance
     * @since BuddyPress (1.5)
     */
    function bp_dtheme_setup() {
    
    	// Load the AJAX functions for the theme
    	require( get_template_directory() . '/_inc/ajax.php' );
    
    	// This theme styles the visual editor with editor-style.css to match the theme style.
    	add_editor_style();
    
    	// This theme comes with all the BuddyPress goodies
    	add_theme_support( 'buddypress' );
    
    	// This theme uses post thumbnails
    	add_theme_support( 'post-thumbnails' );
    
    	// Add default posts and comments RSS feed links to head
    	add_theme_support( 'automatic-feed-links' );
    
    	if ( ! is_admin() || ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
    		// Register buttons for the relevant component templates
    		// Friends button
    		if ( bp_is_active( 'friends' ) )
    			add_action( 'bp_member_header_actions',    'bp_add_friend_button',           5 );
    
    		// Activity button
    		if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() )
    			add_action( 'bp_member_header_actions',    'bp_send_public_message_button',  20 );
    
    		// Messages button
    		if ( bp_is_active( 'messages' ) )
    			add_action( 'bp_member_header_actions',    'bp_send_private_message_button', 20 );
    
    		// Group buttons
    		if ( bp_is_active( 'groups' ) ) {
    			add_action( 'bp_group_header_actions',     'bp_group_join_button',           5 );
    			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' );
    	}
    }
    add_action( 'after_setup_theme', 'bp_dtheme_setup' );
    endif;
    
    if ( !function_exists( 'bp_dtheme_enqueue_scripts' ) ) :
    

    In the first install the failed bp had been installed and working for a few days. It suddenly gave errors when I edited a css color code on line 1211 in this file and uploaded it to the server by ftp. Yeah, I know you might say I made a mistake, but I know I did it correctly. And they you might say the file got corrupted in transfer, except that the second install on godaddy had no such changes or transfers and in short order – less than an hour of use with no other plugins or style changes – gave the same final error for line 100 when I changed my public name in the buddypress members listing, at which point neither the front nor back ends were accessible.

    Looking forward to your insights.

    #170404
    funmi omoba
    Participant

    @shanebp,

    thanks for your reply I thought as much but I think it get wiped during the plugin update.

    Thanks for your input anyways.

    Best Regards

    #170403
    shanebp
    Moderator

    @funmi-omoba

    Open the plugin file, find the text, replace the text

    #170400
    funmi omoba
    Participant

    @shanebp,

    Thanks for your snippet which works great with standard buddypress message system but did not work if using BP Profile Message UX plugin, is there anyway to make it work please

    https://wordpress.org/plugins/bp-profile-message-ux/

    tahnks

    #170392
    Henry
    Member

    @shanebp good point about using the bp_send_private_message_link approach. Although you would avoid double buttons by using a translation file.

    #170389
    shanebp
    Moderator

    @henrywright-1
    And how would you avoid double buttons due to this call in member-header.php?
    do_action( ‘bp_member_header_actions’ );

    @tayenewm
    Use the provided apply_filters:

    function tweak_button_label ( $args ) { 
    	$args[link_text] = 'Something'; 
    	return $args;
    }
    add_filter( 'bp_get_send_message_button_args', 'tweak_button_label', 1, 1 );
    #170387
    Henry
    Member

    actually you could make use of the bp_send_private_message_link function and do it like this:

    <a href="<?php bp_send_private_message_link() ?>" title="Private Message">Private Message</a>

    You can change the “Private Message” text to whatever you like. You’d just paste the code into your theme where ever you’d like the button to appear

    #170386
    Henry
    Member

    You could do it like that but each time you update BuddyPress you’ll lose the changes you’ve made to bp-messages-template.php. I’d try to avoid making changes to the plugin core.

    #170385
    tayenewm
    Participant

    That process seems beyond me and very long (and I cannot find the /plugins/buddypress/bp-languages folder) I just want to change the “Private Message” button label. Can I access/change it quickly like this:
    1. access buddypress/bp-messages/bp-messages-template.php
    2. change the ‘link text’ to the new label name in this block of code?

    function bp_get_send_message_button() {
    // Note: ‘bp_get_send_message_button’ is a legacy filter. Use
    // ‘bp_get_send_message_button_args’ instead. See #4536
    return apply_filters( ‘bp_get_send_message_button’,
    bp_get_button( apply_filters( ‘bp_get_send_message_button_args’, array(
    ‘id’ => ‘private_message’,
    ‘component’ => ‘messages’,
    ‘must_be_logged_in’ => true,
    ‘block_self’ => true,
    ‘wrapper_id’ => ‘send-private-message’,
    ‘link_href’ => bp_get_send_private_message_link(),
    ‘link_title’ => __( ‘Send a private message to this user.’, ‘buddypress’ ),
    ‘link_text’ => __( ‘Private Message’, ‘buddypress’ ),
    ‘link_class’ => ‘send-message’,
    ) ) )

    #170380
    Henry
    Member

    This will help you. It shows you how to change most of the text labels and messages outputted by BuddyPress:

    https://codex.buddypress.org/developer/customizing/customizing-labels-messages-and-urls/

    #170358
    tayenewm
    Participant

    Please advise how I can change the text on the “Private Message” button.
    Currently using WP version 3.5.2 BuddyPress version 1.8.1 with the Avada theme by Themeforest.
    Here is a link to the site: http://69.195.124.60/~youngwo8/

    Thanks in advance,
    taye

    #168939

    In reply to: BuddyPress 1.8 Issue

    GhostPool
    Participant

    I already have the following in my custom BP functions file:

    if(bp_is_active('friends'))
    		add_action('bp_member_header_actions', 'bp_add_friend_button');
    
    	if(bp_is_active('activity') && bp_activity_do_mentions())
    		add_action('bp_member_header_actions', 'bp_send_public_message_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');
    	}

    As I say these buttons displayed in the theme in v1.7.3, they only disappear in v1.8. I think you’re right of course, it looks like a theme issue, I just cannot figure out what changed in v1.8 to stop these buttons working in my theme.

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