Title: TDLC Birthdays
Author: Venutius
Published: <strong>14 Tháng 10, 2009</strong>
Last modified: 31 Tháng 7, 2024

---

Tìm kiếm plugin

![](https://ps.w.org/tdlc-birthdays/assets/banner-772x250.jpg?rev=1884983)

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://ps.w.org/tdlc-birthdays/assets/icon-256x256.png?rev=1884983)

# TDLC Birthdays

 Bởi [Venutius](https://profiles.wordpress.org/venutius/)

[Tải về](https://downloads.wordpress.org/plugin/tdlc-birthdays.1.1.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/tdlc-birthdays/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/tdlc-birthdays/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/tdlc-birthdays/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/tdlc-birthdays/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/tdlc-birthdays/)

## Mô tả

Update: I’ve revamped the plugin and improved it’s security, performance and styling.
And also, I’m in the middle of adding a feature to send out Birthday Emails to members.
You will see that I’ve created a settings page, and also most of the code has been
created. However, I’ve ran out of time to get this completed, for now, and thought
I’d send out the updated plugin, as it’s now significantly improved.

This is a Plugin that creates a multi-instance ‘Birthdays’ Widget that you can use
in your Buddypress pages. Once you’ve created a datebox field in the Buddypress 
profiles and referenced it in the TLDC Birthdays widget settings, the widget will
display the list of either all BP users or just the connected user’s friends whose
birthday is today and also, if you like, the list of upcoming birthdays within the
next n days. Plugin now supports Andy Peatling’s Buddypress Followers plugin when
installed, so that you can also track the birthdays of people you follow.

So to sum up, in order to get things to work, you’ll need :

 * A birthday field in the Buddypress extended profile settings
 * Users to fill it out in their profiles
 * The TDLC Birthdays widget properly installed and set up (see _Installation_)

Features :

 * Display only friends, or followed people (if BuddyPress Followers plugin is installed),
   or everybody’s birthday
 * Display upcoming birthdays within a range of your choice, or just today’s birthdays
 * Hide or show ages
 * Optionally suggest your users to fill out their birth date if not already done
 * Multiple widget instances now supported !

Remarks:

 * Localized! Currently English, French, German, Hungarian, Italian, Japanese, Polish,
   Russian and Spanish languages are included. Many thanks to the translators!
 * Sounds obvious but in “display friends only” mode, as you only see your friend’s
   birthdays, you wont see your own birthday in the widget. This does not mean that
   your friends don’t see it either! Same thing goes with the Followers option.

### Settings

 * In order to get the widget working, you need to fill out the _Birthday field 
   Name_ (or ID). The Birthday field must have been previously created in the _Buddypress
   profile page_ (and it should be a _datebox_ type field). Of course, the users
   must also fill it out on their profile pages…
 * The other settings are self-explanatory (or at least I hope so).

### Known Issues

 * Some translations are incomplete. The new strings related to the ‘Followers’ 
   plugin support added in v0.2.5 is not translated yet except for French and English.

If you find any other bugs or want to request some additional features for future
releases (which I may consider if I’ve got time), please post a comment on the plugin
homepage.

## Cài đặt

This section describes how to install the plugin and get it working.

 1. Download the archive and expand it.
 2. Upload the _tdlc-birthdays_ folder into your _wp-content/plugins/_ directory
 3. In your _WordPress Administration Area_, go to the _Plugins_ page and click _Activate_
    for _TDLC Birthdays_
 4. In the _Widgets_ page, you can now add the Birthday plugin wherver you like. Please
    note that the widget requires compulsory settings.

## Đánh giá

![](https://secure.gravatar.com/avatar/6fc4c02fe6897aada3282cb1032105360481a874d4c599d150494175254af7d3?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-10526/)󠁿

 [webrun](https://profiles.wordpress.org/webrun/) 22 Tháng 3, 2021

Fonctional, easy to use (if you know how to add a custom field) and its do even 
more than what i was looking for ! I was just looking to hide the year date, but
the capacity to hide together from differents user group make it even better. Thank
you for share this work.

 [ Đọc tất cả 4 đánh giá ](https://wordpress.org/support/plugin/tdlc-birthdays/reviews/)

## Người đóng góp & Lập trình viên

“TDLC Birthdays” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Venutius ](https://profiles.wordpress.org/venutius/)
 *   [ ptitneo ](https://profiles.wordpress.org/ptitneo/)
 *   [ jdekkers ](https://profiles.wordpress.org/jdekkers/)

[Dịch “TDLC Birthdays” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/tdlc-birthdays)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/tdlc-birthdays/), check 
out [SVN repository](https://plugins.svn.wordpress.org/tdlc-birthdays/), hoặc theo
dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/tdlc-birthdays/)
qua [RSS](https://plugins.trac.wordpress.org/log/tdlc-birthdays/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

*1.2.0

 * New (nearly) most of the work to add the ability to send users birthday emails
   has been done, this should be complted by the next major release.
 * New: plugin now checks if there is data to show, and does not print if that is
   the case.
 * Upgrade:Improved styling in the widget output.
 * Upgrade: Added security in the form of more sanitizing and escaping.

_1.0.2_

 * 08/01/2021

 1. [BUG] Fixed Error when show profile link not set.

_1.0.1_

 * 06/10/2018

 1. [BUG] Fixed show age setting removal error.
 2. [BUG] Fixed show link setting removal error.
 3. [ENH] Added NL language translation, thanks to jdekkers

_1.0.0_

 1. [BUG] Fixed missing serveroffset variable
 2. [BUG] Fixed Follow variable problem
 3. [BUG] Fixed deprecated class constructor issue.
 4. [BUG] Fixed deprecated Widget constructor issue.
 5. [BUG] Corrected function names
 6. [UPDATE] New plugin owner, details updated.

_0.4_

 1. [ENH] You can now add multiple instances of the widget to your sidebars (Note :
    _old settings will be lost_ during upgrade from earlier version!)

_0.3.2_

 1. [ENH] Now compatible with BP1.5 – older versions of the plugin could not read the
    user metadata (birthdate) properly anymore due to a change in BP1.5. Thanks to 
    Jeff for finding out about that.
 2. [ENH] Added an option to display a link offering to edit user’s profile if their
    birthdate is missing (merci NoahY). Warning : translation only available in English
    and French for now.

_0.3.1_

 1. [BUG][Regression] Ids for the birthdate field were not allowed anymore in v0.3 (
    only field name). Now fixed.
 2. [BUG] “Birthday within N days” results list did not include the Nth day, thanks
    to Chestnut.
 3. [ENH] Code improvement in the UTC offset time management, thanks to Chestnut again
    and Steve for testing.

_0.3_

 1. [ENH] Code optimization, rewrote database queries. The performance should now be
    WAY better in buddypress setups with a large number of users. Feedback welcome !
 2. [ENH] Japanse translation now available thanks to Chestnut. Yataa !
 3. [BUG] Rewrote the GMT offset fix of 0.2.8 for better efficiency. It should cover
    all cases now. Thanks to Steve for helping me with the troubleshooting.

_0.2.8_

 1. [BUG] Fixed a date issue occuring when the main blog uses a GMT offset, causing
    the birth date to be displayed one day before or after the actual date. This issue
    was due to change https://buddypress.trac.wordpress.org/changeset/3651 in Buddypress.
    Thanks to Pisanojm and seballero.

_0.2.7_

 1. Repost of 0.2.6 with missing language files (cvs error)

_0.2.6_

 1. [BUG] Fixed a PHP warning due to array_merge() function in PHP5 (thanks Wally)
 2. [BUG] Fixed another PHP warning regarding spam users, should complement the 0.2.3
    fix (merci Emmanuel)

_0.2.5_

 1. [ENH] Now supports the BuddyPress Followers plugin! https://wordpress.org/extend/
    plugins/buddypress-followers/ Check the new options in the widget settings. Thanks
    to Michael Lovelock for suggesting this feature. _Message to the plugin translators_:
    a few new strings have been added, you may want to update your language files 🙂
 2. [ENH] Hungarian translation brought to us by Boris Yakshov, thanks!
 3. [ENH] Russian translation updated by Mac, thanks!
 4. [BUG] When a user had no birth year, the displayed age was “0 year”.
 5. [BUG] Some HTML code was wrong in the widget Settings, causing weird behaviour 
    of the labels (only in IE). Thanks to supervinnie40 for noticing.

_0.2.4_

 1. [ENH] Spanish translation provided by Jorge Epuñan, thanks!

_0.2.3_

 1. [BUG] The change introduced in v0.2.2 regarding spam users caused a PHP warning
    on some installations. This should be fixed now.
 2. [ENH] Polish language added, thanks to Sousuke.

_0.2.2_

 1. [BUG] The plugin does not display spam users anymore. Thanks Sam for noticing.
 2. [ENH] Small changes in the layout (does not mess up anymore when 2 or more people
    have the same birthday).

_0.2.1_

 1. [BUG] Small typos fixed in the English version.

_0.2_

 1. [ENH] Now compatible with Buddypress 1.2, slight layout alterations to fit the 
    new default theme.

_0.1.7_

 1. [ENH] Russian language added, thanks to Valairus.

_0.1.6_

 1. [ENH] German language added, thanks to Uwe.

_0.1.5_

 1. [ENH] Two modes are now available in the settings: either display the birthdays
    of the user’s friend (that’s the legacy mode, which requires a registered, logged
    in user with some friends), or display the birthdays of any and all users of the
    BP install (works for anonymous visitors, suitable for small communities). Thanks
    to Arend from the Netherlands for the idea 😉
 2. [ENH] A bit of code refactoring, also languages files are now located in a dedicated
    directory.

_0.1.4_

 1. [ENH] Italian translation included, thanks to Daniele Argiolas.

_0.1.3_

 1. [ENH] New option : hide people’s age in the widget.
 2. [ENH] Should be PHP4 compatible now.

_0.1.2_

 1. [BUG] User with no friends or not connected are now properly handled with dedicated
    error messages (thanks Zuegmut).
 2. [ENH] Now displays avatars (small one for upcoming birthdays, big one for today’s
    birthdays).

_0.1.1_

 1. [BUG] Small bug fixed in the age calculation function (was wrong if the birthday
    was after Dec 31).

_0.1_

 1. Initial release.

## Meta

 *  Phiên bản **1.1.0**
 *  Cập nhật lần cuối **2 năm trước**
 *  Số lượt cài đặt **100+**
 *  Đã kiểm tra lên đến **6.6.10**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/tdlc-birthdays/)
 * Thẻ
 * [birthdays](https://vi.wordpress.org/plugins/tags/birthdays/)[buddypress](https://vi.wordpress.org/plugins/tags/buddypress/)
   [emails](https://vi.wordpress.org/plugins/tags/emails/)[widget](https://vi.wordpress.org/plugins/tags/widget/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/tdlc-birthdays/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/tdlc-birthdays/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/tdlc-birthdays/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/tdlc-birthdays/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/tdlc-birthdays/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/tdlc-birthdays/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/tdlc-birthdays/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/tdlc-birthdays/reviews/)

## Những người đóng góp

 *   [ Venutius ](https://profiles.wordpress.org/venutius/)
 *   [ ptitneo ](https://profiles.wordpress.org/ptitneo/)
 *   [ jdekkers ](https://profiles.wordpress.org/jdekkers/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/tdlc-birthdays/)