vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   i need help with a global db change (https://vborg.vbsupport.ru/showthread.php?t=63215)

Preech 03-31-2004 12:21 AM

i need help with a global db change
 
I want to update my membertable with my sites reopening date as the join date for all my members. So basically the site has been closed for 3 months and i deleted all the old posts....i just want to update that so that all the old memberlists carried over have the reopening date as the join date, 4000 members would be a little much to do by hand

i run vb3.0 by the way if that makes any diff with the command structure

please help :)

Christine 03-31-2004 12:26 AM

What date and time do you want it to say?

Preech 03-31-2004 01:04 AM

02-18-2004 100 am

please :)

Christine 03-31-2004 02:07 AM

On one condition -- you back up your database before running this script!

:)

UPDATE user SET joindate='1077084000';

Preech 03-31-2004 02:18 AM

that will update all eh? ok thanks will do backup.

Christine 03-31-2004 02:57 AM

Yes it will. Just copy it and paste it as I have it written and run it in phpMyAdmin on your user table.

:)

Boofo 03-31-2004 03:05 AM

Christine, how did you come up with the date like that? Please PM me the answer. ;)

Christine 03-31-2004 03:25 AM

Bob,

I am Rainman.

:)

Boofo 04-01-2004 04:42 AM

Lol ;)


All times are GMT. The time now is 05:02 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.01026 seconds
  • Memory Usage 1,714KB
  • 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
  • (9)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