Dissabale birthday ?

Started by Methen, February 02, 2010, 03:08:39 PM

Previous topic - Next topic

Methen

In 2.0 can you dissabale all birthday features ?
Somebody is asking for a Hinne Whooping!

adbrad

Quote from: Methen on February 02, 2010, 03:08:39 PM
In 2.0 can you dissabale all birthday features ?

will need more details than this, what exactly do you want to disable

Methen

#2
Hmm I thought that was plenty of detail
Ok Lets try it this way
Can I dissable any and all features that would be involved in
in allowing members to display there birthday short of just posting the infomation, for example any thing that would be involved such as asking birthday info such as in profile and or calender info.
Somebody is asking for a Hinne Whooping!

adbrad

to remove the option from the profile would probably need a code change but you can disable the display by going to admin>configuration>calendar>calendar settings and change the display birthdays option to never.
or go to admin>configuration>core features and disable the calendar all together.

Methen

Ok what about users profiles ?
Somebody is asking for a Hinne Whooping!

Jakob Fel

On profiles, the users themselves have to disable if their birthday is displayed.
Freelance writer and advocate for security, privacy & DRM-free distribution
Support and Community Management at SMFNew Free Forum Hosting

KensonPlays

@Joquan Games Studios:
There is a way, in the code, to completely remove the fields, and in the registration, that too as well as not needing it to complete registration, will just require removing code...

Jakob Fel

Quote from: Kcmartz on February 03, 2010, 01:38:48 PM
@Joquan Games Studios:
There is a way, in the code, to completely remove the fields, and in the registration, that too as well as not needing it to complete registration, will just require removing code...

Oh really? I had no clue.  :P
Freelance writer and advocate for security, privacy & DRM-free distribution
Support and Community Management at SMFNew Free Forum Hosting

KensonPlays

That is what code does, display and do stuff!

Jakob Fel

Quote from: Kcmartz on February 03, 2010, 03:22:33 PM
That is what code does, display and do stuff!

Well, I know that.  :D
Freelance writer and advocate for security, privacy & DRM-free distribution
Support and Community Management at SMFNew Free Forum Hosting

KensonPlays

* Kcmartz is awesome and wierd at the same time!

Jakob Fel

Freelance writer and advocate for security, privacy & DRM-free distribution
Support and Community Management at SMFNew Free Forum Hosting

KensonPlays

I know aren't I cool?
* Kcmartz is also bored!

Jakob Fel

Freelance writer and advocate for security, privacy & DRM-free distribution
Support and Community Management at SMFNew Free Forum Hosting

greyknight17

@Kcmartz & Joquan, please stick to the topic....

@Methen, do you still need help with this? We can definitely provide instructions on how to do this if needed. Do you also want to remove the Age field in the profile then?

Afro

theme/profile.template.php

find and remove

// Callback function for entering a birthdate!
function template_profile_birthdate()
{
global $txt, $context;

// Just show the pretty box!
echo '
<dt>
<strong>', $txt['dob'], ':</strong><br />
<span class="smalltext">', $txt['dob_year'], ' - ', $txt['dob_month'], ' - ', $txt['dob_day'], '</span>
</dt>
<dd>
<input type="text" name="bday3" size="4" maxlength="4" value="', $context['member']['birth_date']['year'], '" class="input_text" /> -
<input type="text" name="bday1" size="2" maxlength="2" value="', $context['member']['birth_date']['month'], '" class="input_text" /> -
<input type="text" name="bday2" size="2" maxlength="2" value="', $context['member']['birth_date']['day'], '" class="input_text" />
</dd>';
}

Advertisement: