Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 26,301 through 26,325 (of 69,108 total)
  • Author
    Search Results
  • @mercime
    Participant

    Instruction posted at http://wp.me/p1I84P-1g

    @mercime
    Participant

    @i-cash different instructions for different themes for Step 3 of the BP compatibility process. You can’t use the codes for WP Church given in the link you posted for your theme because it has a different HTML structure.

    @mercime
    Participant

    B. At the bottom of the same 16 files, replace:
    `

    `

    with the following (except for registration/register.php):
    `
    <?php
    lambda_after_content();
    if(empty($columns))
    get_sidebar();
    get_footer();
    ?>`

    with the following for registration/register.php:
    `

    jQuery(document).ready( function() {
    if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
    jQuery(‘div#blog-details’).toggle();
    jQuery( ‘input#signup_with_blog’ ).click( function() {
    jQuery(‘div#blog-details’).fadeOut().toggle();
    });
    });

    <?php
    lambda_after_content();
    if(empty($columns))
    get_sidebar();
    get_footer();
    ?>`

    Save files.

    C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/nevada/

    D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.

    @mercime
    Participant

    @elmindo Based on the HTML structure of your theme, you need to change 16 template files within the 6 BP folders transferred to your nevada theme folder in server during the compatibility process.

    If you’ve previously changed any of the BP template files in your nevada theme folder in server, replace all of them for a clean slate by deleting the 6 BP folders – /activity, /blogs, /forums, /groups, /members, and /registration – then re-run Appearance > BP Compatibility.

    Download the 6 clean BP folders to your computer hard drive.

    A. At the top of each of those 16 template files I linked to above, replace
    `

    `

    with the following:
    `<?php
    global $lambda_meta_data;
    $meta_sidebar = $lambda_meta_data->get_the_value(‘sidebar’);
    $meta_sidebar = (!empty( $meta_sidebar )) ? $meta_sidebar : get_option_tree( ‘select_sidebar’ );
    get_header();
    get_template_part( ‘template-part’, ‘slider’ );
    get_template_part( ‘template-part’, ‘teaser’ );
    if($meta_sidebar != UT_THEME_INITIAL.’sidebar_none’) {
    lambda_before_content($columns=”);
    } elseif($meta_sidebar == UT_THEME_INITIAL.’sidebar_none’) {
    lambda_before_content($columns=’sixteen’);
    }
    ?>
    <section id="post-” >

    `

    Then, in each of 16 files, you’d like to change the BP Templates’ page title’s header tag from `

    ` or `

    ..

    ` to `

    // Respective Page Titles //

    ` where applicable, then move this to above `

    ` Just watch out when you do this in the /activity/index.php page.

    Save files.

    EthanVan
    Spectator

    @karmatosed That’s actually a great point you make!

    Thank you for pointing this out to me. :facepalm:

    #144128
    Tammie Lister
    Moderator

    What happens when you use the default BuddyPress theme? Do you get an error message or none?

    #144124
    chroniko
    Participant

    better solution to check online users:

    `
    function bp_is_user_online($member_id=0){
    if(!$member_id)
    $member_id = bp_displayed_user_id();
    $now = time();
    $last_activity = bp_get_user_meta($member_id, ‘last_activity’, true);
    $last_activity = strtotime($last_activity);
    if( ($last_activity + 300) >= $now )
    return true;
    }
    `
    300 (in seconds) is default buddypress interval to check online users.

    #144120
    modemlooper
    Moderator
    #144119
    terrainnova
    Participant

    same problem here – images users with gravatar icons load ok, images of users who have no gravatar show a broken link.

    working (gravatar) links are of this type:

    `Avatar of User A`

    non-working (non-gravatar) links are of this format:

    `Profile picture of User B`

    Presumably all avatar functionality is piped through Gravatar and images are shown as arguments in a gravatar.com command – this command fails to work though when there is no gravatar available…

    any ideas why this is happening and how to solve it?

    Thanks

    #144113

    In reply to: Forums Not Working

    @mercime
    Participant
    #144111

    In reply to: Architecture Advice

    fivehead
    Participant

    Thanks, Just r-a-y. Very much appreciate you taking the time.

    I had a chance to delve a bit deeper and found that this functionality has been requested quite a bit in the BP forums and elsewhere around the web. Sounds like there is hope that this functionality will be built into the BP core at some point. Any confirmation on that from BP brass?

    Before I go down the path of training together a bunch of plugins, I was hoping someone could answer a few questions about a single BP network, installed on the mother site and spread across the WPMU:

    1. Is it possible to pick and choose what BP data is displayed? Display the whole shebang on the mother site, but only display the Real Estate Investing related data (group/forums) on RealEstateInvesting.com? Save for the network-wide activity stream on the child site, of course.
    2. Is there such a thing as subgroups and/or subforums (ability to create forums that only relate to the Real Estate Investing groups, mayhaps?)? I’ve seen outdated forum posts that this functionality isn’t available, but that it’s being worked on as a future release (https://buddypress.org/community/groups/creating-extending/forum/topic/bbpress-and-subforums/ is one example).

    If both 1 and 2 were possible, I think this would *mostly* eliminate my need to have multiple BP networks.

    I apologize that I don’t know the base table/relationship structure of BP. I hope to take a look at that soon, as that knowledge may eliminate some of my questions.

    @mercime
    Participant

    Go to My Sites > Network Admin > Dashboard and to Plugins > Installed Plugins and click on the “Network Activate” link under BuddyPress.

    #144109
    @mercime
    Participant
    #144108
    wpmirwin
    Participant

    I decided to spend the time and look into this further. Here is a quick overview of the problem and then the solution:

    1). WP to BP User sync uses the ‘user_nicename’ from the users table to create the member in BP
    2). When creating a user in WP directly via WP (i.e. Not DAP) the user_nicename is set to the same value found in username
    3). When creating a user in WP via DAP, the user_nicename is set to “First Last” by default

    This explains the different behaviour, and gets everything out of whack from BP point of view.

    To fix the problem, you need to modify DAP-WP-LiveLinks.php and have DAP set the user_nicename to the value provided for the username. Just do the following:

    Change:

    $userarray = $user->getFirst_name() . ” ” . $user->getLast_name();

    to

    $userarray = $username;

    .. and that’s it.

    @aprilbeaver… Hope that helps.

    #144106

    In reply to: Source code

    antonch
    Participant

    thank you for your answer @modemlooper,
    you know just after any page has been loaded, by clicking ‘view source’ anybody can see the source. In between tags source there things like:

    link rel=’stylesheet’ id=’plugin-css’ href=’http://website.com/wp-content/plugins/nameplugin/style.min.css?ver=3.0.2&#8242; type=’text/css’ media=’all’ />
    link rel=’stylesheet’ id=’wp-plugin-css’ href=’http://website.com/wp-content/plugins/wp-plugin/plugin-name-css.css?ver=2.70&#8242; type=’text/css’ media=’all’ />
    script type=’text/javascript’ src=’https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js?ver=3.4.2′&gt;
    script type=’text/javascript’ src=’http://website.com/wp-content/plugins/buddypress/bp-core/js/widget-members.js?ver=1.6.1′&gt;
    script type=’text/javascript’ src=’http://website.com/wp-content/themes/js/buddypress.js?ver=3.4.2′&gt;

    bla bla bla…

    So anybody can easily know what plugins are you using in your site. I’d like to know if there is anyway to prevent visitors to know that the site is developed with such plugins?. I mean, I want those source code were hidden or encrypted and they only to recognize the site as just a PHP site. It’s obvious anybody can view the source of a site using their browser. But some sites I have seen, even by viewing the source code, it’s not possible to find out whether it’s a wordpress site or not.

    thanks.

    EthanVan
    Spectator

    You didn’t note two different css classes, one for members pages and one for members directory. This fixed the problem I was having with button placement. It’s on line 281 in bp-follow-template.php.

    Granted it’s just a change in the class name by adding a 2 at the end but it makes all the difference for me.

    When I would change the css both the profile follow button and the directory follow button would move. Not any more. Now you can adjust their position and attributes individually (the button wrapper anyways).

    `
    // setup the button arguments
    $button = array(
    ‘id’ => $id,
    ‘component’ => ‘follow’,
    ‘must_be_logged_in’ => true,
    ‘block_self’ => empty( $members_template->member ) ? true : false,
    ‘wrapper_class’ => ‘follow-button ‘ . $id,
    ‘wrapper_id’ => ‘follow-button-‘ . $leader_id,
    ‘link_href’ => wp_nonce_url( $leader_domain . $bp->follow->followers->slug . ‘/’ . $action .’/’, $action . ‘_following’ ),
    ‘link_text’ => $link_text,
    ‘link_title’ => $link_title,
    ‘link_id’ => $class . ‘-‘ . $leader_id,
    ‘link_class’ => $class
    );

    // setup the button arguments
    $button2 = array(
    ‘id’ => $id,
    ‘component’ => ‘follow’,
    ‘must_be_logged_in’ => true,
    ‘block_self’ => empty( $members_template->member ) ? true : false,
    ‘wrapper_class’ => ‘follow-button2 ‘ . $id,
    ‘wrapper_id’ => ‘follow-button-‘ . $leader_id,
    ‘link_href’ => wp_nonce_url( $leader_domain . $bp->follow->followers->slug . ‘/’ . $action .’/’, $action . ‘_following’ ),
    ‘link_text’ => $link_text,
    ‘link_title’ => $link_title,
    ‘link_id’ => $class . ‘-‘ . $leader_id,
    ‘link_class’ => $class
    );

    // Filter and return the HTML button based on the location in BuddyPress
    if (bp_is_directory()) {
    // Return the button class for the Members Directory
    return bp_get_button( apply_filters( ‘bp_follow_get_add_follow_button’, $button2, $leader_id, $follower_id ) );
    } else {
    // Return the button for the Profile Pages
    return bp_get_button( apply_filters( ‘bp_follow_get_add_follow_button’, $button, $leader_id, $follower_id ) );
    }
    `

    I know the bulk of the code is yours and that’s why I credited you.

    Hope this clears up the changes made. :)

    – Ethan

    #144095
    vfx_fun
    Participant

    @karmatosed and @r-a-y is right. Download poedit: http://www.poedit.net/download.php and follow the codex. It is so fun and easy to do it this way and if you want to revert back just change the file name languages in the wp-content folder or delete it. :-)

    #144093
    Tammie Lister
    Moderator

    @windows84u : really doing it the language file is the way to go. I know first off getting your head around it can be a bit tricky but it enables you to change anything from there and not effect files.

    #144091

    In reply to: Forums Not Working

    BuddyPress Version 1.6.1
    Wordpress version 3.4.2
    I am using the default Buddypress theme. I did checkout the link you provided and it looks like I installed everything ok.

    #144087
    meg@info
    Participant

    HI ,
    you can use BuddyPress reCAPTCHA

    Use https://wordpress.org/extend/plugins/buddypress-recaptcha/

    the plugin work fine in bp 1.6 but you need to Edit the ‘bp-recaptcha.php’ file to make your settings.
    read the installation faq of the plugin.

    meg@info
    Participant

    hi @ethanvan,

    What news in your new plugin NeoFollow :) ?
    i check the code, and it’s is 100% from buddypress FollowMe plugin.

    And about the css problem, you can just add this line of css in your style :

    ul.item-list li div.action div.generic-button{
    margin-bottom:14px;
    }

    That’ all :P.

    #144075
    r-a-y
    Keymaster

    If you want to change the labels on your BuddyPress site, try creating a custom language file:
    https://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/

    Hope that helps!

    #144074

    In reply to: Architecture Advice

    r-a-y
    Keymaster

    1) Here’s a great tutorial post about Multisite and how to map subsites to domains:
    http://wp.tutsplus.com/tutorials/wordpress-multisite-beyond-basics-essentials-and-domain-mapping/

    2) As for BuddyPress on the niche sites, you might want to look into a BuddyPress multi-network plugin.

    There are a few plugins out there that do this.

    Here are some examples:
    https://wordpress.org/extend/plugins/bp-multi-network/
    http://buddydev.com/buddypress/introducing-buddypress-multi-network-plugin-create-multiple-separate-social-networks-on-a-single-buddypress-install/

    3) This would require using switch_to_blog() function and using some BP-specific code on the main site I believe.

    4) If you use the steps in point 2, then I believe so. If you want to share the same BP data across all your sites, then don’t do point 2 and you won’t have to use a different registration page.

    Note: This is all off the top of my head and I could be wrong in a few areas!

    Hope that helps somewhat!

    #144073

    Criticizing and complaining isn’t the way to motivate anyone to volunteer anymore time than they already do. You don’t like it? Neither do we, and we’re working on fixing everything up, similar to what we did to bbPress.org.

    It’s okay to be frustrated, but it’d be great to channel that passion into something positive.

    #144072

    Coming into our support forums and asking us if you should fork our software that’s still in active development is pretty silly. If you want to fork it, go. We’ll miss your contributions, but kindly talk about your future endeavors in your own support forums.

Viewing 25 results - 26,301 through 26,325 (of 69,108 total)
Skip to toolbar