Announcement

Collapse
No announcement yet.

How do I make the age and birthdate be displayed in the profile by default?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I make the age and birthdate be displayed in the profile by default?

    How do I make the age and birthdate be displayed in the profile by default?

    Best Regards,
    Jan Jaap

  • #2
    Admin Control Panel > vBulletin Options > vBulletin Options > Thread Display Options (showthread)

    From here you can turn on to display age in posts.

    Comment


    • #3
      Hi there!

      Thanks for your reply, aldough it does not provide an answere to my question.

      By default, the age and birthday from users are set to be hidden. Is there any way to change that default setting?

      Best Regards,
      Jan Jaap

      Comment


      • #4
        Try this:

        Show Birthday
        Hide Age & Date of Birth: UPDATE user SET showbirthday = 0
        Display Age: UPDATE user SET showbirthday = 1
        Display Age & Date of Birth: UPDATE user SET showbirthday = 2

        Comment


        • #5
          AdminCp -> vBulletin Options -> vBulletin Options -> User Profile Options -> Require Date of Birth ->

          You still might want to edit out template: modifyprofile_birthday and hide or delete option list from users hiding age again.

          Comment


          • #6
            Hi there!

            Thanks for the replies! However, it is not what I need. I would like to have the option set to "display birthday and age" by default however, users should be able to hide it if they want to.

            Is there a simple possibility/setting for it to be able to do it?

            Best Regards,
            Jan Jaap
            Last edited by Adult SEO; Sat 27th Oct '07, 8:14am.

            Comment


            • #7
              It seems we're not on the same wavelength.

              Let's try another one

              Admin Control Panel > vBulletin Options > vBulletin Options > User Registration Options

              Comment


              • #8
                Once all that is done, you may want to make other users who have not fill birthdate prior to you make setting changes.

                You can just edit one of the four (4) default 'User Profile Fields' and or ccustom by
                Admin CP -> User Profile Fields -> User Profile Field Manager -> [Edit] -> Field Required: [Yes, Always]

                Comment


                • #9
                  Yes, however, it will not be displayed by default which is the problem.. I would like to have the age and birthdate displayed by default after registration.

                  Comment


                  • #10
                    # find two (2) instance in template: modifyprofile_birthday
                    # add option attribute for default selection
                    Code:
                    				<tr>
                    					<td>
                    						$vbphrase[privacy]<br />
                    						<select name="showbirthday">
                    						<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] selected="selected">$vbphrase[display_age_and_dob]</option>
                    						</select>
                    					</td>
                    				</tr>
                    Could not get it to work the first time, as for some reason when I am Administrator I see option as 'Display Age adn Full Date of Birth', but as regular user it shows 'Hide Age and Date of Birth'. I then found two instance of what is shown above, but the second instance should work and you can do the same for the first.

                    This is what you wanting to do I hope, as I was unable to find an option to set this from admin area. This sould be a function to control over and do not know why it was looked over.

                    Comment


                    • #11
                      I would like ALL user's ages to be displayed. This suggestion above would work moving forward, but how do I configure my forum to display the ages of all members who have previously registered as well?
                      http://www.lmbp.us/n.bmp


                      Maximum martinis,minimum bikinis!

                      Comment


                      • #12
                        See post #2, 2nd last option...

                        https://www.vbulletin.com/forum/show...tions-en-masse
                        Lats...

                        Comment

                        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                        Working...
                        X