vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Post date has gone missing (https://vborg.vbsupport.ru/showthread.php?t=39838)

Dyntheos 06-14-2002 12:44 PM

Post date has gone missing
 
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:

PHP Code:

// ###################### 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
PHP Code:

$post[postdate

(I mistook it for the
PHP Code:

$post[editdate



All times are GMT. The time now is 10:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01028 seconds
  • Memory Usage 1,716KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete