View Full Version : Post date has gone missing
Dyntheos
06-14-2002, 12:44 PM
After installing some hacks and modifying some of the php files the date at which each post is made by members has dropped off each individual post. The time is dispalyed but where a date should be its just a just a blank space.
Could someone point out the template or file that this code is situated? I feel like I have nipped a bracket somewhere in the php files when i shouldn't have as i've installed some hacks yet going back over each hack and the respective file code I couldn't see anything amiss.
Logician
06-15-2002, 08:14 PM
Does $post[postdate] variable exist in postbit/postbit template?
Dyntheos
06-16-2002, 02:02 AM
Yes it is just after the post icon and before the code for post time.
this seems to be a global problem on all the skins we have, even when you revert to the original postbit template.
Could the reference in a php file be wrong? and if so which php file is it referenced to so i can track it down. I have looked in all the ones I had modded up to the time when it first dropped off but I couldn't find any reference to anything like $post[postdate] or dates in general.
Logician
06-16-2002, 07:53 AM
Hard to trace then unless you are good at PHP.
Check admin/functions.php after:
// ###################### Start buildpostbit #######################
$firstnew = 0;
function getpostbit($post) {
It's the function that parses postbit template. I suggest checking the recent hacks applied which made modifications at this file.. You might have applied a date related hack wrong like Today/Yesterday Hack or Blink Date if Message is older than X days hack.
Martin CX
09-15-2002, 09:00 PM
I had the exact same problem.
I installed the today/yesterday hack, but the in the admin/functions.php I accidentally overwrote the $post[postdate] (I mistook it for the $post[editdate]
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.