Registration date

Started by JasonDD, November 16, 2009, 03:39:04 PM

Previous topic - Next topic

JasonDD

Hi, is it somehow possible to add registration date to the user profile to be visible under the user when browsing posts, like in vBulletin ?

JasonDD

Also is there an option in SMF to show the date of birth field during registration ? This one would be very useful, but I wasn't able to find it anywhere in settings.

Xylar2

Quote from: JasonDD on November 17, 2009, 08:31:48 AM
Also is there an option in SMF to show the date of birth field during registration ? This one would be very useful, but I wasn't able to find it anywhere in settings.

I do know you can create custom fields via Core Features. I'm not sure if it can do that though.

JasonDD

Yep, I have custom profiles enabled, however the date of birth field is in the basic profile fields, which for some reason are not editable.

Arantor

To answer your original question, date registered is stored for each user, and it would be possible to display. Where exactly would you want it displayed?

As for DOB it's only normally active/required if you have a minimum age set up, in Admin > Members > Registration > Settings.
Holder of controversial views, all of which my own.


JasonDD

I would like it to be displayed on your "profile summary" displayed when you make a post, right above number of posts for example.

Btw, I've tried enabling the minimum age requirement, but the only difference was it displayed two buttons under TOS, no other field to enter your date of birth on registration form.

Arantor

Hmm, the only way to add it there would be a modification of Display.php, Display.template.php and very possibly Load.php as well.

What version of SMF exactly are you using?

As for the DOB, hmm, I thought that enabled something more but guess not. I also don't think it's been covered how that would be done.
Holder of controversial views, all of which my own.


JasonDD

Hm, that's a shame then, I'm running the most recent 2.0 RC2

JimM

You might take a look at this mod and get an idea on how to make the edits for the date registered.  It was compatible with RC1-2 so you may have to experiment to find the right spot in RC2.

http://custom.simplemachines.org/mods/index.php?mod=1405

It's little more than a couple of lines to edit or at least it was in 1.1.11.
Jim "JimM" Moore
Former Support Specialist

Advertisement: