Author |
Topic |
blackinwhite
Average Member
Turkey
657 Posts |
Posted - 28 September 2002 : 19:46:10
|
for the month names, this function must work.
function monthName(intMonth,value)
if (intMonth = 1) then monthName = "Ocak"
if (intMonth = 2) then monthName = "Şubat"
if (intMonth = 3) then monthName = "Mart"
if (intMonth = 4) then monthName = "Nisan"
if (intMonth = 5) then monthName = "Mayıs"
if (intMonth = 6) then monthName = "Haziran"
if (intMonth = 7) then monthName = "Temmuz"
if (intMonth = 8) then monthName = "Ağustos"
if (intMonth = 9) then monthName = "Eylül"
if (intMonth = 10) then monthName = "Ekim"
if (intMonth = 11) then monthName = "Kasım"
if (intMonth = 12) then monthName = "Aralık"
end function
|
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 28 September 2002 : 22:47:21
|
Updated (see first post)
- Added options to:
Customize Month List Customize Staff List
- Can choose not to display a list of staff members.
- Can choose the format of how months are displayed.
- Can choose the order of the day, month, year lists.
- Modified the messages if no keywords/authors are provided.
- Modifed the search results information. It now displays what you were searching for on the results page.
- Fixed it so common words are included in searches for exact phrases.
Thank you to everyone who has tried it out and posted your feedback. I appreciate it greatly.
Enjoy!
|
Edited by - work mule on 28 September 2002 22:48:19 |
|
|
corneillie
Junior Member
140 Posts |
Posted - 29 September 2002 : 05:24:49
|
Thanks a lot !! Great job!
Steven |
|
|
corneillie
Junior Member
140 Posts |
Posted - 29 September 2002 : 10:59:42
|
I have one more question:
When a search is made it says :"searched for ..... topics made by (Membername) ... This is ok but when you search for all members it doesn't says all members but only "by in all forums"
Thanks
PS: I'm using the drop down box for the members and no staff options |
Edited by - corneillie on 29 September 2002 11:03:18 |
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 29 September 2002 : 13:03:54
|
quote: Originally posted by corneillie
I have one more question:
When a search is made it says :"searched for ..... topics made by (Membername) ... This is ok but when you search for all members it doesn't says all members but only "by in all forums"
Thanks
PS: I'm using the drop down box for the members and no staff options
Good catch. Thanks for letting me know!!
I fixed it so it now says "All Members" on the results page.
I haven't kept the drop down list option on while working on this because the database I'm developing against has 70,000+ member records.
2505 of 70138 Members have made 18697 posts in 400 forums |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 29 September 2002 : 13:17:54
|
400 forums? thats one hell of alot of forums! |
De Priofundus Calmo Ad Te Damine |
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 29 September 2002 : 15:09:16
|
quote: Originally posted by PeeWee.Inc
400 forums? thats one hell of alot of forums!
The site that I'm working on converting to Snitz had been creating a forum for each club that registered on the site and also created a forum for whenever they posted surveys. The club forums were never used, but account for almost 300 of the forums. There's definitely a lot of re-structuring to do before it goes live.
However, I have to say that Snitz seems to be handling all of it pretty well. The default.asp took a couple of seconds longer to load, but really wasn't too bad considering it was loading 400 forums. |
|
|
corneillie
Junior Member
140 Posts |
Posted - 29 September 2002 : 17:28:04
|
Can I please ask one more question?
When the results are shown I get presented the date that was searched between. It is written like: 9/28/2000 and 9/28/2002. How can I get it written with the day first (dmy). I tried to change it in the code where changes can be made but it doesn't work. All the other dates in my forum are written like dmy
Sorry to be such a pain in the ..., but I like things to be perfect !
Thanks again Steven
|
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 29 September 2002 : 18:21:56
|
Line 1079 & 1104 remove the else ' at the beginning of the line
whoops - thought that would do it, but disregard |
Edited by - Carefree on 29 September 2002 18:41:15 |
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 29 September 2002 : 22:16:32
|
quote: Originally posted by corneillie
How can I get it written with the day first (dmy).
That was my intention.
Forgot to add in another function call.
File has been updated.
Line 617 was the original line. Line 618 is the modified line of code. If for some reason the new line doesn't work, then use Line 617.
Let me know if that does it. I didn't have time to test this change. |
|
|
corneillie
Junior Member
140 Posts |
Posted - 30 September 2002 : 10:38:47
|
This is the result I get using line 618. The date I used to search between was 30/08/2002 and 30/09/2002:
Posted Between 00//2/8/30 - 00//2/9/30
When I use line 617 it gives the date in mdy.
Thanks for your patience!
|
Edited by - corneillie on 30 September 2002 11:46:26 |
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 30 September 2002 : 11:32:19
|
LOL!! It figures, something that should be simple in theory is causing problems.
I know I can fix this. It's just a matter of finding the right function. I won't be able to get to look at this until later tonight. |
|
|
kwhipp
Junior Member
USA
407 Posts |
Posted - 30 September 2002 : 15:14:07
|
I would suggest changing lines 194 and 195 from:
start_date = start_month & "/" & start_day & "/" & start_year
end_date = end_month & "/" & end_day & "/" & end_year to this:
start_date = start_month & "/" & start_day & "/" & start_year & " 00:00:00"
end_date = end_month & "/" & end_day & "/" & end_year & " 23:59:59"
The problem I had what that posts on the end date were not included in the results. Adding the time will fix that. |
- Kevin |
|
|
work mule
Senior Member
USA
1358 Posts |
Posted - 30 September 2002 : 17:23:41
|
Awesome...another good catch. Thanks Kevin.
I'll get that updated tonight. |
|
|
kwhipp
Junior Member
USA
407 Posts |
|
Topic |
|