vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Add Date/time To Each Faq (https://vborg.vbsupport.ru/showthread.php?t=92060)

Princeton 07-11-2005 10:00 PM

Add Date/time To Each Faq
 
Simple modification that adds date/time to each faq.

Great feature to have if you have your SITE POLICIES within the FAQ section.

Click the INSTALL button (to your right) if you want to be informed of updates.

Corriewf 07-12-2005 08:02 PM

So everything will be dated today? Anyway to enter the date in manually?

Princeton 07-12-2005 08:44 PM

no manual ... all automatic

FYI
You can modify the query to update dateline to a previous date. Just change the UNIX_TIMESTAMP() to a previous date (unix time).

Corriewf 07-13-2005 01:56 PM

Quote:

Originally Posted by princeton
no manual ... all automatic

FYI
You can modify the query to update dateline to a previous date. Just change the UNIX_TIMESTAMP() to a previous date (unix time).


This is a great hack. I was just thinking the other day that someone could copy my article(s) and say they had it first and copyrighted. This will help.

Princeton 07-13-2005 05:33 PM

thanks for the feedback -- you may want to click INSTALL to stay up to date with updates regarding this addon

Corriewf 07-13-2005 05:37 PM

I havnt installed it yet, but you deserve the credit.

wrongful 07-14-2005 07:48 PM

The instructions are missing the step for admincp/faq.php I believe.

Princeton 07-14-2005 07:58 PM

sorry, it looks like I did ... download the latest zip file

COBRAws 07-14-2005 08:05 PM

for some reason date wont show up:S I did run the querrys, dunno whats wrong.

as i said on the other thread, this is nice :D

Princeton 07-14-2005 08:25 PM

Quote:

Originally Posted by COBRAws
for some reason date wont show up:S I did run the querrys, dunno whats wrong.

as i said on the other thread, this is nice :D

run this query: (add TABLE_PREFIX if you use one)
[sql]ALTER TABLE `faq` DROP `dateline`;[/sql]
thereafter, run the queries found on the instructions again

follow directions on the newly uploaded file


All times are GMT. The time now is 01:34 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.01175 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)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