Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 11:53 am EST

Geeklog Forums

do not understand custom registration example(step4)

Page navigation


Status: offline

richardpitt

Forum User
Newbie
Registered: 01/07/04
Posts: 11
Location:49'13'10.32N 122'41'07.83W
Don't know if this thread is still active - but I've just gone through the same exercise and found a (minor) bug in the example custom_userform function. There is an extra calling arg ($uid="") that seems to confuse things so error messages don't show up. If it is removed, then the "new" arg sent by the case 'new' code in users.php when first called shows up as an error message. I had to add a check for this to the code

Text Formatted Code
if (!empty ($msg) && ($msg != 'new')) ...
 


hope this helps someone
 Quote

Page navigation

All times are EST. The time is now 11:53 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content