Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • @jackreichert

    Participant

    To solve this I decided to hijack a page. If the member is logged in, they get their profile, otherwise, they go to a signup page.

    Just pop the following code into your functions.php file… and create a page named ‘profile’. Now you can add that page to your WP menu and it should do what you need.

     function redirect2profile(){
    	include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    	if($_SERVER['REQUEST_URI'] == '/profile/' && is_plugin_active('buddypress/bp-loader.php') && is_user_logged_in()){
    		global $current_user;
    		wp_redirect( get_bloginfo('url') . '/members/'. $current_user->user_login . '/profile/'); 
    		exit();
    	}
     }
    add_action('init', 'redirect2profile');

    @jackreichert

    Participant

    One of the issues with using the straight built-in WordPress role management to manage users is that the usermeta is cached in a way that doesn’t scale well.

    If this site has millions I imagine that it handles well, are there caching plugins that should be used to optimize BP for large amounts of users?

    @jackreichert

    Participant

    @Jeff_Sayre I’d like to get involved if I can. I’ve been developing for wordpress for a while and would like to see how I can get involved in bp. Where would you recommend I start?

    @jackreichert

    Participant

    @deltina more than 2 cents =)
    Facebook has been hacking up technologies for a while (fbml for instance)…

    I’ve been programming wordpress for a while now, but am relatively new to buddypress. Please correct me if i’m wrong, but isn’t the buddypress news feed built on such an feed? I turned to this community because I think that many of the pieces are in place already. I’m happy to devote what time I can to pushing such a project along.


    @group
    what’s the first step?
    I think the first stage, end-goal, is to create a way for connecting across-networks…

    @jackreichert

    Participant

    Who would I contact about getting involved in such a project?

    @jackreichert

    Participant

    Just read your article @Jeff_Sayre looks like you were thinking what I posted above already… =)

    @jackreichert

    Participant

    I was thinking about how to tackle that problem. What I envisioned would be that each member would have a “virtual calling card”. When they connect with someone in the decentralized network the person they connect with would store this (and only this) card in their database.

    Essentially what would be included would be their basic, public information, including an rss of their news-stream. The effect would be as if you went to your facebook page. Just as in FB when you click on an album you go to that page, this would work the same way.

    No one authority would need to manage this system.

    To solve to WP/BP issues above I think that it would be really effective to leverage the is_user_logged_in() and current_user_can(‘administrator’) functions:
    If a user is not logged in, it shows a regular theme, like any other blog.
    If user is logged in it show the BP interface.
    If user is admin it shows the BP dashboard.
    This would effectively separate between wordpress and buddypress dashboards, as well as offer a person the ability to have a one-stop shop for their social and professional needs.

    For the DB issues, bbpress requires it’s own table but shares the user table with wordpress, would this be an option?

    @jackreichert

    Participant

    i’d hop on the bandwagon if someone could point me in the right direction…

    @jackreichert

    Participant

    Seriously, they’re up to $30k+ now. SO what do you think about adapting BP…

Viewing 9 replies - 1 through 9 (of 9 total)
Skip to toolbar