vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   birthdays are incorrect (https://vborg.vbsupport.ru/showthread.php?t=198464)

mm00re 12-09-2008 07:05 PM

birthdays are incorrect
 
A year ago I imported users into vb from an old SMF forum and almost 3600 users are set to a birthday of 01-01-0001 and i don't want a mass spamm going out this new years to all of these people. Is there a way to do a mass change so it just removes the birthday or anything like that?

Thanks! :)

Seven Skins 12-09-2008 09:32 PM

You can run a query to delete incorrect birthdays.

e.g UPDATE user SET birthday="" WHERE birthday="0001-01-01"

But I am not very good with mysql queries someone with more knowledage about them can give you correct query or correct the above one.

Dismounted 12-10-2008 02:48 AM

Are you sure the date wasn't 01-01-1970?

mm00re 12-10-2008 11:49 AM

yes I went into many of the records and it showed to be 01-01-0001 and in the birthday_search field it was 0001-01-01

I wound up just making a backup of my database, modifying an sql statement to edit all 3200 users instead of 1 and modified both fields so it won't send out the b-day notice.

I definitely think there should be some sort of a control panel option to check birthdays, even as maybe a plug-in or hack


All times are GMT. The time now is 01:10 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.01050 seconds
  • Memory Usage 1,706KB
  • 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
  • (4)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