Changeset 389652
- Timestamp:
- 05/27/2011 07:55:01 AM (15 years ago)
- Location:
- bp-profile-as-homepage/trunk
- Files:
-
- 2 edited
-
bp_profile_as_homepage.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bp-profile-as-homepage/trunk/bp_profile_as_homepage.php
r262970 r389652 4 4 Description: 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. 5 5 Author: Jatinder Pal Singh 6 Version: 0. 37 Author URI: http:// jpsblog.co.cc6 Version: 0.4 7 Author URI: http://appinstore.com 8 8 */ 9 9 function bp_profile_homepage() 10 10 { 11 11 global $bp; 12 if(is_user_logged_in() && $_SERVER['REQUEST_URI']=='/')12 if(is_user_logged_in() && bp_is_front_page()) 13 13 { 14 14 wp_redirect( $bp->loggedin_user->domain ); -
bp-profile-as-homepage/trunk/readme.txt
r262970 r389652 3 3 Tags: Buddypress, Profile, Homepage, Login, Redirection 4 4 Requires at least: 3.0 5 Tested up to: 3. 06 Stable tag: 0. 35 Tested up to: 3.1.2 6 Stable tag: 0.4 7 7 8 8 == Description == … … 30 30 31 31 == Screenshots == 32 See this plugin in action on http://mycircle.cz.cc 32 33 No screenshots. Just activate and enjoy 33 34 34 35 35 == Changelog == … … 43 43 log out redirection bug fixed 44 44 45 = 0.4 = 46 enabled for Buddypress installations within the directory. which means if your blog is not installed on root domain, still you can use this plugin. 47 45 48 == 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/ 49 if you want to ask anything regarding this plugin, you can always put your questions on my website http://appinstore.com 48 50
Note: See TracChangeset
for help on using the changeset viewer.