Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 30,201 through 30,225 (of 94,565 total)
  • Author
    Search Results
  • #169051
    rimoreno
    Participant

    Is there a plug in or something i can add to my buddypress site to allow users to comment on other user’s pages? Maybe im not finding something here?

    #169048
    r-a-y
    Keymaster

    I would follow #2 – Only override the template files that you need.

    Keep in mind that the markup in the template files are quite specific to the JS. So that’s something that you’ll have to consider when changing the markup.

    r-a-y
    Keymaster

    Hi Roger,

    Yes, you should try and follow how the BP components do it.

    View the BP_Activity_Theme_Compat class:
    https://buddypress.trac.wordpress.org/browser/tags/1.8/bp-activity/bp-activity-screens.php#L317

    And try and emulate that in your plugin. This is only for theme compat. That does not handle bp-default.

    If you want to support bp-default themes as well, let’s use the activity component again as an example.

    Check out bp_activity_screen_index():
    https://buddypress.trac.wordpress.org/browser/tags/1.8/bp-activity/bp-activity-screens.php#L13

    That adds support for bp-default. In that example, bp_core_load_template() tells BuddyPress to look for a template called ‘activity/index.php’ in your theme’s directory. If such a template exists, it will load it up the bp-default way.

    If it doesn’t, then BuddyPress will try and fallback to theme compat, which is where the BP_Activity_Theme_Compat class comes in for the activity component.

    Hope that clarifies things.

    #169044
    rishraj
    Participant

    Followed the instructions and its working perfectly fine, thanks a lot, steve !
    Really appreciate the help.

    whitewolf1988
    Participant

    @jigesh Hi and thanks for your reply. The site is on my localhost not live so if you have links or other info that would help I will be gratefull. Thank you for your help!

    makbeta
    Participant

    @joerob101 have you tried Genesis Connect for BuddyPress? https://wordpress.org/plugins/genesis-connect-for-buddypress/

    It helped me get BP running on a Genesis subtheme.

    Alan Niemies
    Participant

    Hello!

    I’m developing a medical online community based on BuddyPress and I’d like to know how to check the value from a specific bp_member_profile_data field. If the user put a specific value (this field is a Dropdown with several choices), such as a Physician or a Student, I’ll like to display a specific button on the user’s profile.

    Does anyone have an idea on how to accomplish this?

    Thanks!

    #169032
    junithorn
    Participant

    @mercime Hey thanks a ton for the reply.

    I haven’t hardcoded the link, do you think updating may fix this? I only hesitate because of changes i have made in the back end.

    marcusyong
    Participant

    buddypress activity comment system, is so great, I ‘m sure it ‘s better than blog comment system.

    So I’d like to take buddypress activity comment system to instead of blog comment system.

    My first solution is to apply one plugin: buddypress-activity-as-blog-comments
    within this pluging, there’s a function: bp_activity_blog_comments_template( $file = ” ), to filter the new_blog_post and its comments,

    but there’s a problem, all comments are appearing all at once, no pages, it’s not good.

    So I’d like to filter the activity_comment towards to the new_blog_post, instead of the new_blog_post with its comment.
    in this way, all activity_comment can be pages, or “load more” will apear.

    but I’m very poor in coding,
    I can’t filter the activity_comment,
    who can hell me?

    following is my code in theme: single.php

    <?php get_header(); ?>
    <div id=”content”>
    <div class=”padder”>
    <?php do_action( ‘bp_before_blog_single_post’ ); ?>
    <div class=”page” id=”blog-single” role=”main”>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    …. ….
    <?php comments_template(); ?>

    // my code
    <div class=”activity” role=”main”>
    <?php do_action( ‘bp_before_activity_loop’ ); ?>

    <?php
    global $bp,$wpdb;
    $object = $bp->blogs->id;
    $primary_id = (int) $wpdb->blogid;
    $post_id = get_the_ID();
    $post_activity_id = bp_activity_get_activity_id( array( ‘component’ => $object, ‘type’ => ‘new_blog_post’, ‘item_id’ => $primary_id, ‘secondary_item_id’ => $post_id ) );

    $a_id = array();
    $post_activity_childrens = $wpdb->get_results( “SELECT id FROM {$bp->activity->table_name} WHERE type = ‘activity_comment’ AND secondary_item_id = ({$post_activity_id})”);

    foreach( (array) $post_activity_childrens as $child ) {
    $a_id[] = $child->id;
    }

    $params = array(‘per_page’ => ‘6’, ‘in’ => $a_id);
    ?>

    <?php if ( bp_has_activities( $params ) ) : ?>
    …….
    <?php while ( bp_activities() ) : bp_the_activity(); ?>
    <?php locate_template( array( ‘activity/entry.php’ ), true, false ); ?>
    <?php endwhile; ?>
    …. ….

    #169028
    jtm21
    Participant

    Hi guys

    I’m in the process of writing the spec for a new project that will be using Buddypress 1.8.

    I have a WordPress starter theme of my own, built with Bootstrap 3.0 (RC1 right now), upon which the whole site will be built.

    We’d like to integrate BP 1.8 into the new site, however instead of writing a bunch of CSS to make the BP pages look like the rest of the site, I’d like to change the layout files of BuddyPress to use Bootstrap’s HTML syntax therefore inheriting the styles and layouts of the whole theme automatically.

    My question is, how to best approach this:

    1 – Should I copy all the files from /bp-templates/bp-legacy/buddypress into my own theme’s /themeroot/buddypress and modify from there?

    2 – Should I override only the files I need, by copying them into my theme and obeying the theme hirearchy?

    3 – Is there a better way?

    Thanks very much in advance for any help or tips!

    MakeNice
    Participant

    I am trying to add custom code to the edit page on my Buddypress profile form so that it displays images in place of radio buttons. This is the HTML code that is outputted:

    <div class="radio">
        <span class="label">Hair Colour </span>
            <div id="field_521">
               <label><input checked="checked" name="field_521" id="option_533" value="Blonde" type="radio"> Blonde</label>
               <label><input name="field_521" id="option_534" value="Light Brown Brunette" type="radio"> Light Brown Brunette</label>
               <label><input name="field_521" id="option_535" value="Dark Brown" type="radio"> Dark Brown</label>
               <label><input name="field_521" id="option_536" value="Black" type="radio"> Black</label></div>
          <a class="clear-value" href="javascript:clear( 'field_521' );">Clear</a>
    </div>  

    I have found a number of different solutions for changing radio buttons to images using jQuery but none appear to suit the code that is outputted but the Buddypress profile page. Any help would be greatly appreciated.

    Thanks

    #169025
    Tux Kapono
    Participant

    Any update on what Facebook plugins work best? We never did install one because none seemed to cover Facebook/Twitter/Google at the same time, so we decided to just use Facebook.

    Is it possible to have the plugin be compatible with a BuddyPress registration page where we have additional required questions, like zip code, etc for instance? Here’s what we have right now: destinationli.com/register.

    #169024
    Jigesh
    Participant

    Great! its my pleasure sir!. 🙂

    #169023
    KenStanSmith
    Participant

    Yeee, it worked! I owe you mannn! God bless you!

    #169022
    Jigesh
    Participant

    No your permalinks structure is not updated , please choose POST NAME as your permalinks structure and than update.

    #169021
    KenStanSmith
    Participant

    I updated permalinks structure and the same result 🙁

    #169020
    Jigesh
    Participant

    Please go to settings –> permalinks & update permalinks structure again and than give a try will work 100% , thanks.

    #169019
    KenStanSmith
    Participant
    #169018
    Jigesh
    Participant

    Please send me your site URL in message, thanks.

    #169017
    KenStanSmith
    Participant

    When I try to register in my Buddypresss social site I recieve this message: The requested URL /sign-up/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Please, help.

    #169013
    zerosit
    Participant

    Tks for taking the trouble to reply in such great details, hugo.

    I’ve forwarded this to the developer for reference. I guess this issue is way beyond my limited knowledge to resolve; I’ll just have to wait for him to resolve it then.

    Thanks again for your professionalism in handling this matter.

    best regards,
    eric

    #169010
    Hugo Ashmore
    Participant

    It’s important to understand that this is a theme issue, not BP’s issue, as of 1.7 BP re-factored how it worked to a huge degree and added theme compatibility, designed to allow BP content to work seamlessly in any WP theme providing the theme followed basic WP template practises -it’s a real shame so many don’t!

    They replied and said the buddypress pages should be using the buddypress page templates and asked if I have installed the buddypress page templates correctly.

    This is somewhat outdated advice and sounds as though they are suggesting the old template pack process or copying over bp-default theme templates, neither of these are what you need to be doing and require a little knowledge to achieve.

    As said earlier all you need is a correctly functioning page.php, clearly this theme prevents page.php working as is normally expected so the answer is copy page.php & rename it buddypress.php in order that you may make custom mods in that file without page.php and your themes templating breaking. Now in buddypress.php you need to have a working and ‘Normal’ WP loop plus any other html markup structure your theme uses, however this is the sort of thing the theme author can best handle or at least they will understand what needs doing.

    Again earlier I pointed out where you can find an example loop in the WP default theme twentytwelve but you need something like this in your content area of your custom buddypress.php file:


    <div id=”content” role=”main”>

    <?php while ( have_posts() ) : the_post(); ?>

    <h1 class=”entry-title”><?php the_title(); ?></h1>
    <?php the_content(); ?>

    <?php endwhile; // end of the loop. ?>

    </div><!– #content –>

    However whereas this may kick the custom template into life it doesn’t account for the theme markup structure so likely would look broken, but we have no understanding of what this theme does with it’s templates so can’t really advice – again the theme author could and needs to understand how BP now works as a simple one file include with their theme could allow them to state their theme is BP compatible.

    Lastly and for anyone else reading the thread understand that the best place to source themes which are BP compatible is the official WP theme repo as the theme checks run on submitted themes will ensure standard WP practises are adhered to, buy premium themes and you take your chances, unless they are from a well known source and /or clearly state BP compatible or if not that they DO follow the WP templating API not invent their own I would avoid also I would avoid unless there was a strong support area for the theme.

    #169009
    logicsforyou
    Participant

    hi ,

    I am trying to install buddypress on Blog http://logicsforyou.com. but its not showing any link for register and active pages …even its breaking other pages as well. please help

    #169007
    zerosit
    Participant

    Hi, guys.

    The developer of my theme came back to me and said that the buddpress pages are using the “default page” templates from the theme itself now; that’s why nothing is appearing in the buddypress pages. They replied and said the buddypress pages should be using the buddypress page templates and asked if I have installed the buddypress page templates correctly.

    I’ve tried changing to themes of other developers and the buddypress pages work perfectly. Does it mean to say that the buddypress page templates are setup correctly? What should I do now?

    I understand that you guys did mentioned previously to check with the developer himself, which I did. However, this is the reply I got from him. I really feel like a ball myself. Please kindly advise me on what modification or action I ought to take now to enable buddypress.

    The only thing that’s preventing the site from going live now is the buddypress. Please kindly help me.

    Thanks.

    best regards,
    eric

    P.S. Pls don’t point me to the codex again; I really have a difficult time understanding them.

    Jigesh
    Participant

    you need to fix it with no conflict jquery condition, if you don’t know it, than give me access to your site, i will do that. thanks.

Viewing 25 results - 30,201 through 30,225 (of 94,565 total)
Skip to toolbar