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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Adult SEO
    Senior Member
    • Jun 2006
    • 110
    • 3.5.x

    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
  • Floris
    Senior Member
    • Dec 2001
    • 37767

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

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

    Comment

    • Adult SEO
      Senior Member
      • Jun 2006
      • 110
      • 3.5.x

      #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

      • Floris
        Senior Member
        • Dec 2001
        • 37767

        #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

        • Jose Amaral Rego
          Senior Member
          • Feb 2005
          • 11058
          • 1.1.x

          #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

          • Adult SEO
            Senior Member
            • Jun 2006
            • 110
            • 3.5.x

            #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 27 Oct '07, 8:14am.

            Comment

            • Floris
              Senior Member
              • Dec 2001
              • 37767

              #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

              • Jose Amaral Rego
                Senior Member
                • Feb 2005
                • 11058
                • 1.1.x

                #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

                • Adult SEO
                  Senior Member
                  • Jun 2006
                  • 110
                  • 3.5.x

                  #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

                  • Jose Amaral Rego
                    Senior Member
                    • Feb 2005
                    • 11058
                    • 1.1.x

                    #10
                    # find two (2) instance in template: modifyprofile_birthday
                    # add option attribute for default selection
                    Code:
                    [COLOR="Blue"]				<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] [COLOR="Red"][B]selected="selected"[/B][/COLOR]>$vbphrase[display_age_and_dob]</option>
                    						</select>
                    					</td>
                    				</tr>[/COLOR]
                    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

                    • Nauti Rogue
                      Member
                      • Jan 2011
                      • 40
                      • 4.2.X

                      #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

                      • Lats
                        Senior Member
                        • Mar 2002
                        • 3671

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

                        Lats...

                        Comment

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