miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
How To miniBB Support Forums / How To /  
 

changing format of user's registration date

 
Author Anonymous
Guest
#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
Guest
#3 | Posted: 7 Nov 2006 15:41 
i want to change the way it shows up in profiles.

thanks

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
Guest
#5 | Posted: 8 Nov 2006 03:57 
thanks!

How To miniBB Support Forums / How To /
 changing format of user's registration date
 Share Topic's Link

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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑