Plugin Directory

Changeset 389652


Ignore:
Timestamp:
05/27/2011 07:55:01 AM (15 years ago)
Author:
j_p_s
Message:
 
Location:
bp-profile-as-homepage/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bp-profile-as-homepage/trunk/bp_profile_as_homepage.php

    r262970 r389652  
    44Description: Logged in users will be redirected to their profile page if they try to move to HomePage anywhere within buddypress installation same as FACEBOOK do. And as the user logs out, he/she is redirected to homepage again. This is tested successfully with Wordpress 3.0 and Buddypress 1.2.5.
    55Author: Jatinder Pal Singh
    6 Version: 0.3
    7 Author URI: http://jpsblog.co.cc
     6Version: 0.4
     7Author URI: http://appinstore.com
    88*/
    99function bp_profile_homepage()
    1010{
    1111    global $bp;
    12     if(is_user_logged_in() && $_SERVER['REQUEST_URI']=='/')
     12    if(is_user_logged_in() && bp_is_front_page())
    1313    {
    1414            wp_redirect( $bp->loggedin_user->domain );
  • bp-profile-as-homepage/trunk/readme.txt

    r262970 r389652  
    33Tags: Buddypress, Profile, Homepage, Login, Redirection
    44Requires at least: 3.0
    5 Tested up to: 3.0
    6 Stable tag: 0.3
     5Tested up to: 3.1.2
     6Stable tag: 0.4
    77
    88== Description ==
     
    3030
    3131== Screenshots ==
     32See this plugin in action on http://mycircle.cz.cc
    3233No screenshots. Just activate and enjoy
    33 
    3434
    3535== Changelog ==
     
    4343log out redirection bug fixed
    4444
     45= 0.4 =
     46enabled for Buddypress installations within the directory. which means if your blog is not installed on root domain, still you can use this plugin.
     47
    4548== Support Questions ==
    46 if you want to ask anything regarding this plugin, you can always put your questions on my blog from where this plugin is also available for download
    47 http://jpsblog.co.cc/blog/2010/07/06/bp-profile-as-homepage/
     49if you want to ask anything regarding this plugin, you can always put your questions on my website http://appinstore.com
    4850
Note: See TracChangeset for help on using the changeset viewer.