Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 29,751 through 29,775 (of 68,918 total)
  • Author
    Search Results
  • #136410
    neononcon
    Member

    Is this the page you mean: http://www.enterprisenation.com/become-member/

    Is something that can be easily implemented if outlined in a tutorial? Or made into a plugin? I’m sorry to hijack this thread btw, but since spam is obviously a major issue with Buddypress, if sites like the ones you create have found a way around it, you could be helping tons of people if you share, in detail, the way you did this. Or you could at least make a ton of money if you sold it in plugin form.

    #136409
    neononcon
    Member

    I, too, am curious how custom post types come into play here. Does Buddypress itself use custom post types for activity or groups at all?

    #136406

    In reply to: redirect user login

    Famous
    Participant

    @edinchez & @valuser – it ended up not working the way I thought it would. Is there any way to use my original code with a slight tweak?
    `
    //=Redirect to User’s Profile Page after Login
    function rt_login_redirect($redirect_to, $set_for, $user){
    $redirect_to = bp_loggedin_user_domain($user->id);
    return $redirect_to;
    }
    add_filter(‘login_redirect’, ‘rt_login_redirect’, 20, 3);
    ?>
    `

    #136404

    In reply to: BP_ENABLE_MULTIBLOG

    luisrosario
    Participant

    @djpaul , Hey there Paul, so I was wondering if you had any success with finding an answer to the above issue? Any updates would be greatly appreciated. Thank you!

    #136402
    Bruce
    Member

    Thanks. I had an old plugin — wordpress private. Switched to Private Buddypress. Works now.

    modemlooper
    Moderator

    You can do this but you might want to use something like gravity forms if you are not using the social features.

    #136396
    modemlooper
    Moderator

    I do not give support for added plugins. I do not test with any added BuddyPress plugins unless explicitly stated. Your best bet is to remove the add actions from the mobile theme where the added plugins are placing code to strip your site down to bare essentials. This is generally a good idea for mobile UX.

    The next version of the plugin will not allow added plugins to be used unless I make sure they work. This will be to avoid posts like this. I can’t support every iteration of site that BuddyPress wills. Having individual sites is great but that is because BuddyPress plugin developers are creating plugins for BP. No one as of yet has contacted me to say they want to add the mobilized version of their plugin to support BP mobile. That being said i’m making it so BP plugin devs can add the mobile template files themselves to their plugin. It’s a win for you and me as I won’t have to support every plugin my self.

    #136390
    aces
    Participant

    If you are sure they are not going into the recipient’s junk or spam filter then the following page might help: https://codex.buddypress.org/troubleshooting/frequently-asked-questions/

    #136388
    Faegan44
    Member

    Okay….

    This was the selector:

    .buddypress-page #page .item-list-tabs a {
    color: white !important;
    }

    and the tab doesn’t show up unless there are friends attached to the logged in user.

    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
    Anonymous User
    Inactive

    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
    Anonymous User
    Inactive

    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
    Anonymous User
    Inactive

    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

Viewing 25 results - 29,751 through 29,775 (of 68,918 total)
Skip to toolbar