MyBB Community Forums

Full Version: Change todays birthday to birthday of the week on index
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Change [ todays birthday ] to [ birthday of the week ] on index

Hi Communitymof MyBB, maybe someone can help me.
¿how can change to display [ todays birthday ] to [ birthday of the week ] on index on my Board of MyBB?
[Image: Captura-de-pantalla-2019-09-22-a-la-s-9-58-57-a-m.png]

looking through the community, found plugins like Date of Birth on Registration, but that It doesn't need for me, I'm looking for another performance...

On Github, // Build the birthdays for to show on the index page.

The Line 204, // First, see what day this is.

	// First, see what day this is.
	$bdaycount = $bdayhidden = 0;
	$bdaydate = my_date('j-n', TIME_NOW, '', 0);
	$year = my_date('Y', TIME_NOW, '', 0);
	$bdaycache = $cache->read('birthdays');

I don't know which variable to change to show [birthday of the week]

Any comments or help or feedback is welcome!

Thanks in advence!
I would like to know as well if possible.. don't want to create a separate topic with the query :/