Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 5,751 through 5,775 (of 68,969 total)
  • Author
    Search Results
  • #279094
    dbupconseil
    Participant

    I would like not to display the site administrators in the buddypress members page, as well as a certain group of members. Is it possible ?

    #279092
    superp777
    Participant

    Hello everyone,

    Here’s something we’ve been struggling with over the last week.
    We’re using MemberMouse plugin for our membership site to create different levels of access.
    MemberMouse, therefore, locks specific pages.

    The problem is that we’re no longer able to lock a page when we assign it as BuddyPress core page.

    MemberMouse support told us this is how their plugin is checking the page.

    Any ideas/suggestions?

    Thanks a lot!

    Anonymous User 16484011
    Inactive

    Hi !

    Prashant,

    As per your above suggestion, I find the above code but as I find it’s not exact as you wrote above. But I replace as per my poor coding knowledge but it’s not work.

    Here is the code of single.php file from location
    “wp-content\plugins\youzer\includes\public\templates\members\single\messages”

    <?php
    /**
     * BuddyPress - Members Single Message
     */
    
    ?>
    <div id="message-thread">
    
    	<?php
    
    	/**
    	 * Fires before the display of a single member message thread content.
    	 *
    	 * @since 1.1.0
    	 */
    	do_action( 'bp_before_message_thread_content' ); ?>
    
    	<?php if ( bp_thread_has_messages() ) : ?>
    
    		<div id="message-recipients">
    
    			<div class="highlight-icon"><i class="far fa-comments"></i></div>
    			
    			<div class="highlight">
    
    				<h2 id="message-subject"><?php bp_the_thread_subject(); ?></h2>
    				
    				<span class="highlight-meta">
    					
    				<?php if ( bp_get_thread_recipients_count() <= 1 ) : ?>
    
    					<?php _e( 'You are alone in this conversation.', 'youzer' ); ?>
    
    				<?php elseif ( bp_get_max_thread_recipients_to_list() <= bp_get_thread_recipients_count() ) : ?>
    
    					<?php printf( __( 'Conversation between %s recipients.', 'youzer' ), number_format_i18n( bp_get_thread_recipients_count() ) ); ?>
    
    				<?php else : ?>
    
    					<?php printf( __( 'Conversation between %s.', 'youzer' ), bp_get_thread_recipients_list() ); ?>
    
    				<?php endif; ?>
    
    				</span>
    
    			</div>
    			<div class="highlight-button">
    				
    			<a class="button confirm" href="<?php bp_the_thread_delete_link(); ?>"><i class="fas fa-trash-alt"></i><?php _e( 'Delete', 'youzer' ); ?></a>
    
    			</div>
    			<?php
    
    			/**
    			 * Fires after the action links in the header of a single message thread.
    			 *
    			 * @since 2.5.0
    			 */
    			do_action( 'bp_after_message_thread_recipients' ); ?>
    		</div>
    
    		<?php
    
    		/**
    		 * Fires before the display of the message thread list.
    		 *
    		 * @since 1.1.0
    		 */
    		do_action( 'bp_before_message_thread_list' ); ?>
    
    		<?php while ( bp_thread_messages() ) : bp_thread_the_message(); ?>
    			<?php bp_get_template_part( 'members/single/messages/message' ); ?>
    		<?php endwhile; ?>
    
    		<?php
    
    		/**
    		 * Fires after the display of the message thread list.
    		 *
    		 * @since 1.1.0
    		 */
    		do_action( 'bp_after_message_thread_list' ); ?>
    
    		<?php
    
    		/**
    		 * Fires before the display of the message thread reply form.
    		 *
    		 * @since 1.1.0
    		 */
    		do_action( 'bp_before_message_thread_reply' ); ?>
    
    		<form id="send-reply" action="<?php bp_messages_form_action(); ?>" method="post" class="standard-form">
    
    			<div class="message-reply-content">
    				
    				<?php bp_loggedin_user_avatar( 'type=thumb&height=50&width=50' ); ?>
    
    				<?php
    
    				/**
    				 * Fires before the display of the message reply box.
    				 *
    				 * @since 1.1.0
    				 */
    				do_action( 'bp_before_message_reply_box' ); ?>
    
    				<textarea name="content" id="message_content" rows="15" cols="40" placeholder="<?php _e( 'Write a reply ...', 'youzer' ); ?>"></textarea>
    
    				<?php
    
    				/**
    				 * Fires after the display of the message reply box.
    				 *
    				 * @since 1.1.0
    				 */
    				do_action( 'bp_after_message_reply_box' ); ?>
    			
    			</div>
    
    			<div class="submit">
    				<button type="submit" name="send" id="send_reply_button"><i class="fas fa-paper-plane"></i><?php esc_attr_e( 'Send', 'youzer' ); ?></button>
    			</div>
    
    			<input type="hidden" id="thread_id" name="thread_id" value="<?php bp_the_thread_id(); ?>" />
    			<input type="hidden" id="messages_order" name="messages_order" value="<?php bp_thread_messages_order(); ?>" />
    			<?php wp_nonce_field( 'messages_send_message', 'send_message_nonce' ); ?>
    
    		</form><!-- #send-reply -->
    
    		<?php
    
    		/**
    		 * Fires after the display of the message thread reply form.
    		 *
    		 * @since 1.1.0
    		 */
    		do_action( 'bp_after_message_thread_reply' ); ?>
    
    	<?php endif; ?>
    
    	<?php
    
    	/**
    	 * Fires after the display of a single member message thread content.
    	 *
    	 * @since 1.1.0
    	 */
    	do_action( 'bp_after_message_thread_content' ); ?>
    
    </div>
    

    I replace the line no.49 which is

    <a class="button confirm" href="<?php bp_the_thread_delete_link(); ?>"><i class="fas fa-trash-alt"></i><?php _e( 'Delete', 'youzer' ); ?></a>

    with your code

    <?php if(current_user_can('manage_options')){?>
    <a>" title="<?php esc_attr_e( "Delete Message", "buddypress" ); ?>"><?php _e( 'Delete', 'buddypress' ); ?></a>
    <?php }?>

    But still not got the solution.

    Regards

    #279086
    rosyteddy
    Participant

    Buddypress is about social networking. For any social net, Favoriting or Liking is a core feature. Favoriting or liking any content, be it Notes or Blog, photo or status, whatever, should be done from Activity / Stream or the content itself. I think it is somewhere in Buddypress Tickets but was never done. Commenting was also NOT both ways at the beginning, later it was developed.

    ” one can easily favorite a blog post activity and then can see it in My favorites section.” – I wish one could easily. But as I said, “”You read a blog post after hitting a link to the blog post from the activity stream. After reading the FULL blog post, you decide you like it / you would want to read it again. Now, you come back to the Activity page – by now there has been other activities like Comments, Photos, status etc etc and the activity stuff for the blog post has gone lost from view. What do you do ?”” Its not easy at all.

    I close this as it seems there is no solution so far. But is worth noting BP is losing out to all other social scripts, mainly becoz of this 3 reasons : one is this, other two are dated status box and lack of any good media plugin.

    #279085
    donniewalden
    Participant

    Also in addition – the message is sent to the user’s email address outside of the website buddypress system, and that send the message correctly too. It’s only the message displayed in the actual message, since it’s showing it in the inbox feed.

    Prashant Singh
    Participant

    It is from a third party plugin https://github.com/bphelp/bp-remove-profile-links, not BuddyPress. It seems there is no active development there from the last 5 years so you are safe to do this in the plugin, it will not be updated.

    Prashant Singh
    Participant

    Hi,

    Please confirm if you are using this plugin https://wordpress.org/plugins/learnpress-buddypress/ or not?

    Also when you install BuddyPress then choose template pack ‘legacy’ instead of nouveau in its settings(Settings-> BuddyPress-> Options) and then install learn press and this bridge plugin.

    It seems like they are not compatible with the new template pack of BuddyPress.

    Thanks

    #279079

    In reply to: Lost setting

    Prashant Singh
    Participant

    In the Customize section please go to BuddyPress Nouveau -> General BP Settings. There you will find the option.

    Thanks

    #279078
    Prashant Singh
    Participant
    #279076

    In reply to: Group creation

    Prashant Singh
    Participant

    Hi,

    It’s sad to hear that BuddyPress does not meet your requirements. I have used it so many times but never saw like this what you have mentioned. Is your site in the Spanish language where you tried installing BuddyPress?

    Thanks

    #279075

    In reply to: who clicked on my link

    Prashant Singh
    Participant
    #279071
    Prashant Singh
    Participant

    Hi,

    I think giving a favorite button on each blog post is not what comes under BuddyPress. It’s a default WordPress thing and when they will have this functionality certainly at that time devs check if it can be synced with BP Favorite. But the comment was always there on blog posts.

    Also, BuddyPress does allow marking favorite activities so one can easily favorite a blog post activity and then can see it in My favorites section.

    And for the blog post favorite, we can use a third party plugin for now.

    Thanks

    Prashant Singh
    Participant

    Hi,

    That is a paid plugin so I do not have access to the code.

    Can I put your above code in plugin’s directory’s path “\wp-content\plugins\youzer\includes\public\templates\members\single\messages” single.php file ?

    If the file is there then try to find this code <a class="button confirm" href="<?php bp_the_thread_delete_link(); ?>" title="<?php esc_attr_e( "Delete Message", "buddypress" ); ?>"><?php _e( 'Delete', 'buddypress' ); ?></a>

    and then replace it with this code:

    <?php if(current_user_can('manage_options')){?>
    <a>" title="<?php esc_attr_e( "Delete Message", "buddypress" ); ?>"><?php _e( 'Delete', 'buddypress' ); ?></a>
    <?php }?>

    Thanks

    #279063
    Prashant Singh
    Participant

    Hi,

    Please check this plugin https://wordpress.org/plugins/favorites/

    Buddypress have favorite functionality for activities. Posts are default from WordPress. Also post creation activities are there just need to enable options in BuddyPress settings.

    Thanks

    #279055
    Prashant Singh
    Participant

    It’s because BuddyPress shows active members only so as soon as they will login on the site they will be listed. If you want to do it manually then please install User switching plugin and switch to each members account one by one and they will be listed.

    Thanks

    #279054
    randomuser2000
    Participant

    Haven’t done anything. Just installed BuddyPress and deleted the Ultimate Member. Everything is alright now except BuddyPress Members page doesn’t list old members just the new registered or password reset ones. In admin panel Users i can see all the users though.

    #279049
    jameswee
    Participant

    i dont know how to delete the buddypress in AWS ?
    Anyone can help ?
    after i login using putty, always say permission denial

    #279048
    randomuser2000
    Participant

    Haven’t done anything. Just installed BuddyPress and deleted the Ultimate Member. Everything is alright now except BuddyPress Members page doesn’t list old members just the new registered or password reset ones. In admin panel Users i can see all the users though

    #278917
    keshabee
    Participant

    Hi @prashantvatsh,
    I noticed when i used the code it fixed the buddypress avatar images only on the bp-profiles of the multisite.
    As the biography in the author biography of the single-post,page and comments on various users are still broken
    Please can you assist me, is there a way this can be fixed.

    Here are screen shots;
    https://postimg.cc/2q4GBg8H
    https://postimg.cc/FkfJ0JV9
    https://postimg.cc/LYPpf9gc
    https://postimg.cc/8s1GsSP0

    #278473

    Hi @shanebp
    Thanks for your recommandations, you’re right.
    I’ve made it working by putting my snippet in bp-custom.php like this:

    
    /**
    * Buddypress template stack adaptation for Blade Sage.io templating
    * @link 
    * example @link http://www.generalthreat.com/2013/08/grappling-with-bp-theme-compatibility/
    *
    * initial one was :
    * /app/public/app/themes/sage/resources/buddypress
    */
    
    // will return something like '/app/public/app/themes/sage/resources/views';
    
    function md_bp_blade_register_template_location() {
        // return STYLESHEETPATH . '/views/buddypress/';
        return TEMPLATEPATH . '/views';
    }
    
    // replace bp template parts syntaxe with the template overload from sage Blade types
    // see: http://hookr.io/functions/bp_get_template_part/
    function md_blade_replace_template( $templates, $slug, $name ) {
    
        // Overload the bp template
    	
    	$templates = array(); // empty it
     	
        if ( isset( $name ) ) {  
            $templates[] = $slug . '-' . $name . '.blade.php'; 
        }
        else {
            $templates[] = $slug . '.blade.php';
        }
    
        //print_r($templates);
        return $templates;
    }
    
    add_action( 'bp_init', function () {
    
    	//error_log("bp init loaded");
    
    	// custom url stacks for blade '/views' folder
    	// working but Blade Syntax is not interpreted ...
    	
        if( function_exists( 'bp_register_template_stack' ) ) {
            bp_register_template_stack( 'md_bp_blade_register_template_location', 1 );
        }
        
        // we also have to filter the render file extension (.blade.php) 
       // for Buddypress components tpl parts
    	add_filter( 'bp_get_template_part', 'md_blade_replace_template', 10, 3 );
    
    	// http://buddypress.wp-a2z.org/oik_api/bp_locate_template/
    	//add_action( 'bp_locate_template', 'md_blade_locate_template', 1, 6);
    
    });

    But this technique doesn’t work with bp ajax for example when bp groups loop is reloaded with ajax

    I’m sure there is something to do with bp_locate_template() or bp_locate_template_and_load()
    to inject correctly my buddypress templates in the_content from mytheme/resources/views/buddypress (instead of mytheme/resources/buddypress/)

    By the way i’m using the Sage starter theme https://roots.io/sage/

    Any idea?

    #272099
    rastislavkr
    Participant

    Hello @djpaul, thank you for your willingness to help. I will try to explain my problem. My site is under construction only.

    1.When I was not using Ultimate Membership Pro, the registration page was from the BuddyPress plugin (https://drive.google.com/file/d/1tXTGRUKgWKCCzTjc1o3F4fSw2pWCJqeT/view?usp=sharing) BuddyPress registration page was also set up in admin (https://drive.google.com/file/d/1p5_4Dn9aqLEnubDaJ4W7Ukah-L0uCN1N/view?usp=sharing). Everything was ok.
    2.After installing the Ultimate Membership Pro plugin, I changed BuddyPress registration page settings to Ultimate Membership Pro plugin registration page (https://drive.google.com/file/d/1V0nv7kiF0myE8axrd1AZ33t-Xh7tN8ja/view?usp=sharing). In the Ultimate Membership Pro settings, I set up the same register page (https://drive.google.com/file/d/1asQ9jbL761iyWq48ERHDNSUjMLdCdgTs/view?usp=sharing). The registration page should now be the Ultimate Membership Pro plugin registration page (https://drive.google.com/file/d/1ux6VQxQH29Q3DTuII9KzxoVbA2ZRpq2n/view?usp=sharing). However, it is very difficult to get to it. Instead, Buddy Press’s sign-up registration page still appears (https://drive.google.com/file/d/1EHKyh5kGsQv1xBNsRJFw2vYB9bImI8gf/view?usp=sharing). But with the URL corresponding to the Ultimate membership Pro registration page (https://drive.google.com/file/d/1EHKyh5kGsQv1xBNsRJFw2vYB9bImI8gf/view?usp=sharing).

    I’ve tried everything else setting, even turning off other plugins – it did not help. Well thank you.

    #269814
    Antipole
    Participant

    @leog371 – thanks for trying to help. That did not do it, however. I am copying below the html presently generated in the hope this might help.
    My issue is that the two user names in the list of recent members (John – Paris & Mile Peregrine) are linked to their profiles, but the links only colour when hovering over the links. I need them to be coloured all the time, as my site uses the colouring as visual clue that it is clickable.

    The colour required is: color: #05a9c5;

    thanks

    <aside id="bp_core_members_widget-4" class="widget widget_bp_core_members_widget buddypress widget"><h3 class="widget-title"><a href="http://testsite.xxx.org.uk/members/">Welcome to our new members</a></h3>
    		
    			<div class="item-options" id="members-list-options">
    				<a href="http://testsite.xxx.org.uk/members/" id="newest-members" class="selected">Newest</a>
    				<span class="bp-separator" role="separator">|</span>
    				<a href="http://testsite.xxx.org.uk/members/" id="recently-active-members" >Active</a>
    
    				
    			</div>
    
    			<ul id="members-list" class="item-list" aria-live="polite" aria-relevant="all" aria-atomic="true">
    
    				
    					<li class="vcard">
    						<div class="item-avatar">
    							<a href="http://testsite.xxx.org.uk/members/paris/" class="bp-tooltip" data-bp-tooltip="John - Paris"><img src="//www.gravatar.com/avatar/69299ce42f215930a2181c49f1eb4bef?s=50&r=g&d=mm" class="avatar user-119-avatar avatar-50 photo" width="50" height="50" alt="Profile picture of John - Paris" /></a>
    						</div>
    
    						<div class="item">
    							<div class="item-title fn"><a href="http://testsite.xxx.org.uk/members/paris/">John - Paris</a></div>
    							<div class="item-meta">
    																	<span class="activity" data-livestamp="2017-12-17T23:51:09+0000">registered 1 week, 3 days ago</span>
    															</div>
    						</div>
    					</li>
    
    				
    					<li class="vcard">
    						<div class="item-avatar">
    							<a href="http://testsite.xxx.org.uk/members/peregrin/" class="bp-tooltip" data-bp-tooltip="Mike - Peregrine"><img src="//www.gravatar.com/avatar/0e516af4e69f0befa893934cbd29d023?s=50&r=g&d=mm" class="avatar user-118-avatar avatar-50 photo" width="50" height="50" alt="Profile picture of Mike - Peregrine" /></a>
    						</div>
    
    						<div class="item">
    							<div class="item-title fn"><a href="http://testsite.xxx.org.uk/members/peregrin/">Mike - Peregrine</a></div>
    							<div class="item-meta">
    																	<span class="activity" data-livestamp="2017-12-02T18:55:20+0000">registered 3 weeks, 4 days ago</span>
    															</div>
    						</div>
    					</li>
    
    				
    			</ul>
    
    			<input type="hidden" id="_wpnonce-members" name="_wpnonce-members" value="ab1b45abd0" />
    			<input type="hidden" name="members_widget_max" id="members_widget_max" value="2" />
    </aside>
    
    #278940

    In reply to: BP and Polylang

    Prashant Singh
    Participant

    I have not tested it yet but after the translation please try to regenerate the mails.

    Go to wp-admin > Tools > BuddyPress and run the “Reinstall emails” tool.

    Reference: https://buddypress.org/support/topic/translation-email/

    Prashant Singh
    Participant

    Hi,

    You can also test hook do_action( ‘bp_complete_signup’ ); You can find the hooks related ton registration here buddypress/bp-members/screens/register.php

    Thanks

    #278938

    In reply to: Buddypress groups

    Prashant Singh
    Participant

    Hi,

    This is not the case with BuddyPress till date if users are subscriber then they will be a normal member. Please test if any other plugin is creating the issue there.

    Thanks

Viewing 25 results - 5,751 through 5,775 (of 68,969 total)
Skip to toolbar