I had someone ask me to kick in mrpowless' modification for creating a short join form and then directing the member upon login to the pedit.php page. This seems like a nice little trick and one that makes it so you can have a short join and get the member to fill in the additional items on the next page after they join. Basically a new trick to the multi-page join form.
But then I got to thinking that it would be nice as I look at this, if it doesn't kick them to the pedit.php page every time they login to the site as this mod does. That can get annoying to our members. So, what would be the solution to this?
Well, as my brain kicks it around I see that we could do the following with the login_form.html & login_form_ajax.html files to accomplish this goal.
1. Add a column to the ProfileID that will keep track of the number of times a member has logged in.
2. Insert a php statement into the 2 files above the runs that SQL upon signing in and if the total number of logins is: <=1 then it kicks to the pedit.php file. However, if it is >=2 then it goes to the member.php page as it always does.
Now, I don't have the time to do all of this, so any takers to play with this for D6 & D7?
The basics are there, just need someone to write a quick sql to insert the column and then a php function to deliver it. Any takers? Anyone with a spare hour or so to flip this out?