PDA

View Full Version : Date/timestamp for original post in forumdisplay and search


Dennis Olson
09-16-2004, 01:54 PM
I recently installed the ability to see the date/time a thread was ORIGINALLY started in the forumdisplay page:


[brkg] 0430 EDT 9-16-04 Abductions in Iraq, 2 US 1 Brit
night driver (09-16-2004 at 05:56 AM)

In order to bring this off, I had to add two new variables to the 'functions_forumdisplay.php' code. Then I had to add the ref's vars in the threadbit templat. But enough of that...

When I execute a SEARCH (and show results as threads), the results are using the threadbit template. However, the vars are undefined, so I get the "zero-date" of 12/31/1969. My goal is to activate that feature in search as well, but don't know where to add the var def's.

I've already tried it in 'functions_search.php' and 'search.php' to no avail (perhaps I'm just placing the def's in the wrong code section?)

Any assistance would be greatly appreciated.

Thanks!

Dennis Olson
09-17-2004, 11:19 AM
bump