Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 12,676 through 12,700 (of 69,016 total)
  • Author
    Search Results
  • #240854
    BurkeKnight
    Participant

    I’m working on another site, and did as did on the first site. However, different theme (child).

    Added: wp-content/themes/flat-child/buddypress/members

    Now, whatever I do to register.php should show, but does not.
    Could this be due to having to set the child theme up this way:

    Enqueue both parent and child stylesheets
    Select this option if stylesheet link tags are hard-coded into the header template (common in older themes). This enables the child stylesheet to override the parent stylesheet without using @import.

    #240852
    shanebp
    Moderator

    You might want to google printf so that you understand what %s does.

    You can do this:
    printf( __( 'Your account was activated successfully! You can now <a href="%s">log in</a> with the username and password you provided when you signed up.', 'buddypress' ), 'http://mydomain.com/my-account/' ); ?>

    You can also replace the printf with:
    echo 'Your account was activated successfully! You can now <a href="http://mydomain.com/my-account/>log in</a> with the username and password you provided when you signed up.';

    #240851
    b2marketing
    Participant

    Hi Shane

    Thanks for quick reply.

    Its because I am using a badge plugin that requires Buddypress to be active before the badge plugin will work for bbPress.

    I will check in the bbPress forum. Thanks

    #240849
    shanebp
    Moderator

    Why are you using BuddyPress if you use Ultimate Member ?

    Have you considered turning off the xprofile component in BP?

    You might want to ask on bbPress forums about how to filter the author links in forums.

    shanebp
    Moderator

    afaik, The ‘Upload Image’ is not part of BuddyPress.
    So it is in your theme or some other plugin.

    #240836
    shanebp
    Moderator

    Please don’t double post. Your other thread has been deleted.

    Unless you are specifically using the bp-default theme, you should create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\activate.php
    And make your changes there.

    #240833
    shanebp
    Moderator

    So instead of a listing of all the groups, you want a dropdown?

    Create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\groups\groups-loop.php
    And replace the listing layout with a dropdown.

    #240830

    In reply to: SEO issues

    Henry Wright
    Moderator

    i edited the source code my self and added <form action=”#” which should sort the problem but by doing that everytime there is an update i will need to redo it myself

    Yeah, that’s not recommended because, as you say, you will need to redo after each BuddyPress update.

    #240828

    In reply to: SEO issues

    Henry Wright
    Moderator

    The W3C validator is saying you can’t have an empty form action attribute. So instead of:

    <form action=""

    you will need to provide a value like this:

    <form action="some-script.php"

    You could open a ticket on Trac or alternatively you could solve the problem by providing a value yourself. Check out the BuddyPress Template Hierarchy article for details on how to override templates.

    #240826
    oliver_rub
    Participant

    @danbp
    Sorry for not writing that earlier. It seems that I need to work on my problem description skills. I enabled the visual tab already through an addon called bbpress-enable-tinymce-visual-tab, but since I used that for quite some time I forgot that the visual tab is switched off by default.
    So my setting is: I have BuddyPress groups, with bbPress forums. I have the visual tab enabled (easier to use for non-techi persons). I have the @mentions feature enabled, but it only works in the text tab (the ‘quicktags’ argument on the bbPress link you gave me). So what I want is now somehow enable the @mentions feature also for the visual tab.
    I thought that @oakcreative has a similar approach, thats why I joined the thread. But I´m not sure how to replicate his approach with bbPress…

    #240825
    ct25
    Participant

    Today I found there was a member-loop.php added to my theme files. Could this be part of the problem? Should I add the member template file to the theme as well?

    <?php
    
    /**
     * BuddyPress - Members Loop
     *
     * Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_object_filter()
     *
     * @package BuddyPress
     * @subpackage bp-default
     */
    
    ?>
    
    <?php do_action( 'bp_before_members_loop' ); ?>
    
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?>
    
    	<div id="pag-top" class="pagination">
    
    		<div class="pag-count" id="member-dir-count-top">
    
    			<?php bp_members_pagination_count(); ?>
    
    		</div>
    
    		<div class="pagination-links" id="member-dir-pag-top">
    
    			<?php bp_members_pagination_links(); ?>
    
    		</div>
    
    	</div>
    
    	<?php do_action( 'bp_before_directory_members_list' ); ?>
    
    	<ul id="members-list" class="item-list" role="main">
    
    	<?php while ( bp_members() ) : bp_the_member(); ?>
    
    		<li>
    			<div class="item-avatar">
    				<a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
    			</div>
    
    			<div class="item">
    				<div class="item-title">
    					<a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a>
    
    					<?php if ( bp_get_member_latest_update() ) : ?>
    
    						<span class="update"> <?php bp_member_latest_update(); ?></span>
    
    					<?php endif; ?>
    
    				</div>
    
    				<div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div>
    
    				<?php do_action( 'bp_directory_members_item' ); ?>
    
    				<?php
    				 /***
    				  * If you want to show specific profile fields here you can,
    				  * but it'll add an extra query for each member in the loop
    				  * (only one regardless of the number of fields you show):
    				  *
    				  * bp_member_profile_data( 'field=the field name' );
    				  */
    				?>
    			</div>
    
    			<div class="action">
    
    				<?php do_action( 'bp_directory_members_actions' ); ?>
    
    			</div>
    
    			<div class="clear"></div>
    		</li>
    
    	<?php endwhile; ?>
    
    	</ul>
    
    	<?php do_action( 'bp_after_directory_members_list' ); ?>
    
    	<?php bp_member_hidden_fields(); ?>
    
    	<div id="pag-bottom" class="pagination">
    
    		<div class="pag-count" id="member-dir-count-bottom">
    
    			<?php bp_members_pagination_count(); ?>
    
    		</div>
    
    		<div class="pagination-links" id="member-dir-pag-bottom">
    
    			<?php bp_members_pagination_links(); ?>
    
    		</div>
    
    	</div>
    
    <?php else: ?>
    
    	<div id="message" class="info">
    		<p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p>
    	</div>
    
    <?php endif; ?>
    
    <?php do_action( 'bp_after_members_loop' ); ?>
    
    #240803
    BurkeKnight
    Participant

    I made:
    wp-content/plugins/buddypress/bp-templates/bke/buddypress/members/register.php

    Yet, any changes, do not show.

    #240801
    shanebp
    Moderator

    Create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\register.php
    and adjust the layout.

    #240799
    shanebp
    Moderator

    Look at function delete() and function save() in
    buddypress\bp-xprofile\classes\class-bp-xprofile-profiledata.php
    You’ll find before and after action hooks that you can use to delete or save profile data to usermeta.

    #240790

    In reply to: SEO for Member Pages

    Jayell12
    Participant

    Anybody? This must be a common need amongst people with buddypress sites? SEO-friendly profile pages should be a priority, no?

    #240787
    danbp
    Participant

    Yes, if you need that club appears everywhere where group is used by default !

    No, if you want to modify only ONE string
    https://buddypress.org/support/topic/help-changing-contact-in-profile/#post-233027

    #240786
    danbp
    Participant

    Hi rené

    when xprofile component is activated, the only field who should appear on register page is Name (in Base group field). There is no setting for this because it is mandatory !

    Check visibility settings of Name first, and deactivate contact-form7 and see if field comes back.

    User Extended Profiles

    #240779
    r-a-y
    Keymaster

    @nithin270 @dineshravajani07 – Please help us debug bp_verify_nonce_request():
    https://buddypress.trac.wordpress.org/browser/tags/2.3.1/src/bp-core/bp-core-functions.php#L2005

    Judging by what you are doing, it appears that function is returning false.

    Can you debug that function and find out whereabouts the function is failing for you?

    Are your sites behind a reverse proxy?

    #240775
    David Cavins
    Keymaster

    Your best best is to create a new language file, then you can customize nearly all of the strings:

    Customizing Labels, Messages, and URLs

    #240770

    In reply to: Member import

    David Cavins
    Keymaster

    Hi Zoe-

    My memory is that users need to have usermeta with the key last_activity and a value like 2015-06-16 13:29:04 to reliably appear in the members directory. You can “repair” this value once the users are imported by visiting (from wp-admin) Tools > BuddyPress then select Repair user "last activity" data. In fact, it probably wouldn’t hurt to run all of those repair tools one at a time since you’ve got a bunch of untracked users.

    #240757
    danbp
    Participant
    #240755
    oliver_rub
    Participant

    @danbp
    Thanks for your suggestion Dan.
    I already tried that. There are two problems with that snippent. The first being that the is_bbpress() is returning false when i access bbpress forums in a buddypress group (theme: firmasite). Thats easy to solve through eliminating that check.
    The second problem is that currently the @mentions system isn’t working for the visual tab in tinyMCE, it works only for the text tab. Also discussed briefly between Paul Gibbs and Unsal Korkmaz here: https://buddypress.org/support/topic/buddypress-2-1-patsy/ (see comments)

    One of the requirements for our platform is that users can use those fancy buttons in the visual tab, but having the mentions autocomplete only in the text tab is a little bit ..you know…unexpected for users 😉
    Thus i hoped i can somehow manage to reproduce the approach of OakCreative, but I havent been successful.
    Maybe also updating the at.js is a way to go, but the jump from the used version (0.5.2) to the current (1.3.0) seems to be to big to work just with replacing the script.
    So this is my current knowledge about this topic. Does anyone know how to proceed? Or should i create a ticket for this, so that the devs can have a look into this in future releases? I havent found any ticket dealing with exactly this.

    #240754
    dinesh.ravajani07
    Participant

    Hello All,

    I am also facing the same problem with bp_verify_nonce_request() function.

    It proper works on my Localhost but on my live server its not working properly

    In File : bp-members-screen.php file
    } elseif ( isset( $_POST[‘signup_submit’] ) && bp_verify_nonce_request( ‘bp_new_signup’ ) ) {

    this will not work.. but if i will replace the above code with the below code then it will work

    Below code will work properly
    } elseif ( isset( $_POST[‘signup_submit’] ) || bp_verify_nonce_request( ‘bp_new_signup’ ) ) {

    I know that if i will make changes in Buddypress core files then after update my changes will be lost.

    Is any Hook are available so that i can use in my functions.php file.
    Please help me someone. Its urgent and i want to complete my project as soon as possible.

    Thanks

    #240747
    VentureCore
    Participant

    OK, so here’s the solution…

    <?php /* Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_object_filter() */ ?>
    <?php do_action( 'bp_before_members_loop' ) ?>
    
    <?php
    if ( bp_ajax_querystring( 'members' ) ==""){
    $queryString = "type=alphabetical&action=alphabetical&page=1";}
    else {$queryString = bp_ajax_querystring( 'members' );}
    ?>
    
    <?php if ( bp_has_members( $queryString) ) : ?>

    Depending on how/if your theme developer has written their members-loop.php you will want to replace these two entries…

    <?php do_action( 'bp_before_members_loop' ); ?>
    
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?>

    This not only gives you the ability to have buddypress default to listing names Alphabetically, it also maintains your ability to sort ‘Last Active’ and ‘Newest Registered’. This should be the default way to display the members directory. IMOP

    Now, if you want to then change the alphabetical listing default to return names by the lastname of your members you would add the following code to your theme’s function.php file. Preferably to the child theme’s function.php file.

    /** Sort alphabetical name listings by lastname */
    function alphabetize_by_last_name( $bp_user_query ) {
        if ( 'alphabetical' == $bp_user_query->query_vars['type'] )
            $bp_user_query->uid_clauses['orderby'] = "ORDER BY substring_index(u.display_name, ' ', -1)";
    }
    add_action ( 'bp_pre_user_query', 'alphabetize_by_last_name' );

    Good luck!

    #240741
    danbp
    Participant
Viewing 25 results - 12,676 through 12,700 (of 69,016 total)
Skip to toolbar