Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 22,776 through 22,800 (of 94,544 total)
  • Author
    Search Results
  • #227775
    gcskye
    Participant

    Hey,

    Thank you for the response!

    I’m using this theme:
    http://themeforest.net/item/keronchong-band-music-event-woocommerce-theme/6461791?WT.oss_phrase=&WT.oss_rank=1&WT.z_author=Tokokoo&WT.ac=search_list&ref=GCSkye

    As for plugins, I have quite a few installed. If I disable all of them other than woocommerce and buddypress, the avatars have the same issue. The issue is solved by removing buddypress.

    The avatars are broken everywhere (blog posts, woocommerce product reviews, admin panel) but on the buddypress profile page.

    Edit:
    I should mention, the theme developer has mentioned they did not do any work with making the theme compatible with buddypress. If there is something that needs to be done, please let me know. This is my first time using buddypress on a theme that wasn’t made to support it.

    #227772

    Topic: bp group meta

    in forum Showcase
    sbdm05
    Participant

    Hello everyone!
    I would like to add a dropdown menu during the creation of groups.
    I have found this code that works perfectly:

    <?php
    /*
    Plugin Name: Favorite Color
    Plugin URI: http://MyWebsite.com
    Description: Let Groups Pick their favorite Color
    Version: 1.0
    Requires at least: 3.3
    Tested up to: 3.3.1
    License: GPL3
    Author: Your Name
    Author URI: http://YourCoolWebsite.com
    */
    function bp_group_meta_init() {
    function custom_field($meta_key='') {
    //get current group id and load meta_key value if passed. If not pass it blank
    return groups_get_groupmeta( bp_get_group_id(), $meta_key) ;
    }
    //code if using seperate files require( dirname( __FILE__ ) . '/buddypress-group-meta.php' );
    // This function is our custom field's form that is called in create a group and when editing group details
    function group_header_fields_markup() {
    global $bp, $wpdb;?>
    <label for="favorite-color">My Favorite Color</label>
    <input id="favorite-color" type="text" name="favorite-color" value="<?php echo custom_field('favorite-color'); ?>" />
    <br>
    <?php }
    // This saves the custom group meta โ€“ props to Boone for the function
    // Where $plain_fields = array.. you may add additional fields, eg
    //  $plain_fields = array(
    //      'field-one',
    //      'field-two'
    //  );
    function group_header_fields_save( $group_id ) {
    global $bp, $wpdb;
    $plain_fields = array(
    'favorite-color'
    );
    foreach( $plain_fields as $field ) {
    $key = $field;
    if ( isset( $_POST[$key] ) ) {
    $value = $_POST[$key];
    groups_update_groupmeta( $group_id, $field, $value );
    }
    }
    }
    add_filter( 'groups_custom_group_fields_editable', 'group_header_fields_markup' );
    add_action( 'groups_group_details_edited', 'group_header_fields_save' );
    add_action( 'groups_created_group',  'group_header_fields_save' );
     
    // Show the custom field in the group header
    function show_field_in_header( ) {
    echo "<p> My favorite color is:" . custom_field('favorite-color') . "</p>";
    }
    add_action('bp_group_header_meta' , 'show_field_in_header') ;
    }
    add_action( 'bp_include', 'bp_group_meta_init' );
    /* If you have code that does not need BuddyPress to run, then add it here. */
    ?>

    The only thing is that I dont know much about php, and I can’t seem to change the <input id=”favorite-color” type=”text” name=”favorite-color” value=”<?php echo custom_field(‘favorite-color’); ?>” /> into a drop down menu where the value would be sent.

    Could someone please give me some advice?

    Many thanks!

    So

    #227771

    Topic: Rss feed

    in group forum Installing BuddyPress
    dio1987
    Participant

    Hello. I want to ask how i can add an rss button on the posts page so my visitors can know when i post something whithout visit my website. I have buddypress and there is rss option on the activity page but not on the posts page. I will appreciate much your help.

    #227770

    In reply to: Comment Notifications

    milenushka
    Participant

    Hey @chatty24, thanks. Buddypress actually added this functionality to the latest update (activity mentions) but It would be great to have a more convenient bbpress forums mentioning system.

    #227767

    In reply to: Comment Notifications

    chatty24
    Participant

    Hi

    This might help you – Buddypress Activity Comment Notifier

    #227764
    Hugo Ashmore
    Participant

    But I donโ€™t understand how BuddyPress understand that

    It does because it’s written to understand that. WP knows what type of theme is in operation, a main parent ‘ template’ or a theme acknowledging another theme as the template source thus labelling it a child theme; WP provides that information to anything that cares to ask. BP performs a series of simple checks, it looks to see what type of theme in operatio, it checks various hardcoded directory names to see if they exist either in a parent theme or in a child theme and if they contain BP template files, if they exist and do have BP templates then those are used in preference to the original BP ones. It’s not that complex a process but you do need to understand the basic principles of template hierarchy which is a WP construct.

    You can only ever have two themes max a parent and one containing ‘some’ copied files or additional files coded. WP always loads the child theme up checks anything in functions.php then looks at the parent theme and loads that themes templates and functions.php unless it has found a necessary template already in the child.

    Good in Today
    Participant

    Okay, specific question… In the global.js for BuddyPress we find…

    `/* Textarea focus */
    jq(‘#whats-new’).focus( function(){
    jq(“#whats-new-options”).animate({
    height:’40px’
    });
    jq(“form#whats-new-form textarea”).animate({
    height:’50px’
    });
    jq(“#aw-whats-new-submit”).prop(“disabled”, false);

    var $whats_new_form = jq(“form#whats-new-form”);
    if ( $whats_new_form.hasClass(“submitted”) ) {
    $whats_new_form.removeClass(“submitted”);
    }
    });

    What I’m concerned with is the animations on the textarea. I wish to disable them via another jQuery script or some other method ( so as not to alter the BuddyPress files themselves ). I’ve tried duplicating the code in my site’s global.js and modifying them with .stop(), .stop(true), .clearQueue(), and the like with no resolve. Is there a way to accomplish this? I don’t want the effect at all nor the resize. Leave my textarea alone! Also, I don’t want to set min-height as it disables the script I have running to autosize the textarea when it’s being used.

    #227756
    tecbay
    Participant

    I’m feeling so noob ‘-‘
    Anyways, let me know if I get it…So I knew childtheme had the purpose of “protecting” the theme updates. But I don’t understand how BuddyPress understand that. I mean if I paste a new pages.php in childtheme it will just change all templates of both themes or just the theme of the BP community?

    If this last its right. I have just to create a subfolder /buddypress/ in my CHILDtheme and copy all the content of /plugins/buddypress to that subfolder?
    *Of course, considering that already have a functions.php and style.css for the childtheme.

    #227755
    Sherry22
    Participant

    What I thought would be easy has been very frustrating.
    I have buddypress installed and have created groups. I have create forums and linked the groups to the forums.

    My goal is to create a site where if a person is a member of a group they can see that group’s activity and posts. Only see their groups (not others)

    1. I cannot link directly to a members group forum.
    2. Forum topics are showing up in a different groups list of topics.
    HELP ๐Ÿ™

    #227752
    danbp
    Participant
    #227751
    tecbay
    Participant

    I already have an childtheme(blank and useless) of my own parent theme, but my question is for the buddypress theme. How can I connect him with the BP plugin? What the BP updates means to this childtheme? o.O

    #227749
    peti446
    Participant

    Hi,
    I installed recently buddypress and set up the register the field … i see that the Name field create also the name and last name in the normal profile. Now i want that that continue happening but i want that people can chose for example only for friends and the another field that i created “Visible Name” this name is used for example in the member list or when they post something so that the name only appear in their perfil and to shears use their Visible name, what can i do to do this ?

    #227738
    danbp
    Participant

    Better a child theme and to start, read here first:
    https://codex.wordpress.org/Child_Themes

    and once you understood how it works, you can read again
    https://codex.buddypress.org/themes/building-a-buddypress-child-theme/

    and search on the forum for topics related to theme. ๐Ÿ˜‰

    #227737
    thatchrischaos
    Participant

    Well I deactivated all my plugins (with the exception of the buddypress plugin) and then tried to create and new account as a user and it worked. No white screen.

    So then I thought id activate my plugins one at a time and see at what point would I get the white screen again after submitting the sign up page. Well I didn’t. All my plugins are back to being active again and I can still sign up as a new user. Not sure if it has to do with the order in which plugins are installed and activated or what but it seems to work now.

    #227736
    tecbay
    Participant

    I mean, I already saw a lot of people saying that u can just edit the default(most in bp-templates/bp-legacy/buddypress/members/single) but also I hear people saying that I lost a lot of things when the BP update.
    So, what’s true? Simple edits is valid or better an new child theme?

    *If child theme, where start?(https://codex.buddypress.org/themes/building-a-buddypress-child-theme/ this page is a little confuse…)

    #227734
    Splendorito
    Participant

    Hi,

    I’m looking after some moderation tools for buddypress, some of the most promising are abandon. Does anyone have any tip?

    1. be able to flag content so it’s easier to get rid of spammers

    #227733
    mohammad-mursaleen
    Participant

    Sure you can change that link as well as content of confirmation email by adding the following code in you function.php;

    add_filter( 'bp_core_signup_send_validation_email_message', 'custom_buddypress_activation_message', 10, 3 );
     
    function custom_buddypress_activation_message( $message, $user_id, $activate_url ) {
        $user = get_userdata( $user_id );
        $activate_url = 'http://www.domain.de'; // change this link to what ever you want.
        return "Hi $user->user_login,
    Thanks for registering! To complete the activation of your account please click the following link:
    $activate_url 
    Thanks,
    Jesin";
    }

    For more details you can visit the following link;
    http://jesin.tk/custom-buddypress-activation-email/

    #227732
    mohammad-mursaleen
    Participant

    Try deactivating all plugins and then check if this issue still continues.

    Explanation:
    Mostly it happens if some plugin is interfering in registration process because the way BuddyPress registers a user is a bit different then what happens in WordPress by default for which usually plugins are designed.

    #227727
    parambyte
    Participant

    Hello. I am creating a buddypress community (latest version of WP and BB) and want certain fields of the extended profile fields to be non-editable by members (like first name, surname, membership number etc).

    How can this be dong?

    gcskye
    Participant

    I’ve got the woocommerce 2.2.7, buddypress 2.1.1 and wordpress 4.0.

    Once I enable buddypress, the avatars on the woocommerce product page display like this:

    <img srauthor-img="" c="LINKTOIMAGE" class="avatar user-1-avatar avatar-60 photo" width="60" height="60" alt="NAME">

    For some reason, its adding author-image=”” inbetween src. Anyone know why or how to fix this?

    #227724
    iburnthings
    Participant

    https://buddypress.org/support/topic/hide-profiles-of-a-specific-role-not-admin/

    I created a new thread. Sorry to hijack/resurrect this thread.

    #227717
    #227714

    In reply to: BP Group Extension API

    shanebp
    Moderator

    Where are you running your code?
    Try it in a plugin or in bp-custom.php

    Try this code.

    #227710
    shanebp
    Moderator

    Create a template overload of one or more of the files found here:
    \buddypress\bp-templates\bp-legacy\buddypress\members\single\

    dreamh11
    Participant

    I have installed buddypress and bbpress both in my website http://dreamhomeguide.in where users can create topics on different forums. Now when admin replies any topic other users can easily check the profile page of admin. Is there any way by which I can hide the profile page of admin from other users?

Viewing 25 results - 22,776 through 22,800 (of 94,544 total)
Skip to toolbar