Recent Topics

1 Jan 01, 2011 22:32    

My b2evolution Version: 4.0.3

I seem to have a problem with the posting date. It seems that there are only 2 dates that are set per month, either 1st day or 11th/12th day. If I created a post past 11th/12th day, the date still on the 12th..
(http://onlineenglish4u.com/blogs//index.php/learningmaterials/)
The main locale is English-US.
Perhaps I overlook something on settings. Hope someone can enlighten and help me this. Thanks in advance.

2 Jan 02, 2011 01:57

Welcome to the forum!

You have an extra slash in b2evo base URL. You should edit the file /blogs/conf/_basic_config.php and set $baseurl = 'http://onlineenglish4u.com/blogs/';

Regarding the wrong date, remove the following line from file /skins/gossip_city/index.main.php:114

'time_format' => 'Mn,Y',

3 Jan 02, 2011 03:08

Thanks.. fixed base URL...
but i'm not sure which line to remove from file /skins/gossip_city/index.main.php... line 111-

<div class="PostHead">

<div class="PostTime">
<span class="dateonly">
<?php
$Item->issue_time( array(
'time_format' => 'F n, Y @ ',
'before' => ' ',
'after' => '',
)); ?>

</span>

4 Jan 02, 2011 03:39

This one

'time_format' => 'F n, Y @ ', 

You don't have to remove it actually, just comment-out

// 'time_format' => 'F n, Y @ ',

5 Jan 02, 2011 03:55

I think i made a mistake.. I put it this way:

<?php
$Item->issue_time( array(
// 'time_format' => 'F n, Y @ ',
'before' => ' ',
'after' => '',
)); ?>

</span>

<?php

and there are no dates.... :(

6 Jan 02, 2011 05:14

That was my mistake. Try this

'time_format' => locale_datefmt(),

7 Jan 02, 2011 06:50

It's working now :)
Thanks a bunch!~


Form is loading...