Redirecting New Users to Index

Hi, I want all users who signup/join via Facebook Connect or create a new account to index page instead of member.php or avatar page.


For Facebook Connect I did:

Changed settings in Admin > Modules > FB Connect > Setting > "Redirect page after first sign in" selected index.php in dropdown.

Then I edited: modules\boonex\facebook_connect\classes\BxFaceBookConnectModule.php

and replaced member.php with index.php

case 'member' :
default       :   
$sRedirectUrl = BX_DOL_URL_ROOT . 'member.php';
break;
}

Then cleared the cache via admin panel.

But problem is still there.


Am I missing anything?

Quote · 23 Aug 2011

i dont know for what reson that this is not working for you but .. im pretty sure that there is no need to edit the file you edited cuz from the admin panel you have selected index and from the php file you have edited the line for the member case (which you will fined in the same drop menu as well ) . so lets try this ..

from line 400

 

                case 'index'  :
                    $sRedirectUrl = BX_DOL_URL_ROOT . 'index.php';
                    break;

                case 'member' :
                default       :   
                    $sRedirectUrl = BX_DOL_URL_ROOT . 'member.php';
                    break;
            }

 

if it still doesn't work maybe there is still some thing missing..

 

nazzal

if i did help you .. it wont hurt to go to my profile and add a recommendation for me ;)
Quote · 23 Aug 2011

Should not be any need to edit the file now. i believe a index redirect was added to the code for dolphin 7.0.7. I don't think dolphin 7.0.6 had that redirect option.

But for the previous version, the fix was to select member from the drop down and then edit the code to replace member.php with index.php.

But if your running version 7.0.7 of dolphin, no file edits should be done.

https://www.deanbassett.com
Quote · 23 Aug 2011

 

Should not be any need to edit the file now. i believe a index redirect was added to the code for dolphin 7.0.7. I don't think dolphin 7.0.6 had that redirect option.

But for the previous version, the fix was to select member from the drop down and then edit the code to replace member.php with index.php.

But if your running version 7.0.7 of dolphin, no file edits should be done.

 good to know .. :)

if i did help you .. it wont hurt to go to my profile and add a recommendation for me ;)
Quote · 23 Aug 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.