TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 110
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 67
  • Total: 67

upcoming birthdays

Started by gijs, November 09, 2005, 07:16:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gijs

is there any code around for upcoming birthdays (events, etc) in a block?

winrules

They these in a php-block:

for just birthdays:
ssi_todaysBirthdays();

for holidays:
ssi_todaysHolidays();

for events:
ssi_todaysEvents();

and for the whole calendar:
ssi_todaysCalendar();

gijs

That will only give today's stuff, I'm looking for upcoming birthdays (incl today's by the way)

winrules

No, the function names are confussion but it actually gives all birthdays in i think 7 days.

bloc

An even longer if you set the timespan higher. "Admin / calendar" or "admin / features and options / calendar".

gijs

Great!

Is there a way to also display the dates of the birthdays?

Now it sais for example:
gijs (32)

when clicking on a name/age, it only shows the members/users profile, but the birthday is lacking, so no clue when the birthday is...

what I like is:
gijs (32, nov 23)

or something similar.


winrules

Quote from: gijs on November 10, 2005, 02:49:39 PM
Great!

Is there a way to also display the dates of the birthdays?

Now it sais for example:
gijs (32)

when clicking on a name/age, it only shows the members/users profile, but the birthday is lacking, so no clue when the birthday is...

what I like is:
gijs (32, nov 23)

or something similar.


No, not unless you make your own database call or edit ssi.php

This website is proudly hosted on Crocweb Cloud Website Hosting.