How would I go about doing this?
I've tried a couple of things posted here but they just direct to member.php
I really want to direct everybody after login to their profile page - www.mysite.com/[nickname]
Any takers?
How would I go about doing this? I've tried a couple of things posted here but they just direct to member.php I really want to direct everybody after login to their profile page - www.mysite.com/[nickname] Any takers? |
Hi, Try this. On member.php around line 684 find: if( !$sUrlRelocate = $_REQUEST['relocate'] or $_REQUEST['relocate'] == $site['url'] or basename( $_REQUEST['relocate'] ) == 'join.php' ) $sUrlRelocate = $_SERVER['PHP_SELF']; And replace with: if( !$sUrlRelocate = $_REQUEST['relocate'] or $_REQUEST['relocate'] == $site['url'] or basename( $_REQUEST['relocate'] ) == 'join.php' or $_REQUEST['relocate'] == $site['url'] . 'member.php') { $sUrlRelocate = $site['url'] . ''. $_POST['ID']; header('Location: ' . $sUrlRelocate); } Regards Dave.... |
Thank you so much Dave, that works perfectly! :) |
You're Welcome |
Short sweet and it works. Nice work Dave. Thank you! |