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)
 ADD-ON to Classifieds: Search Function
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

blackinwhite
Average Member

Turkey
657 Posts

Posted - 14 May 2002 :  11:16:53  Show Profile
I have seen many people who asks for a search function for classifieds mod. So this is a search add-on.

Description.
Searches the ADS_CONTENT table and lists the submitted_by, ID, AD_TITLE, PRICE and URL values. (this can be easily changed.)

I have done it purely personal purposes, so it's color schema is CSS-based, and the layout is my site's layout.

You may need to change it to your color schema.

just download the .zip file and unzip the files inc_class_ara.asp and class_ara.asp files to your forum directory.

include inc_class_ara.asp file to somewhere in your classifieds mod files.

that's it.

related zip file.

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 16 May 2002 :  03:53:40  Show Profile
Blackinwhite,

Just what I am after, but do you have an english version as I do not understand some of the words that get displayed:

Arıyorum Başlık Tarih Websitesi Ekleyen

If you can advise me what these words are, maybe I could alter to make it a more general version if that is ok..

quote:

I have seen many people who asks for a search function for classifieds mod. So this is a search add-on.

Description.
Searches the ADS_CONTENT table and lists the submitted_by, ID, AD_TITLE, PRICE and URL values. (this can be easily changed.)

I have done it purely personal purposes, so it's color schema is CSS-based, and the layout is my site's layout.

You may need to change it to your color schema.

just download the .zip file and unzip the files inc_class_ara.asp and class_ara.asp files to your forum directory.

include inc_class_ara.asp file to somewhere in your classifieds mod files.

that's it.

related zip file.





Regards,

Webmaster @ Classic Motorycling Australia
Classic Motorcycling Australia
Go to Top of Page

blackinwhite
Average Member

Turkey
657 Posts

Posted - 16 May 2002 :  05:32:05  Show Profile
I am sorry, I just forgot about them.

titles must be,

Price | Title | Date | URL | Submitted by


you may also need to change "price" part.

starting with line 67, you'll see this.

<td align="center" valign="middle"><span class=dikkat>             

<% if (rsSearch.Fields.Item("PRICE").Value) = 1 then
response.Write "Eleman"
else
response.Write "İş"
end if
%>

</font></td>


change it with
<td align="center" valign="middle"><span class=f11v>        

<%=(rsSearch.Fields.Item("PRICE").Value) %>
</font></td>



you may easily add some more extra fileds to this (like picture, city, zip, address.

if you need to do this, let me know.

Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 16 May 2002 :  15:01:54  Show Profile
Blackinwhite,

That got it working, thanks... I shall work on a more general version over the next week.

Cheers,

David
Go to Top of Page

Kent
Junior Member

United States
193 Posts

Posted - 16 May 2002 :  22:07:55  Show Profile
Blackinwhite, that was a great start. I hacked my way through getting it working, even though I'm not a programmer. It certainly was a great starting point.

David, seeing some of the work you've done on your site, could you consider modifying the results page to adding also display the Category that an ad is found in... As soon as I implemented this, my users asked for that enhancement -- to somehow separate the ads that it finds, since it searches all categories. I have both Wanted and For Sale ads in multiple categories. An even nicer alternative would be to limit the search by picking the Category from a dropdown list, while retaining an option for All (the default)...

Wow -- sounds like I'm not satisfied when actually I'm very happy to have it and have it working...





Edited by - Kent on 16 May 2002 22:08:34
Go to Top of Page

stwilson
Junior Member

USA
385 Posts

Posted - 18 June 2002 :  03:17:19  Show Profile  Visit stwilson's Homepage
Do any of you know if any further development is being done for the classified mod? I need a working copy that allows for image uploads. I have some code that does allow for image upload but it is a little off.

I have posted my issue here:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=29400

Do any of you have image upload capability for your classifieds?

STW

Go to Top of Page

lancepr
New Member

73 Posts

Posted - 18 June 2002 :  09:36:33  Show Profile
Where is a link for the classifieds code?

I did a search but only found this topic.
Thanks.

Go to Top of Page

Pouyan
New Member

91 Posts

Posted - 19 June 2002 :  03:05:49  Show Profile
I wonder if anyone is ever going to enhance the Classifieds mod. It is such a useful & popular mod !!! I wish we could get more advanced with this...
Go to Top of Page

blackinwhite
Average Member

Turkey
657 Posts

Posted - 20 June 2002 :  05:52:29  Show Profile
quote:

Where is a link for the classifieds code?

I did a search but only found this topic.
Thanks.





it must be in Azknightown site, but I don't remember the url. HuwR's code has it if you like.

I have SR1.
http://www.ismailk.net/misc/snitz/classifieds_sr1.zip


Go to Top of Page
  Previous Topic Topic Next Topic  
 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.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07