Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved How to add to postbit_author_user
#1
Not Solved Photo 
How can I make it so it shows users date of birth in their posts? For example currently when someone posts in the forums it looks like:
[Image: jyHRnd1.png]

I would like it so it says something like

Quote:Date of birth: 04-30-1995
below the "joined" section.

Anyone know how to do this?
I am currently looking at my template postbit_author_user template and this is what it currently looks like:
{$lang->postbit_posts} {$post['postnum']}<br />
{$lang->postbit_threads} {$post['threadnum']}<br />
{$lang->postbit_joined} {$post['userregdate']}<br />
{$post['replink']}{$post['profilefield']}{$post['warninglevel']}
What do I need to change in order to get what I want done?
Reply
#2
Not Solved
in general, date of birth is a optional profile field in MyBB. users need not enter it.
if you are using custom profile field for the date of birth then you can use this method
Reply
#3
Not Solved
(08-11-2015, 09:52 AM).m. Wrote: in general, date of birth is a optional profile field in MyBB. users need not enter it.
if you are using custom profile field for the date of birth then you can use this method
I'm not using a custom profile field for it and although it is default and I have mine setup it does not show up the way I explained Sad Is there something that I am missing or not getting?
Reply
#4
Not Solved
Add this code:

{$membday} -> to show the date (example: 05-23-1999)
Or:
{$membdayage} -> to show the age (example: 20)
Arne Van Daele - Developer


Private Support? Send me a private message
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)