Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 29,951 through 29,975 (of 69,109 total)
  • Author
    Search Results
  • Giovanniw650
    Member

    Hi. Thanks for the response. I checked and I have only Group Forums installed (not Sitewide Forums). Should I install both? Since I only have one installed there is no conflict with the slug used.

    #136383
    Jamiethecomic
    Participant

    Hey! Sorry for the long reply but I’ve been WAY TOO BUSY lately!

    Thanks very much! It worked and your easy to ready instructions made it go so smoothly!

    Thanks! Now I just need to work out how to effect the layout of a buddypress forum and my site is SET! :D

    #136381

    In reply to: Country drop down list

    danbpfr
    Participant

    Hi Hans,
    you have to digg in the prehistorical 1.0 version of BP
    https://buddypress.trac.wordpress.org/browser/branches/1.0?order=name
    where you can find this old coutry field and a csv file with different countries.
    You can find some interesting code in buddypress 1.0/bp-xprofile/bp-xprofile-classes.php

    Good luck ! :-)

    #136380
    Mathieu Viet
    Moderator

    Ok, to set new fields for your members you should read the paragraph ‘Optional: Set Profile Fields’ of this tutorial
    http://wpmu.org/the-illustrated-guide-to-installing-and-setting-up-buddypress-1-5/

    if you mean login in with email, then you can try this interesting plugin https://wordpress.org/extend/plugins/wp-email-login/

    then you can add a function in the functions.php file of your active theme to change the label of the sidebar login form :

    add_action('bp_after_sidebar_login_form', 'bp_login_by_email_adapt_login_form');
    
    function bp_login_by_email_adapt_login_form() {
    ?>
    
    jQuery(document).ready(function($){
    usernameoremail = $("#sidebar-user-login").parent().html().replace(/Username/ig, 'Username or email' );
    $("#sidebar-user-login").parent().html(usernameoremail);
    });
    
    <?php
    }

    or if you’re using a child theme of BP-default theme, you can add/edit the template sidebar.php and replace the label for=sidebar-user-login by Username or email.

    #136379

    Thanks Roger. I kinda knew that was my end-solution but was hoping that there was some sort of plugin instead of actually coding the whole thing :)

    Thanks again. Appreciate the help.

    #136378
    Roger Coathup
    Participant

    To build this kind of feature, you need to be a PHP developer:

    • You’d add new profile field groups for each type of stat (or if the stats are too complex for profile fields – a custom component to handle them).
    • You’d then assign a role to each member based on whether they are a batter, pitcher or fielder – ideally implemented using the underlying WordPress user roles.
    • Finally, you’d implement conditional logic in your templates to display appropriate profile field groups based on the member’s role.
    #136376
    Mathieu Viet
    Moderator

    Hi websitevala,

    To add custom fields to your registration page, you’ll need to add xprofile fields. To do so in WP Backend, you should go / BuddyPress menu / Profile fields submenu

    And for the other thing, as you noticed emails are hidden, there might be a spam risk reason to that. And as a user, i wouldn’t like to have my email shown on my profile.. So i dont think it’s a good idea.

    #136372
    Mathieu Viet
    Moderator

    hi @enderpal444

    I think i would use BP members loop to do what you want to do as you can send meta_key to BP_Core_User::get_users. Then i would take benefit of the filters included in the 2 sql to change its behavior. This is what i’ve tried to add a filtering by geo position to the main BP Members directory. I guess you’ll need to ask Roger and Paul about efficiency…

    in the functions.php of my active theme > http://pastebin.com/2HKsSZCc

    i tried to have a ‘one pass’ approach ;)

    #136371

    In reply to: Confrim E-mail

    voarsh
    Participant

    I am using BuddyPress.

    #136370
    Roger Coathup
    Participant

    It’s a custom sign up form on a bespoke page; it’s not based on the register.php file that you find in the bp-default theme.

    In the backend, we also unhook / hook in a number of custom functions to process sign ups – including auto logins, assignment of user meta data, and sending custom welcome emails.

    #136369
    richardpd
    Member

    Mercime-many thanks again for your reply.
    I still cannot get the hang of running BuddyPress group & sitewide forums together on my blog.
    So for now I have disabled BuddyPress Group forums and am using bbPress forums. I even made a child theme of my BuddyPress enabled WP theme anIMass and use bbPress 2010 forum style with it-see my post today on my blog at http://richard-dickinson.com/2012/06/25/buddypress-and-bbpress-blog-update/

    I will keep trying with BuddyPress but for the moment am using bbPress forum! Many thanks

    #136368
    foobool
    Member

    <?php

    /**
    * Admin Bar
    *
    * This code handles the building and rendering of the press bar.
    */

    /**
    * Instantiate the admin bar object and set it up as a global for access elsewhere.
    *
    * To hide the admin bar, you’re looking in the wrong place. Unhooking this function will not
    * properly remove the admin bar. For that, use show_admin_bar(false) or the show_admin_bar filter.
    *
    * @since 3.1.0
    * @access private
    * @return bool Whether the admin bar was successfully initialized.
    */
    function hide_admin_bar() {
    return false;
    }
    add_filter( ‘show_admin_bar’, ‘hide_admin_bar’ );

    function _wp_admin_bar_init() {
    global $wp_admin_bar;

    if ( ! is_admin_bar_showing() )
    return false;

    /* Load the admin bar class code ready for instantiation */
    require( ABSPATH . WPINC . ‘/class-wp-admin-bar.php’ );

    /* Instantiate the admin bar */
    $admin_bar_class = apply_filters( ‘wp_admin_bar_class’, ‘WP_Admin_Bar’ );
    if ( class_exists( $admin_bar_class ) )
    $wp_admin_bar = new $admin_bar_class;
    else

    #136366
    foobool
    Member

    <?php

    add_filter(‘show_admin_bar’, ‘__return_false’);
    /**
    * BP-Default theme functions and definitions
    *
    * Sets up the theme and provides some helper functions. Some helper functions
    * are used in the theme as custom template tags. Others are attached to action and
    * filter hooks in WordPress and BuddyPress to change core functionality.

    #136364
    valuser
    Participant

    Thanks – no problem.

    Have now put 6142 on an online test multisite/multinetwork with quite a number of plugins. so far so good

    For the record, the Terminal commands i used (on a Mac) to do a svn download (if thats the terminology) were

    cd ~/Desktop
    svn co https://svn.buddypress.org/trunk buddypress/

    #136363
    chembro303
    Member

    @pgideonbolger — I ran into this as well. I was going around in circles trying to override the defaults selector by selector. To override the defaults en masse, you have to address the fact that BP 1.5 uses enqueue to load the styles. You’ll want to stop it from loading the default styles and instead copy/paste the styles you want to retain from default.css into your child theme’s styles.css.

    FYI, I got this info from https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/ – which is a helpful page – and am using it with success. But if you don’t want to search that page for the info, just grab the code below and add it to your child theme’s functions.php:
    `
    if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
    function bp_dtheme_enqueue_styles() {

    // You should bump this version when changes are made to bust cache
    $version = ‘20120625’;

    // Register stylesheet of child-theme
    wp_register_style( ‘child-theme’, get_stylesheet_directory_uri() . ‘/style.css’, array(), $version );

    // Enqueue stylesheet of child-theme
    wp_enqueue_style( ‘child-theme’ );
    }
    add_action( ‘wp_enqueue_scripts’, ‘bp_dtheme_enqueue_styles’ );
    endif;
    `

    #136360
    Paul Wong-Gibbs
    Keymaster

    Sorry, I was up late: BuddyPress.svn.WordPress.org

    #136358
    neononcon
    Member

    Thanks for the reply. Would you be able to go into further detail about what you mean by alternative sign-up page?

    #136350
    valuser
    Participant

    got this now have it svn co https://svn.buddypress.org/trunk buddypress/

    #136349
    valuser
    Participant
    #136348
    Paul Wong-Gibbs
    Keymaster

    Ok. Before we play on your test server you need to contact your host and ask if you have SSH access to use a terminal. In the interim, we can try the concept out locally on your Mac.

    How familiar are you with using the Terminal app? (it’s in Applications > Utilities) If not very, you’ll have to do some Googling to figure things out.

    Open the Terminal app. Type these 2 commands:

    cd ~/Desktop
    svn co https://buddypress.trac.wordpress.org/trunk BuddyPress

    That last command might take a couple of minutes. It’ll download a copy of BP trunk. Look at your desktop, and you’ll find a folder called “BuddyPress” containing… BP trunk :)

    Then wait for the BuddyPress team to do a new update to trunk. Easiest way to do this is keep an eye on https://buddypress.trac.wordpress.org/log and remember what “Rev” it’s up to. When you spot an update, open Terminal again:

    cd ~/Desktop/BuddyPress
    svn up

    “svn up” is an “update” command. It figures out what SVN revision your checkout of BuddyPress is on, compares that to the version on the server (it remembers what URL you fetched it from originally), and then downloads and applies any updates automatically.

    This is the method I like doing on my servers, so maybe see if it works out for you.

    #136346
    Roger Coathup
    Participant

    @enderpal444 – thanks for posting your solution – that’s the sort of approach I was suggesting as ‘two pass’ – getting all the users unsorted, then sorting them, before iterating over them.

    Efficiency might become an issue if your member numbers increase.

    #136345
    Roger Coathup
    Participant
    #136341
    Roger Coathup
    Participant

    Plaza is a very nice website – it’s also a significant custom development.

    Are you a skilled PHP developer with solid WordPress development experience (writing custom post types, taxonomies, url rewrites and such like)?

    If you have those development skills (and in the case of Plaza – some strong design skills as well) or are willing to hire them in, then yes, BuddyPress is a suitable underlying platform to build the user profiles on, and to provide a backbone where you can unify their reviews and hotel submissions.

    #136339
    creaturis
    Participant

    I use wp super cache. however got an issues with logging out sometimes. when i log out it it gets me redirected to the front page but it still looks as if i’m logged in. when i go to another page it shows i’m logged out. I think it is because of wp super cache. but for the rest it works great.

    #136331
    Paul Wong-Gibbs
    Keymaster

    For that, you’re best to ask on the http://bbpress.org forums.

Viewing 25 results - 29,951 through 29,975 (of 69,109 total)
Skip to toolbar