Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 119 total)
  • @peter-hamilton

    Participant

    You should copy the buddypress template files to your child theme and edit the individual profile pages there.

    I managed to make a custom profile page like this

    Organic Square Theme aka BBFacelook

    @peter-hamilton

    Participant

    You can disable BP registration, then this is no longer an issue and the profile is still made the usual way.

    I have done it by adding the following code in my functions.php, btw coe is not written by me.

    function my_disable_bp_registration() {
      remove_action( 'bp_init',    'bp_core_wpsignup_redirect' );
      remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' );
    In reply to: Profile Page

    @peter-hamilton

    Participant

    Add the following code to your child-theme“s function.php

    
    function login_redirect( $redirect_to, $request, $user ){
        return home_url('profile');
    }
    add_filter( 'login_redirect', 'login_redirect', 10, 3 );
    define( 'BP_DEFAULT_COMPONENT', 'profile' );
    

    That should do it.

    In reply to: Organic Square theme

    @peter-hamilton

    Participant

    Profile page is almost complete, few more functions like front-end editor to add, make it mobile friendly and find a way to integrate a reward system that will not slow down the site too much.

    In reply to: Organic Square theme

    @peter-hamilton

    Participant

    organicsquare profile page

    In reply to: Custom Code

    @peter-hamilton

    Participant

    1. You could use the template for buddypress – members – single – settings
    Here you could add a link inside the navigation div, right after the call to get-options-nav

    This should be in your buddypress folder in your child theme.

    2. I do not know

    @peter-hamilton

    Participant

    Very impressive work @m_uysl and good to know that Buddypress can scale to such a userbase, albeit with lots of serverpower available.

    @peter-hamilton

    Participant

    And when you say “all your redirect codes” you might have referred the problem, you can have only 1 redirect code block functioning without conflicts, multiple redirect functions should be in one code block/function I think.

    @peter-hamilton

    Participant
    /**
     * Redirect user after successful login.
     *
     * @param string $redirect_to URL to redirect to.
     * @param string $request URL the user is coming from.
     * @param object $user Logged user's data.
     * @return string
     */
    function my_login_redirect( $redirect_to, $request, $user ) {
    	//is there a user to check?
    	if ( isset( $user->roles ) && is_array( $user->roles ) ) {
    		//check for admins
    		if ( in_array( 'administrator', $user->roles ) ) {
    			// redirect them to the default place
    			return $redirect_to;
    		} else {
    			return home_url();
    		}
    	} else {
    		return $redirect_to;
    	}
    }
    
    add_filter( 'login_redirect', create_function( '$url,$query,$user', 'return home_url();' ), 10, 3 );
    

    This should work when in your functions.php, but if as you said something overrides your functions file there is another problem afoot.

    @peter-hamilton

    Participant

    wanguard to stop more spam

    @peter-hamilton

    Participant

    This is a great chat plugin and very facebook-ish, although no video, but chat has multichat function etc.

    http://codecanyon.net/item/wordpress-buddypress-users-chat-plugin/10776067

    In reply to: Blog for users

    @peter-hamilton

    Participant

    Front-End Publishing is a great plugin for non-multisite blog creation for users, I use it on two sites and is perfect, highly recommended

    @peter-hamilton

    Participant

    I had same problem during my first go on BuddPree/Wordpress, found problem to be my theme which left no space in members header to show default links for this.

    Did what @danbp mentioned and got it fixed with css.

    Good luck

    @peter-hamilton

    Participant

    vERY NICE SITE, LOOKS CLEAN AND EASY TO USE.

    In reply to: Site Feedback

    @peter-hamilton

    Participant

    Did not see your post earlier…sorry for the late reply.

    Site looks crisp, very pleasing to the eyes, good template.

    Well done.

    @peter-hamilton

    Participant

    No problems with mine…

    Probably a conflict with installed plugins, did you test deactivating them one by one to see if each deactivation makes a change?

    @peter-hamilton

    Participant

    lol…. you need to copy the folder “buddypress” to your root folder.

    Find “buddypress” folder here.

    plugins/buddypress/bp-templates/bp-legacy/buddypress

    Now you need to read up on how to change these template files for your need, only these files inside this folder should be changed.

    There is no buddypress theme, all wordpress themes are buddypress themes, and the only way to make something unique is through making a child theme of a wordpress site first, then adding buddypress css code and templates etc.

    Good luck mate, here is a sample of what I am doing with buddypress…
    My Buddypress site | Onlijn.com

    @peter-hamilton

    Participant

    Best Wishes Buddycrew.

    #LongLiveBuddyPress

    @peter-hamilton

    Participant

    Nice one @mrjarbenne, that is a useful bit of code.

    @peter-hamilton

    Participant

    I am going to try a similar, but different theme with the new BBPress/Buddypress plugins, now using older version from earlier this year.

    Just to play around with the code, not doing it for much more then laughs at the moment.

    @peter-hamilton

    Participant

    Aah, I am hearing that a lot, will think about that so people see more of what they get when joining up.

    Anyone who wants to try I got the demo working again.

    username : demo
    password : demouser

    try my social network, bbfacelook at http://www.onlijn.com

    @peter-hamilton

    Participant

    I use “front-end-publishing” plugin and works perfect, post written on frontend, show up in activity and make link on profiles to that author’s articles/posts.

    After trying several plugins but this one has the easiest system in place.

    This is the front end blog page for authors
    front end publisher

    This is the article when published
    published article

    as seen on onlijn.com

    @peter-hamilton

    Participant

    danbp, always helpful.

    I would suggest to copy the entire template folder to your child, this allows easy access in the future.

    Make sure to make notes, every update of buddypress can/will require a new template folder to be created due to new template tags.

    @peter-hamilton

    Participant

    Although this icon will appear after each member’s name and might look bad when all users have similar icon.

    @peter-hamilton

    Participant

    You will have to make a buddypress template folder in your theme/child.

    “entry.php” is the file you can add an icon, right after the following code which is the username/link.

    <a href="<?php bp_activity_user_link(); ?>">

Viewing 25 replies - 26 through 50 (of 119 total)
Skip to toolbar