Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 16,901 through 16,925 (of 94,565 total)
  • Author
    Search Results
  • #248280
    Henry Wright
    Moderator

    You can modify your theme to add “directions”. Check out the Template Hierarchy article for more info.

    #248279
    Henry Wright
    Moderator
    #248272
    peter-hamilton
    Participant

    lol…. you need to copy the folder “buddypress” to your root folder.

    Find “buddypress” folder here.

    plugins/buddypress/bp-templates/bp-legacy/buddypress

    Now you need to read up on how to change these template files for your need, only these files inside this folder should be changed.

    There is no buddypress theme, all wordpress themes are buddypress themes, and the only way to make something unique is through making a child theme of a wordpress site first, then adding buddypress css code and templates etc.

    Good luck mate, here is a sample of what I am doing with buddypress…
    My Buddypress site | Onlijn.com

    #248271
    peter-hamilton
    Participant

    Best Wishes Buddycrew.

    #LongLiveBuddyPress

    mrjarbenne
    Participant

    I’m trying to match the style of the twentyfourteen companion stylesheet on @imath’s awesome wp-ideastream plugin. As you can see here, the activity stream extends the full width of the page: http://thepln.ca/, while the ideastream page is much narrower: http://thepln.ca/ideastream/

    I’ve tried messing around with the width:

    #wp-idea-stream {
        width: 90%;
        padding: 20px;
    }

    But that really only gets me partially there. I’m hoping I can ride on the coattails of all of @hnla’s great work to apply the style from templates like activity and members, over to the template for ideastream. Is there a simple way to do this? The ideastream plugin allows you to take a WP template like page.php and rename it ideastream.php, allowing for customization. Could I call a buddypress div id in something like that and magically apply the BP style?

    Any direction would be greatly appreciated.

    #248260
    #248258
    wbfz
    Participant

    Happy New Year to the BuddyPress community. Thanks to all those who supported other members with issues and conflicts troubleshooting in the previous year. May this year bring forth more critical improvements to the BuddyPress plugin.

    Special thanks to:
    @johnjamesjacoby
    @djpaul
    @danbp
    @modemlooper
    @mercime
    @shanebp
    @imath
    @boonebgorges
    @bowromir
    @hnla better known as Hugo
    @sbrajesh
    @netweb
    @rogercoathup
    @baden
    @cnorris23
    @dcavins
    @espellcaste
    @mrjarbenne
    @myg0t
    @r-a-y
    @slaffik
    @timrourke
    @turnpiece
    @wolfhoundjesse

    #LongLiveBuddyPress

    Hendrik Lersch
    Participant

    Have found the solution by myself. If anyone interested, here’s the code i have added to my bp-custom.php. i think it works as well in the themes functions.php.

    function remove_wpautop_from_buddypress() {
    	if( bp_current_component() ) {
    		remove_filter( 'the_content', 'wpautop', 99 );
    	}
    }
    add_action('bp_init', 'remove_wpautop_from_buddypress');

    bp_current_component() is true, if you be on a buddypress page, so wpautop is only disabled there.
    But i still wonder, why it’s necessary to do something like that. šŸ˜‰

    #248241
    ying-sun
    Participant

    hi there. i have a beginner’s question. (and i mean BEGINNER begginer—new to both buddypress and trying to use ajax.)

    on member pages, is it possible to have the main nav (activity, profile, notifications, messages, etc.) make an ajax call to change ‘pages’ without having to reload everything, and then do the same with the subnav? so clicking on ‘profile’ would change the subnav to ‘view’, ‘edit’, ‘change profile photo’, ‘change cover image’, and change the main content section to the ‘view’ profile page, all without having to reload the entire page. then clicking on ‘change . then clicking on anything in the subnav would change the main content section without reloading the entire page.

    is there a (relatively) easy way to do this, either natively within buddypress or using a plugin?

    thanks, buddypress community!

    Foofar
    Participant

    Using WP 4.4 and Buddypress 2.4.3
    I want to import a 300 strong membership group consisting of teachers (currently in.csv) and then create a “Find a Teacher” directory based on UK postcodes. Can this be done within Buddypress or is it best done using WP plugins? Is there a directory plugin specifically for members of a Buddypress community that can find their classes based on postcode?

    #248238
    Joshua Blevins
    Participant

    Do you have a fully custom BuddyPress theme that is not a child theme? I’d really like to look at the code and figure it out under the hood.

    Hendrik Lersch
    Participant

    Hello, i’m a beginner when it comes to buddypress, so i hope anybody here can help me. I try to style my own BP theme and have noticed a curiously behavior.

    Is it normal that Buddypress routes all the .php templates through WP’s the_content() function?
    Because I now have the problem, that the wpautop() function putting empty paragraph tags (<p></p>) everywhere in my code.

    Every double line break inside the html code transforms into a paragraph and every normal line break into an unwanted <br> tag. Also every HTML Comment like <!– #item-header-avatar –> will put into a paragraph tag.

    I’ve had this from the beginning, so i dont’t think i have done a mistake. Can I fix this in some way? I could disable wpautop(), but i need it for normal pages and articles. Please help šŸ™‚

    I use WP 4.4 and BP 2.4.3.

    Vineeth Chandran
    Participant

    I am not a tech buff but very much interested in playing with codes and hacks. I am currently developing an offline website (developing locally in a Wamp server). It is a community based website built in WordPress 4.4 and Buddypress 2.4.3 and a forum with bbPress 2.5.8 (and a premium theme that support both BuddyPress and bbPress). I am planning to use BuddyPress Verified plugin to show a verified badge in the profile pages of certain top users. My question is, is it possible to show those verified badges in their topics and replies pages of bbPress forums?

    One more question – how can I show the verified badges next to their username, just like in Facebook pages instead of avatars? And adding a tooltip when we put the mouse pointer above the badge?

    Thanks in advance

    #248227
    shanebp
    Moderator

    You don’t need to touch the members-loop template file.
    Try putting this in your theme/functions.php or in plugins/bp-custom.php

    function add_age_to_members_loop() {
        $field_content = bp_get_member_profile_data( 'field=Age' );
        if( $field_content != false )
          echo "Age: " . $field_content;
    }
    add_action( 'bp_directory_members_item', 'add_age_to_members_loop' );
    onix07
    Participant

    Hello I have a problem disappear buttoms profile private message and the public , after the addition of friends. The only problem is my theme in the standard all right. buddypress 2.4.3 theme customizrscreenshot1scr2

    #248221
    Hugo Ashmore
    Participant

    For why?
    What’s the issue you’re having?

    You should have control of your templates now and can modify as you need; the master WP template that would be used is generally page.php copy that to /buddypress/ and rename to buddypress.php to have control of this top level template.

    #248216
    nowfoods123
    Participant

    Hi,

    I’m new to wordpress/buddypress and I’m having trouble displaying field names.
    I have a field named “Age:” and using the following code:

    bp_member_profile_data( 'field=Age:' );

    in the members-loop file, the members age is displayed. I would like to add “Age: ” in front of the number, I searched and found this thread:

    https://buddypress.org/support/topic/displaying-profile-field-name-in-member-loop/

    but all the suggestions leave me with a blank members page???
    If I remove the opening and closing php tags for the bp_member_profile_data section and use

    <p>Age: <php bp_member_profile_data( 'field=Age:' );?><p>

    I get the following under all profiles despite only one having an age value set:

    /*** * 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’ ); */

    Age:

    the one profile with an age value set isn’t shown.
    Can anyone see where I’m going wrong with this?

    sakthi31
    Participant

    Per the documentation available at https://bpdevel.wordpress.com/2015/04/17/a-good-way-to-shape-the-future-of-buddypress-attachments-is-to-take-care-of-avatars/, tried disabling the new UI for avatar by adding the filter add_filter( ‘bp_avatar_is_front_edit’, ‘__return_false’ ) in bp-custom.php

    After adding this filter, the new UI is disabled. However, after uploading the file, the crop is not working. I see that the jcrop js and css are loaded. should any other css / js needed to be loaded? please help troubleshoot.

    #248211
    GreyWyvern
    Participant

    That’s where it is. A few lines of context code included:

    ...
    
    				<label for="signup_password_confirm"><?php _e( 'Confirm Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label>
    				<?php do_action( 'bp_signup_password_confirm_errors' ); ?>
    				<input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" class="password-entry-confirm" <?php bp_form_field_attributes( 'password' ); ?>/>
    
    				<?php do_action( 'bp_account_details_fields' ); ?>
    
    <!-- Test question -->
    <label for="signup_test">Challenge question? <?php _e( '(required)', 'buddypress' ); ?></label>
    <?php do_action( 'bp_signup_test_errors' ); ?>
    <input type="text" name="signup_test" id="signup_test" value="" />
    
    			</div><!-- #basic-details-section -->
    
    			<?php do_action( 'bp_after_account_details_fields' ); ?>
    
    ...

    From your responses I’m getting the feeling that what I’m doing should be working, but it isn’t. I’m probably overlooking something simple. 😐

    #248209
    GreyWyvern
    Participant

    I activated the twentythirteen theme and uploaded the edited register.php file here:

    /wp-content/themes/twentythirteen/buddypress/members/register.php

    I double checked to make sure that the register.php file I uploaded was from:

    \wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\register.php

    … and also that my challenge question code was included. It’s inserted at line 51 of the file as follows:

    <!-- Test question -->
    <label for="signup_test">Challenge question? <?php _e( '(required)', 'buddypress' ); ?></label>
    <?php do_action( 'bp_signup_test_errors' ); ?>
    <input type="text" name="signup_test" id="signup_test" value="" />

    After clearing any caching plugins, the challenge question DID NOT appear on the signup form while the twentythirteen theme was active. I have reverted back to the blackfyre template for now.

    Any thoughts?

    #248208
    shanebp
    Moderator

    I’m not sure where I would put the bp_signup_validate code you linked. Some specific file?

    It can go in your theme/functions.php or in plugins/bp-custom.php

    Re overload register:
    Make sure you start with this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\register.php

    I just did an overload via this path:
    /wp-content/themes/twentythirteen/buddypress/members/register.php
    And the changes appear, so the overloaded template is being loaded.

    You might try switching to a WP theme like 2013 – if the issue disappears, that’s a clue.

    #248207
    GreyWyvern
    Participant

    Thank you for the reply. Just so you know, I am an experienced PHP coder, but I’m quite unfamiliar with the WP and Buddypress plugin API, which is why I was adding the challenge question manually right in the PHP files before. So I’m not sure where I would put the bp_signup_validate code you linked. Some specific file?

    I copied my edited register.php (with the challenge question) to the following folder of the theme we’re using:

    /wp-content/themes/blackfyre/buddypress/members/

    There was no file named register.php in this directory previously.

    After clearing any caching plugins, the signup form still only displays the default questions. You can see it here: http://realmsunchained.com/user-registration/

    There should be an additional field under the “Confirm Password” field. Before Buddypress 2.4.x just editing the files I mentioned in the OP caused instant changes to this page. Now the registration form seems to be drawing its code from somewhere completely different.

    Am I going wrong somewhere?

    #248206
    shanebp
    Moderator

    Unless you are explicitly using the bp-default theme, you should only be using a template overload of this file:
    \wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\register.php

    There is no need to touch this file:
    \wp-content\plugins\buddypress\bp-members\bp-members-screens.php

    You can add your challenge to the overload template and then check it using the bp_signup_validate hook.
    Example: https://code.hyperspatial.com/all-code/buddypress-code/buddypress-signup-form-hook/

    #248204
    ying-sun
    Participant

    hi. i want to customize how buddypress displays some of its information. does buddypress use shortcodes? i’ve seen some third-party plugins that add shortcodes for certain things, but have been surprised to see nothing about a ‘core’ set of shortcodes.

    if buddypress does not have native shortcodes, can people recommend third-party plugins that add shortcode functionality to buddypress?

    examples:

    [bp_member_searchbox]
    [bp_user_group_memberships]
    [bp_own_profile]

    #248203
    GreyWyvern
    Participant

    I am using WP 4.3.1 installed as a directory in root. In order to combat spam registrations, I have been manually editing the register.php files and bp-members-screens.php files each time I update Buddypress to add a challenge field with a simple question. These were the files I was editing:

    To add the challenge field:
    \wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\register.php
    \wp-content\plugins\buddypress\bp-themes\bp-default\registration\register.php

    To accept the incoming form data:
    \wp-content\plugins\buddypress\bp-members\bp-members-screens.php

    Each Buddypress upgrade would revert these files to the default, and I would manually add the challenge question again. This worked for almost two years, and throughout several Buddypress upgrades, up to and including Buddypress 2.3.x.

    Recently I upgraded from 2.3.x to Buddypress 2.4.3. This was the ONLY change I made. I did not upgrade any themes or other plugins. I went to edit the files above, only to find that editing them no longer affects the registration page. I cleared caches, then disabled all of my caching plugins and even deleted the two register.php files above from the server, and the registration form was not affected. With my manual code addition to bp-members-screens.php that REQUIRES the challenge field text to be present, forms with no challenge field submitted were succeeding. So then I deleted bp-members-screens.php from the server entirely, and registrations were STILL succeeding.

    This leads me to believe that in Buddypress 2.4.x the registration page is generated and processed in a different way, and the files above are no longer used. If so, where can I go to edit them now?

    Thanks in advance for your help.

Viewing 25 results - 16,901 through 16,925 (of 94,565 total)
Skip to toolbar