PDA


View Full Version : Date is not shown


LokiMuc
02-27-2005, 10:29 AM
I have installed the CMPS v1.0.1 and giot 2 problems with the date.

1. welcomeblock:
The date has the wrong language. It should be shown in German, but it appears in English.

2. News (in the middle):
It shows just the letters, not the date.

Can someone help me?

Brian
02-27-2005, 11:14 AM
No clue why the date would be appearing like that in the news. If you'd like to submit a support ticket though I'll be glad to take a look.

LokiMuc
02-27-2005, 12:18 PM
Support ticket is submitted. Thank you! :)

c0d3x
03-05-2005, 06:19 PM
did you solved? how?

LokiMuc
03-06-2005, 03:46 AM
no clue how but brian solved it.

Brian
03-06-2005, 11:50 AM
Look in your /forum/modules/news.php file for this code:
$dateposted = vbdate($vba_options['portal_news_dateformat'], $news['postdateline']);

Replace with this:
$dateposted = vbdate($vba_options['portal_news_dateformat'], $news['postdateline'], '', '');

And that should take care of the problem.

lalotte
03-08-2005, 03:11 PM
Brian, I had the same problem, and thanks to this post it has now been fixed.
I still have a slight problem on the module where last visit date is to be updated. And it looks something like this:
Tu última visita: m-d-y a las g:i a

see:www.csvdg.org

Brian
03-08-2005, 05:21 PM
Try looking in your /forum/modules/welcomeblock.php file for this code:
$lastvisitdate = vbdate($vba_options['portal_welcome_lastvisit_date'], $bbuserinfo['lastvisit']);
$lastvisittime = vbdate($vba_options['portal_welcome_lastvisit_time'], $bbuserinfo['lastvisit']);


Replace with this:
$lastvisitdate = vbdate($vba_options['portal_welcome_lastvisit_date'], $bbuserinfo['lastvisit'], '', '');
$lastvisittime = vbdate($vba_options['portal_welcome_lastvisit_time'], $bbuserinfo['lastvisit'], '', '');


And see if that takes care of the problem.

lalotte
03-11-2005, 03:42 PM
Brian, that did the trick.
But I have one more problem.
The birthdays dont show up?
I looked through the template to see if that was the problem. But it seems o.k.
Any suggestions?

Brian
03-12-2005, 11:38 AM
Not too sure on that one... If you'd like to submit a support ticket though I'll be glad to take a look.