The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How do I set display DOB and age as default?
I'm using VB 3.6.7PL, and I still find it odd that this option isn't part of the standard vBulletin.
I've seen a lot of conflicting information on the subject, from people saying it IS in there (trust me, it isn't) to giving advice on how to change it that doesn't seem to work. (Though, for all I know, worked with previous versions...) So I'm asking again - how can you change things so that, instead of "hide age and date of birth," the default is "Display age and full date of birth?" Also, how would I go about changing already-existing user's defaults from hide to display? Thanks, Joe |
#2
|
||||
|
||||
Is there truly no way to do this??
|
#3
|
||||
|
||||
Edit the registration templates and add:
HTML Code:
checked="checked" |
#4
|
||||
|
||||
Not sound obstuse, but where exactly do I put that?
I'm assuming in modifyprofile_birthday? If so, where in this line do I add it? <option value="2" $sbselected[2]>$vbphrase[display_age_and_dob]</option> |
#5
|
|||
|
|||
<option value="2" $sbselected[2]>$vbphrase[display_age_and_dob]</option>
Reply With Quote to <option value="2" $sbselected[1]>$vbphrase[display_age_and_dob]</option> Reply With Quote |
#6
|
||||
|
||||
I did this, but it still uses Hide age and Dob as the default.
|
#7
|
|||
|
|||
$sbselected[1]
to $sbselected[0] |
#8
|
||||
|
||||
Okay, here's what I'm doing:
In modifyprofile_birthday, I'm changing both instances of: Code:
<option value="0" $sbselected[0]>$vbphrase[hide_age_and_dob]</option> <option value="1" $sbselected[1]>$vbphrase[display_age]</option> <option value="3" $sbselected[3]>$vbphrase[display_day_and_month]</option> <option value="2" $sbselected[2]>$vbphrase[display_age_and_dob]</option> Code:
<option value="0" $sbselected[2]>$vbphrase[hide_age_and_dob]</option> <option value="1" $sbselected[1]>$vbphrase[display_age]</option> <option value="3" $sbselected[3]>$vbphrase[display_day_and_month]</option> <option value="2" $sbselected[0]>$vbphrase[display_age_and_dob]</option> But when I look at the user in AdminCP, it shows them as having selected "Hide Age and date of birth" So what am I doing wrong? |
#9
|
||||
|
||||
Any other ideas?
|
#10
|
|||
|
|||
yeah me too!! anybody?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|