Log in

View Full Version : I got no help :(


Evil X
10-25-2005, 02:00 AM
I asked at vb.. no one helped... hopfuly its different here...

what code displays the thread start date?....

I want to make my news forum, have the month and date infront of the thread title... so I wanna know how to put the thread start date there... what is the code?... EXAMPLE OCT 3 - The thread title...

but I knwo tehre is a code to display the date the thread was made, but idunno it so please help me out :tired:

Chris M
10-25-2005, 02:40 AM
$postdate = vbdate($vbulletin->options['dateformat'], $threadinfo['dateline']);
That should help you :)

Chris

Evil X
10-25-2005, 02:47 AM
thankyou very much my e-friend lol

could you telll me were I might wanna put this code?... I was thinkin mabey infront of the $thread[typeprefix] but I got an error when putting it there

Chris M
10-25-2005, 02:53 AM
You'll need to add $postdate to the template, and the code above to a plugin that points to forumdisplay, then add an if conditional using your news forum id...

You'll need to change $threadinfo to $thread in the code I gave you...

You will also need to check if it is getting the dateline field from the database :)

Chris

Evil X
10-25-2005, 03:13 AM
im confused? so I put $postdate infront of $thread[typeprefix] ?? and then add a new plugin with this in it?
$postdate = vbdate($vbulletin->options['dateformat'], $threadinfo['dateline']);

and idk what you mean abotu the if forum id... my forum id is 6 can you help me alittle further.. im not the best at this lol