<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am using the following modules:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>nodeprofile</FONT></DIV>
<DIV><FONT face=Arial size=2>usernode</FONT></DIV>
<DIV><FONT face=Arial size=2>path auto</FONT></DIV>
<DIV><FONT face=Arial size=2>Me aliases</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>When a user signs up, a usernode is automatically 
created and using path auto/me aliases, this can be accessed using personal/me. 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>In the menu, I also have a link to profile/me which 
is the correct URL for a user's nodeprofile...but only once it's been created. 
If a user clicks on that just after signing up, they get a 404.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>What's the best way around this? I know I can send 
a link in the confirmation e-mail to "node/add/nodeprofile" but there's no 
guarantee they'll click on it. If I have a hard-coded link to 
"node/add/nodeprofile", it will get in the way once a user has created a 
profile.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>possible solutions?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>1. show menu link "Create Profile" only to those 
without a profile. How would I implement this?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>2. Is there a way for an empty nodeprofile to be 
created at the same time as the usernode is created?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>3. Can I use mysql triggers to, at least on the db 
side, insert an empty profile into the relevant table so that the profile at 
least exists once an account is created?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Is there any other way around this issue? I know a 
lot of drupalers are using the nodeprofile/usernode combination so I'm sure this 
problem has been faced and resolved countless times.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks<BR><BR>Neil</FONT></DIV></BODY></HTML>