Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted October 8, 20204 yr Hello, I created iin the Pages/CMS a news custom block with the source "plugin" from the category "System -> User". In the conditions I checked the "Has birthday this month". This block works well and shows all members who have birthday this month. Thats great. But one thing do I miss: At the moment the block show the member name, last visited and the registration date. But it would be great to show the birthday date insted of last visited and registered date. I looked at the template but there I have no idea how to achiev this! Any ideas? Thanks Benny
October 13, 20204 yr Author That is a solution: in the block template search for: <span class='ipsType_light ipsType_small'>{lang="widget_member_joined_date" htmlsprintf="$member->joined->html()"}</span> {{if $member->last_activity}} <br><span class='ipsType_light ipsType_small'>{lang="widget_member_last_active_date" htmlsprintf="\IPS\DateTime::ts( $member->last_activity )->html()"}</span> and replace this with: <span class='mt_Title'><i class="fa fa-birthday-cake" aria-hidden="true"></i> {lang="mt_bday"}:</span> <span class='mt_Content'>{$member->birthday}</span> Many thanks to @V0RT3X666 providing me this solution! Benny