View Full Version : Birthday Edit?
BasilFawlty
12-05-2012, 02:56 AM
I did a search but found no definitive answers. After my import from UBBThreads to my new VB, I need to allow users to edit their birthdays, but they can't - that field can't be edited it seems. Is there a mod or does anyone know of a way to allow this?
ForceHSS
12-05-2012, 03:42 AM
change it in the options
BasilFawlty
12-05-2012, 04:12 AM
change it in the options
Could you be more specific? I've looked everywhere and can not see where I can allow users to edit their B-Day. Hence, my post here.
--------------- Added 1354712974 at 1354712974 ---------------
It appears it is hard wired. I ended up modifying template "modifyprofile_birthday" so that the conditional "<vb:if condition="$show['birthday_readonly']">" is not met (I simply changed birthday_readonly" to "birthday_notreadonly") and viola!, now members can edit their birthdays but new registrants still required to enter birthday.
BasilFawlty
12-10-2012, 01:37 AM
Well, for anyone who is interested in at least one way to allow members to modify their Birthdays in their profile, I futzed around and found a way that works, without changing the "Require Birthday" option. Go to AdminCP >> Search In Templates for "Birthday". Then, under the Modify User Options Templates open the "modify profile_birthday" template (in the Master Style if you want all styles fixed). At the very top of that template find:
<vb:if condition="$show['birthday_readonly']">
and change it to <vb:if condition="$show['birthday_notreadonly']"> (which will not be met when they go into their profile page), so they will now be able to change their Birthday. I did this because when I imported from another BB system, the Birthdays did not transfer correctly so now my existing users from the old forum system can update their profiles to correct their birth dates and also new members registering are still required to provide a Birthday.
Hope this is helpful so some.
Basil
ForceHSS
12-10-2012, 01:54 AM
admincp/options/User Profile Options/Require Date of Birth = No
As it is to do with members options it is not had to workout where the setting would be
BasilFawlty
12-10-2012, 02:03 AM
I guess I wasn't clear. Yes, I know that I can turn OFF "Require Date of Birth" and then current members could edit Birthdays in their profile. But I wanted to allow members to edit Birth Dates in their profile but still keep that option to require birthrates when they register set to YES. My mod does that.
ForceHSS
12-10-2012, 02:10 AM
no you where not clear the first time if you where then I could of helped
BasilFawlty
12-10-2012, 02:44 AM
I appreciate that.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.