Ok here is my problem.. It's concerning the PluhNews 1.5 mod.. which i changed to work with vbulletin 3. I'm running vb 3.0.3 and i made the script fetch only the title, date posted, comments number, rating, and last poster form 'thread'.
My problem is simple... this is what i have in pluhnews.php to turn the dateline into time:
PHP Code:
$dateposted = date("j.m.y g:ia",$dateline);
The date that appears there differs from the date on the forum's post.. for some people its 1 hour off, for some 2. I think the reason is that it doesn't change the GMT or w/e. I'm not an expert at php.. i'm actually a beginner. I've tried including
./includes/functions.php
and changing
PHP Code:
$dateposted = date("j.m.y g:ia",$dateline);
to
PHP Code:
$dateposted = vbdate("j.m.y g:ia",$dateline, false, false);
and ect..
but the time is still the same.. Can anyone help me?