Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
News and Comments Plugin
#13
Hi andyash;
In this moment, use a function of getsimple lngDate, that is in admin/inc/basic.php. You can modify format date of post in lines +-526 to 530 and lines 590 to 594:
Code:
else if ($n == 'date'){
                    $d = substr($d,0,strpos($d,'+')-1);
                      $d = lngDate($d);
                    $lin .= '</span> <span class="data">'.htmlentities(i18n_r('news_comments/Ps'), ENT_QUOTES, "UTF-8").' '.stripslashes($d).'</span></dt>';
                    echo $lin;
                  }

You have to put format date in $d= lngDate($d), replace lngDate what you want.

Regards.

PD: in the next version, will try put format date of comments and news in setting, lang and email...
Reply


Messages In This Thread
News and Comments Plugin - by cumbe - 2011-09-06, 04:47:59
News and Comments Plugin - by Connie - 2011-11-03, 23:22:40
News and Comments Plugin - by Oleg06 - 2011-11-04, 00:42:24
News and Comments Plugin - by Connie - 2011-11-04, 07:58:53
News and Comments Plugin - by cumbe - 2011-11-04, 17:32:36
News and Comments Plugin - by cumbe - 2011-11-06, 06:19:37
News and Comments Plugin - by Oleg06 - 2011-11-06, 18:00:34
News and Comments Plugin - by cumbe - 2011-11-06, 19:16:56
News and Comments Plugin - by Oleg06 - 2011-11-07, 04:06:54
News and Comments Plugin - by cumbe - 2011-11-07, 06:13:27
News and Comments Plugin - by Ampersand - 2011-11-14, 06:45:33
News and Comments Plugin - by andyash - 2011-11-19, 22:18:28
News and Comments Plugin - by cumbe - 2011-11-20, 04:17:38
News and Comments Plugin - by andyash - 2011-11-21, 00:21:54
News and Comments Plugin - by Ampersand - 2011-11-22, 01:53:17
News and Comments Plugin - by andyash - 2011-12-03, 03:06:13
News and Comments Plugin - by cumbe - 2011-12-03, 03:28:46
News and Comments Plugin - by cumbe - 2011-12-05, 07:47:57
News and Comments Plugin - by yojoe - 2011-12-05, 10:48:15
News and Comments Plugin - by cumbe - 2011-12-05, 18:15:29



Users browsing this thread: 1 Guest(s)