Hello,
"Show Topics" is not displaying proper message when there's no message in the forum for the selected time span (2 weeks, 6 months, etc).
The code in "forum_topics.asp" reads:
'Initialse the string to display when the topics are show up till Select Case intShowTopicsFrom Case 0 strShowTopicsFrom = strTxtFewYears case 7 strShowTopicsFrom = strTxtWeek case 14 strShowTopicsFrom = strTxtTwoWeeks Case 31 strShowTopicsFrom = strTxtMonth Case 62 strShowTopicsFrom = strTxtTwoMonths Case 182 strShowTopicsFrom = strTxtSixMonths Case 365 strShowTopicsFrom = strTxtYear End Select
|
However, the "case" values do not match the "select" tag in this file or "admin_forum_details.asp". Change the code like following:
'Initialse the string to display when the topics are show up till Select Case intShowTopicsFrom Case 0 strShowTopicsFrom = strTxtFewYears case 1 strShowTopicsFrom = strTxtLastVisitOn case 2 strShowTopicsFrom = strTxtYesterday case 3 strShowTopicsFrom = strTxtWeek case 4 strShowTopicsFrom = strTxtMonth case 5 strShowTopicsFrom = strTxtTwoMonths case 6 strShowTopicsFrom = strTxtSixMonths case 7 strShowTopicsFrom = strTxtYear End Select
|
The above changes solved the issue.
Regards,
Omid