GO TO PROFILE PAGE AFTER LOGIN

 

At the moment when someone logs in to the site they end up on their ACCOUNT PAGE is there some way i can change this so they are directed straight to their PROFILE page instead.

 

Sure it cant be a major problem to fix - but I havent got a clue where to start looking so I can make the change.

 

Simple clear instructions would we most welcome if anyone can help.

 

Thank you

Quote · 9 Nov 2008

1. open your member.php

.

2 find this code:

			if( !$sUrlRelocate = $_POST['relocate'] or basename( $_POST['relocate'] ) == 'index.php' or basename( $_POST['relocate'] ) == 'join_form.php' )
				 $sUrlRelocate = $_SERVER['PHP_SELF'];

.

3 replace with this one

			if( !$sUrlRelocate = $_POST['relocate'] or basename( $_POST['relocate'] ) == 'index.php' or basename( $_POST['relocate'] ) == 'join_form.php' )
				 $sUrlRelocate = "profile.php?ID={$p_arr['ID']}";

.

4 please make your member.php backup before try above code

Quote · 9 Nov 2008

Yup, just replace the second line with the profile.php line :)

Quote · 9 Nov 2008

yes, that what i mean, oh, sorry, i'm using dolphin 6.0 , not 6.1 he he he Laughing

Quote · 10 Nov 2008

Just wanted to say thanks - great instruction successfully carried out -Smile

Quote · 11 Nov 2008
 
 
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.