
內容簡介
這個外掛可以創建一個多實例的「生日」小工具,您可以在 Buddypress 頁面中使用。一旦您在 Buddypress 簡介中創建了一個日期框字段並在 TLDC 生日小工具設置中引用它,小工具將顯示以下內容:今天所有 BP 用戶或僅連接的用戶的朋友的生日列表,以及如有需求,未來幾天即將到來的生日清單。如果安裝了 Andy Peatling 的 Buddypress Followers 互動外掛,該外掛現在也支持追踪您關注的人的生日。
因此,為了讓事情可以運作,您需要:
Buddypress 延伸簡介設置中的生日欄位
使用者在其簡介中填寫它
適當安裝和設置 TDLC 生日小工具(請參閱安裝)
功能:
僅顯示朋友、已追踪的人(如果已安裝 Buddypress Followers 外掛),或所有人的生日
顯示您選擇範圍內即將到來的生日,或僅顯示當天的生日
隱藏或顯示年齡
可選地建議您的使用者填寫他們的生日(如果尚未完成)
現在支持多個小工具實例!
備註:
本地化!目前已包括英語、法語、德語、匈牙利語、義大利語、日語、波蘭語、俄語和西班牙語。感謝翻譯人員!
顯而易見的是,在「僅顯示朋友」模式下,因為您只會看到您朋友的生日,您不會在小工具中看到自己的生日。這並不意味著您的朋友看不到它!與「追隨者」選項相同。
設定
為了讓小工具運作,您需要填寫出生日期字段名稱(或 ID)。出生日期字段必須先在 Buddypress 簡介頁面中創建(並應該是日期框類型字段)。當然,使用者還必須在其簡介頁面中填寫它...
其他設置都是自解釋的(或至少我希望如此)。
已知問題
一些翻譯不完整。除了法語和英語外,v0.2.5 中新增的與「追隨者」外掛支援相關的新字符串尚未翻譯。
如果您發現任何其他錯誤或想要要求一些未來版本的其他功能(如果我有時間,我可能會考慮),請在插件主頁面發表評論。
外掛標籤
開發者團隊
原文外掛簡介
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.
