vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   I got no help :( (https://vborg.vbsupport.ru/showthread.php?t=99246)

Evil X 10-25-2005 01:00 AM

I got no help :(
 
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 01:40 AM

PHP Code:

$postdate vbdate($vbulletin->options['dateformat'], $threadinfo['dateline']); 

That should help you :)

Chris

Evil X 10-25-2005 01: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 01: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 02: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


All times are GMT. The time now is 04:43 PM.

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.01589 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)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