15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Displaying birthday near logged in

Author vtcpayewallet
Registered
#1 | Posted: 12 Aug 2016 06:32 
I want to display the users birthday when they log in next to where it shows their username and the option to sign out.

Author Paul
Lead Developer
#2 | Posted: 12 Aug 2016 12:03 
First of all, you need to add an extra field to the users database, which will keep the birthday value. An example from our guide on how to add a new extra field to users DB with the possibility to edit it on the Profile form contains all instructions.

Second, you will need to add this field to bb_cookie.php and assign it to some variable in the similar way as other login variables appear there.

At least, you will need to paste this variable in the template 'user_only_logged_in'.

Refer to our Premium service if you are in doubt on how to do it on your own.

Specific miniBB Support Forums / Specific / Displaying birthday near logged in Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB