Log in

View Full Version : Can you help me w/ this easy PHP fix?


ZanexGt
11-28-2004, 05:18 AM
First of all, I'd like to thank you all for this great site. I've been a member over at vbulletintemplates for a while but joined over here for the coding tips/tricks.

Anyhow, here's my problem. I found this (https://vborg.vbsupport.ru/showthread.php?t=63791&highlight=papoo) thread containing the following code which enables me to show the original post date/time in my forums. (http://forums.stuffz.net).

if ($thread['dateline'])
{
$thread['createdate'] = " @ ".vbdate($vboptions['dateformat'], $thread['dateline'], true);
$thread['createtime'] = vbdate($vboptions['timeformat'], $thread['dateline']);
}


Currently, this code in the functions_forumdisplay.php displays like this (http://forums.stuffz.net/forumdisplay.php?f=15). I would prefer my results to look exactly like this board (http://www.timebomb2000.com/vb/forumdisplay.php?f=9). Can anyone point me in the right direction?

Also, how can I get the time/date to show on my new posts (http://forums.stuffz.net/search.php?do=getnew) page? Would I have to edit one of the search templates?