The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How do I enable "show age and DOB" by default?
I want to change the options around a bit so that the default option thats selected when a user register is "Display age and date of birth" instead of "hide age and date of birth" being the default.
The reason for this is im going to comment that little section of code for that drop down box out, so the user is forced to display the age and DOB. If i simply comment it out now, then it will hide that stuff by default. |
#2
|
|||
|
|||
It should be in vBOptions > User Registration Options > Default Registration Settings.
|
#3
|
||||
|
||||
errr.... im not sure i was totally clear on this.
I know its in the options, but what i want to do, is with the actual code, change it so that show age and DOB is the first selected option..... through code, not through the ACP, if that makes any sense at all.. like the code for the drop down box. |
#4
|
|||
|
|||
Does anybody know how to make this the default on the site...I have seen it like this when registering on other sites
|
#5
|
|||
|
|||
Quote:
here is a way to set all the current users to show birthdays: run this mysql query in phpmyadmin Code:
UPDATE user SET showbirthday='2' WHERE showbirthday='0' |
#6
|
||||
|
||||
They're right, Kerry-Anne, the option is definitely not there. How can we add it?
Thanks, Joe I have exactly enough knowledge of PHP and Phpmyadmin to be dangerous. How exactly do I run this query? When phpmyadmin loads, I select database vbulletin, click on query, and add the text you quoted to the "SQL query on database vbulletin:" field, and then click "Submit Query." I get this in response: You have to choose at least one column to display What am I doing wrong? |
#7
|
||||
|
||||
Any advice?
Apparently not... |
#8
|
|||
|
|||
Actually this can be done directly from your admin panel.
Sign into your admin panel and click on Maintenance > Execute SQL Query Enter that code into the manual Query box. Then enter continue. You will be asked to confirm Query Execution click continue again and Viola you have every one's birthdays displayed!!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|