vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Put the time in a quote. (https://vborg.vbsupport.ru/showthread.php?t=65891)

sjaakie 06-06-2004 07:50 AM

Put the time in a quote.
 
Hello,

When I get my forum online I want that posts that are quoted get the time of that post in the quote. something like this:

Quote:

Posted by: Sjaakie @ 14:34 12 june 2004

Yeah yeah yeah
How can this be done?

Xenon 06-06-2004 11:57 AM

well, actually it woud just need a very tiny edit of newreply.php

BUT: the time would be stored hardcoded into the post's pagetext, that means, if you have different timezone users on your board, it will always show the wrong time for a part of your users..

sjaakie 06-06-2004 12:33 PM

All of our users are in the same timezone, so that's not a problem. (Only dutch people. :))

sjaakie 06-09-2004 09:56 AM

*kick*

Someone has an idea?

sjaakie 06-20-2004 09:37 AM

One more kick, i'm very interested in this.. :)

Xenon 06-20-2004 06:54 PM

actually it's easier than i thought ^^

just edit the newpost_quote template and add $posttime and or $postdate into it ;)

Boofo 06-21-2004 05:07 AM

Quote:

Originally Posted by Xenon
actually it's easier than i thought ^^

just edit the newpost_quote template and add $posttime and or $postdate into it ;)

That works great unless you have a multi-quote hack installed. ;)

sjaakie 06-21-2004 11:49 AM

Okay, thanks! :) So I have to take some care when I want to install the multi-quote hack? Well, I rather like to have the time into the quote. ;)

Boofo 06-21-2004 11:59 AM

Quote:

Originally Posted by sjaakie
Okay, thanks! :) So I have to take some care when I want to install the multi-quote hack? Well, I rather like to have the time into the quote. ;)

It's an easy fix to work with the multi-quote hack. To lines of code added to the hack and it works fine with it. ;)

Xenon 06-21-2004 02:30 PM

you're welcome :)


@bob: maybe you should tell the author what to to ;)


All times are GMT. The time now is 01:46 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.01033 seconds
  • Memory Usage 1,727KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete