Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-03-2011, 05:18 PM
matt94gt matt94gt is offline
 
Join Date: Jul 2011
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Change default allowed birthdate year?!

Hi,

I converted from SMF > vBulletin 4 all went fairly well.

Issue is quite a few members bithdates got set to Jan 1 1901, and vbulletin does not like that year.

The problem is members have to reset their passwords, but members with these invalid birthdates cant, they get the error "The solution of task you submitted was incorrect. Please read the
instruction and try again.."

So I wanted to figure out where I can change that and allow 1901 so my members can get online easier.

Thanks!
Reply With Quote
  #2  
Old 08-03-2011, 08:34 PM
Spyike Spyike is offline
 
Join Date: Nov 2010
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to PHPMYADMIN and execute the following query:
SELECT *
FROM `user`
WHERE `birthday` LIKE '%1901%'
LIMIT 0 , 30

When the list of results comes up, you can easily see which users you can either 1) Manually modify their birthdate via ACP or 2) Update all via SQL query
Reply With Quote
  #3  
Old 08-03-2011, 11:22 PM
matt94gt matt94gt is offline
 
Join Date: Jul 2011
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spyike View Post
Go to PHPMYADMIN and execute the following query:
SELECT *
FROM `user`
WHERE `birthday` LIKE '%1901%'
LIMIT 0 , 30

When the list of results comes up, you can easily see which users you can either 1) Manually modify their birthdate via ACP or 2) Update all via SQL query


Thats a bit over my head, I would update all to like 1980 for now, so how would I do that?

Thanks
Reply With Quote
  #4  
Old 08-04-2011, 04:39 AM
Spyike Spyike is offline
 
Join Date: Nov 2010
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by matt94gt View Post
Thats a bit over my head, I would update all to like 1980 for now, so how would I do that?

Thanks
What I posted may look hard, but it is very easy. Navigate to PHPMYADMIN via cPanel , Plesk, or whatever panel your server is using. You can copy and paste the contents I posted above and you will get your results which you can update.
Reply With Quote
  #5  
Old 08-04-2011, 04:00 PM
matt94gt matt94gt is offline
 
Join Date: Jul 2011
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange its only pulling up one user when I do that query?
Reply With Quote
  #6  
Old 08-08-2011, 02:49 PM
matt94gt matt94gt is offline
 
Join Date: Jul 2011
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone?!
Reply With Quote
  #7  
Old 08-08-2011, 03:11 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by matt94gt View Post
Strange its only pulling up one user when I do that query?
That should have shown the first 30 users with a 1901 birth year (I just tried it and it worked for me). Are you sure you have more than one in the db?
Reply With Quote
  #8  
Old 08-08-2011, 11:56 PM
matt94gt matt94gt is offline
 
Join Date: Jul 2011
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes I keep getting emails from members needing help and when i go to reset their logins there dates are set like that.

For some reason only one user is showing up, I know for a fact there are LOTS more then that...any idea?! Maybe im running the query wrong Im going in phpMyAdmin selecting my database from the drop down then running the query.
Reply With Quote
  #9  
Old 09-15-2011, 12:19 AM
matt94gt matt94gt is offline
 
Join Date: Jul 2011
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:41 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.04609 seconds
  • Memory Usage 2,233KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete