vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Change time/date on thread move? (https://vborg.vbsupport.ru/showthread.php?t=64196)

Ian Cunningham 04-21-2004 02:12 PM

Change time/date on thread move?
 
I have a temporary forum where I can write long guides as a thread, and then move them to a new forum to be displayed. Some of these guides take a month or two, and the postdate is really old when it is moved.

Is there any way to make the new post date the time when moved?

flup 04-21-2004 02:18 PM

Think this ain't that difficult.
You just have to add a MySQL query in the script that move's ur topic.
Since I haven't got vB3.0.0 I can't serve you more than this

Ian Cunningham 04-21-2004 07:55 PM

I have tried to give that a go, but I can't get it to work.

Any other ideas?

flup 04-22-2004 07:51 AM

Hmm weird that it aint working because it has to :P

Ian Cunningham 04-22-2004 09:52 AM

Well, it *should* work... but I think my code must be wrong...

I'm guessing I dont use INSERT to change an entry in the database?

Ian Cunningham 04-22-2004 10:36 AM

Sorted... it is "UPDATE" :)

flup 04-22-2004 01:24 PM

UPDATE it is yes;-)
Does it work now?


All times are GMT. The time now is 07:47 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.01833 seconds
  • Memory Usage 1,709KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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