Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Search Form Enhancement
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

blackinwhite
Average Member

Turkey
657 Posts

Posted - 28 September 2002 :  19:46:10  Show Profile
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


Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 28 September 2002 :  22:47:21  Show Profile
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
Go to Top of Page

corneillie
Junior Member

140 Posts

Posted - 29 September 2002 :  05:24:49  Show Profile  Visit corneillie's Homepage
Thanks a lot !!
Great job!

Steven
Go to Top of Page

corneillie
Junior Member

140 Posts

Posted - 29 September 2002 :  10:59:42  Show Profile  Visit corneillie's Homepage
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
Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 29 September 2002 :  13:03:54  Show Profile
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
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 29 September 2002 :  13:17:54  Show Profile  Visit PeeWee.Inc's Homepage
400 forums? thats one hell of alot of forums!

De Priofundus Calmo Ad Te Damine
Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 29 September 2002 :  15:09:16  Show Profile
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.
Go to Top of Page

corneillie
Junior Member

140 Posts

Posted - 29 September 2002 :  17:28:04  Show Profile  Visit corneillie's Homepage
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
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 29 September 2002 :  18:21:56  Show Profile
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
Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 29 September 2002 :  22:16:32  Show Profile
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.
Go to Top of Page

corneillie
Junior Member

140 Posts

Posted - 30 September 2002 :  10:38:47  Show Profile  Visit corneillie's Homepage
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
Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 30 September 2002 :  11:32:19  Show Profile
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.
Go to Top of Page

kwhipp
Junior Member

USA
407 Posts

Posted - 30 September 2002 :  15:14:07  Show Profile  Visit kwhipp's Homepage  Send kwhipp an AOL message  Send kwhipp an ICQ Message  Send kwhipp a Yahoo! Message
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
Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 30 September 2002 :  17:23:41  Show Profile
Awesome...another good catch. Thanks Kevin.

I'll get that updated tonight.
Go to Top of Page

kwhipp
Junior Member

USA
407 Posts

Posted - 01 October 2002 :  16:54:34  Show Profile  Visit kwhipp's Homepage  Send kwhipp an AOL message  Send kwhipp an ICQ Message  Send kwhipp a Yahoo! Message
work mule II -

Should this (http://forum.snitz.com/forum/topic.asp?TOPIC_ID=36153) also be changed in the Search Form Enhancement code?

- Kevin
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07