Another style of showing date and time in Post bit.
#1
What I am looking for is eg, when we post, in the postbit our time and date is record and instate of showing 05-06-2008 02:40 AM can it be showed like this May-06-2008 02:40 AM.... well it looks much better by showing the month name and also it will be easy count Toungue
My Game site Game Expert Community
Audentio Design - Free skins and other webmaster services! Come see for yourself.
Reply
#2
You can select it in your UCP - Edit Options - Date Format
Or when users have selected 'Use Default'; you need to change it in your ACP - Board Settings - Change - Date and Time Formats - Date Format [ M-d-Y ]
Reply
#3
Alternate approach to Lex-'s..

/inc/class_session.php
Look around line #209 "Choose date format."
Change one of the existing options to:
$mybb->settings['dateformat'] = "M-d-Y";
So it may look like: (if you chose to replace case 1)
case "1":
  $mybb->settings['dateformat'] = "M-d-Y";
  break;
Then, to change the option that users see in the User CP when selecting the data format:
Admin CP --> Templates --> Template Manager --> Modify / Delete --> *Choose template set and click 'Expand'* --> User Control Panel Templates --> usercp_options
Find "option value" (there are lots of these) and replace the case that you chose to replace with: (I've chosen case 1 again)
<option value="1" {$dateselect['1']}>Jan-25-2004</option>
Reply
#4
Thanks guys Big Grin

But I try "LeX-" suggestion and its working great Big Grin
My Game site Game Expert Community
Audentio Design - Free skins and other webmaster services! Come see for yourself.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)