The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Where do I edit so that the members birthdate YEAR is a required field as well?
thanks CL |
#2
|
||||
|
||||
![]()
you need to edit the register.php file
(please make a backup before you do any changes) FIND IN register.php: Code:
if ($day == -1 OR $month == -1) Code:
if ($day == -1 OR $month == -1 OR $year == '') |
#3
|
|||
|
|||
![]()
What file would this be in for users editing their profiles? I have a lot of users who did not enter their year, or will remove the year.
|
#4
|
||||
|
||||
![]()
do the same ... profile.php
|
#5
|
||||
|
||||
![]()
The only drawback about requiring a year, is that most users will lie about the year if they don't want it entered. Kind of defeats the purpose, I guess.
![]() |
#6
|
||||
|
||||
![]()
yea ... it depends on the site (subject)
|
#7
|
|||
|
|||
![]() Quote:
but found it as: Code:
(bitwise(REGOPTION_REQBIRTHDAY, $vboptions['defaultregoptions']) AND ($day == -1 OR $month == -1)) Code:
(bitwise(REGOPTION_REQBIRTHDAY, $vboptions['defaultregoptions']) AND ($day == -1 OR $month == -1 OR $year == '')) ![]() ... as for lying, that will happen anyways... if they enter a year or not.. what ya gonna do?.. if only we could verify for proof of age with a CC. thanks for your help ![]() |
#8
|
||||
|
||||
![]()
yep ... that's it
![]() good work |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|