miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
How To miniBB Support Forums / How To /   

changing format of user's registration date

Author Anonymous
#1 | Posted: 6 Nov 2006 21:22 
for user-regdate, how can we change the way the date is displayed? i tried changing this in ursernfo.php with no luck...

Author Paul
Lead Developer
#2 | Posted: 7 Nov 2006 03:46 
So, do you want to change just the date format which is shown in user's profile, or date format on the whole forums?

If second, it's discussed MILLION times. Edit $dateFormat setting of setup_options.php correspondingly to what PHP has in its options.

Author Anonymous
#3 | Posted: 7 Nov 2006 15:41 
i want to change the way it shows up in profiles.


Author Paul
Lead Developer
#4 | Posted: 8 Nov 2006 03:21 
then paste in bb_plugins.php

function parseUserInfo_user_regdate($val){
return date('Y.m.d', strtotime($val));

you can format date accordingly to the PHP date format rules.

Author Anonymous
#5 | Posted: 8 Nov 2006 03:57 

How To miniBB Support Forums / How To / changing format of user's registration date Top

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

 Short link for this topic:

Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.

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
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB