Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)

  • JPS Bhullar
    Participant

    @jpsbhullar

    My plugin is available on WordPress.org and Buddypress.org. Here is wordpress link — https://wordpress.org/extend/plugins/bp-profile-as-homepage/


    JPS Bhullar
    Participant

    @jpsbhullar

    Okay. I think my plugin is complete now. You will be able to do the following things with this plugin:

    1. Only logged in users will be allowed to browse the contents of the buddypress enabled wordpress installation. Non-logged in users will be re-directed to Homepage of the websites where login and register options will be available.
    2. Now if your user is logged in and he clicks on HOME tab or any link to homepage, he will be redirected to his / her profile page. This option is good for those who have static HomePage like I am having.

    I have installed this plugin on my website and testing at MyCampus.Cz.CC.
    Kindly help in testing it.


    JPS Bhullar
    Participant

    @jpsbhullar

    Till now, its working perfect for me. One thing I want to ask how can I check that my user is trying to move to homepage, because I want every logged in user should be redirected to his / her profile whenever he clicks on HomePage link anywhere in buddypress same as FACEBOOK.


    JPS Bhullar
    Participant

    @jpsbhullar

    @ mercime : thanks . But in that case, I have to re-design my login page, but I am not good at designing.

    But I have created a new plugin for my-self which will display homepage to all users but only logged in users will be able to see other contents of the website.
    soon I will upload the plugin and will let you know the URL to the plugin.Currently I am testing it with my site and it is working fine with default theme of Buddypress. If someone wants to test it, it is implemented on mycampus.cz.cc.


    JPS Bhullar
    Participant

    @jpsbhullar

    So, I guess nobody is working on this concept ? I think this should be the part of the CORE Buddypress Pack, where security on HomePage should be provided so that only logged in users can view the content of the website same as other social networking websites are doing like FACEBOOK, ORKUT etc.


    JPS Bhullar
    Participant

    @jpsbhullar

    hi I just tried the following code, but it is not working as expected:

    function bp_dump() {
    global $bp;
    if(!$bp->loggedin_user->id)
    header(“location:my_website_address”);
    }
    add_action( ‘wp’, ‘bp_dump’ );

    Kindly let me know what am I doing wrong


    JPS Bhullar
    Participant

    @jpsbhullar

    @mercime thanks. I just downloaded and checked Brajesh’s plugin, I want to know which filter need to be used like Brajesh Singh has used filter “Login_redirect” to hook into login process of wordpress. ????


    JPS Bhullar
    Participant

    @jpsbhullar

    redirection after login in WOrdpress not wordpresss mu..which function to use


    JPS Bhullar
    Participant

    @jpsbhullar

    how can i achieve the functionality like firstly with WordPress, user should be redirected to his/her profile after logging in. It is WORDPRESS, not WORDPRESS MU.
    Secondly, after logging in whenever user clicks on HOME link, he should be redirected to his / her profile….

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