Welcome to Geeklog Sunday, August 09 2020 @ 11:16 am EDT

Geeklog Forums

do not understand custom registration example(step4)

Page navigation


Status: offline

richardpitt

Forum User
Newbie
Registered: 07/01/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

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


hope this helps someone
 Quote

Page navigation

All times are EDT. The time is now 11:16 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