Author |
Topic |
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 31 January 2015 : 23:32:10
|
Look for this in "default.asp":
Call DisplayBirthdays
The number in parentheses immediately after that is the range of recent birthdays to show. In the modular forum, I added a setting from an admin page instead of requiring forum admins to change the code. If you're using my change, it will say something like this:
Call DisplayBirthdays(intB_Range,intB_Age)
In that case, you'll have to go to "admin_birthdays.asp" in order to change the setting. |
Edited by - Carefree on 31 January 2015 23:37:16 |
|
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 01 February 2015 : 00:58:47
|
The default.asp has this: Call DisplayBirthdays(30,0). Isn't that what it should have, Carefree?
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
|
Maxime
Average Member
France
521 Posts |
Posted - 01 February 2015 : 01:27:11
|
Hello,
Home on my default.asp page, I have that Call DisplayBirthdays(30,1) |
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
|
Edited by - Maxime on 01 February 2015 01:27:31 |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 01 February 2015 : 02:22:44
|
30,1 means the date range is 30 days, displaying the users' ages. 30,0 would show birthdays but not ages.
|
|
|
Maxime
Average Member
France
521 Posts |
Posted - 01 February 2015 : 02:36:33
|
Hello Carefree,
Thank you I did not know. I post at my anniversary date and age. Here is a picture of the birthday display, unfortunately for you it's in French
|
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
|
|
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 01 February 2015 : 09:54:14
|
quote: Originally posted by Carefree
30,1 means the date range is 30 days, displaying the users' ages. 30,0 would show birthdays but not ages.
Then my default.asp setting "Call DisplayBirthdays(30,0)" is correct for my upcoming birthdays. It's displaying upcoming birthdays for the month of February without displaying members' ages.
Is there a different setting that needs to be changed for the recent birthdays listings since it's displaying the entire year?
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
Edited by - MaGraham on 01 February 2015 09:59:32 |
|
|
Maxime
Average Member
France
521 Posts |
Posted - 01 February 2015 : 11:06:56
|
To show the age of the member must put that (30.1) made a test |
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
|
|
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 01 February 2015 : 23:54:11
|
Thanks, Maxime, but I don't wish to display members' age.
My only concern is that which I stated in my last post.
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
|
Maxime
Average Member
France
521 Posts |
Posted - 02 February 2015 : 03:45:45
|
But age is displayed on the profile of the members since the anniversary date should be mandatory for this feature to work .. We must ask our Carefree specialist. |
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
|
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 02 February 2015 : 09:48:08
|
30,0 (change the 30 to how many days you want to display) will display the birthdays, but not the members' ages.
30,1 displays the ages, as well. |
|
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 02 February 2015 : 11:15:21
|
Any ideas on what could cause it to display recent birthdays for the entire year, Carefree?
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 02 February 2015 : 21:41:48
|
Best guess is that your "inc_birthdays.asp" has been changed in some way. My test version here didn't change its behavior. |
|
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 02 February 2015 : 23:41:05
|
I replaced my inc_birthdays.asp with a backup and it's working fine now.
I admit, I would not have thought of that, Carefree.
Thank you so much!
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 08 February 2015 : 11:08:41
|
When I did my last reply to this I failed to realize the upcoming birthdays were displaying incorrectly. March birthdays are being displayed before February birthdays, but only some of the March birthdays are currently displayed.
Here's the pattern I've observed. It only displayed March 1-7 birthdays at first (first week of March). But now that we are in the second week of the month, it's now displaying any birthdays for the second week of March. However; all the while, it displays the entire month of February birthdays.
This really has me scratching my head!
Here is my inc_birthdays.asp below if someone has time to look at it.
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
|
Maxime
Average Member
France
521 Posts |
Posted - 09 February 2015 : 03:18:30
|
Hello,
See line 56 you have it: strsql = "SELECT MEMBER_ID, M_NAME, M_DOB FROM " & strMemberTablePrefix & "MEMBERS WHERE M_DOB<>'' AND M_STATUS=1 ORDER BY mid(M_DOB,5,2) DESC, mid(m_dob,7,2) ASC"
My file to me what I have: strsql = "SELECT MEMBER_ID, M_NAME, M_DOB FROM " & strMemberTablePrefix & "MEMBERS WHERE M_DOB<>'' AND M_STATUS=1 ORDER BY Right(M_DOB,4)"
Made a test if this is? |
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
|
|
|
Topic |
|
|
|