Populating a hidden field from database etc.
-
Great plugin!
1. I am trying to populate a hidden field with the date that a member joined my site. This is in the phpBB3 database as “user_regdate”. I have successfully added their usernames and email addresses by having the default entry in the Participants Database fields as “current_user->user_login” and “current_user->user_email”. But if I mimic this with “current_user->user_regdate” it remains empty. Any thoughts on what I am doing wrong?
2. As a second part, I want the email that admin gets on each sign up to show this original registration date. Unfortunately this number is in Linux form, meaning that it’s something like the number of seconds or minutes since 1 Jan 1970. Not very helpful! Assuming I can get the [member_since] in Part 1 above sorted, is there any way of doing a simple calculation inside your “Signup Notification Email”? It would just be a little bit of division and rounding, nothing mathematically too complex!
Thanks!
The topic ‘Populating a hidden field from database etc.’ is closed to new replies.