Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 13, 2012, 12:58:04 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
149699
Posts in
21103
Topics by
7538
Members
Latest Member:
ionline
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Dealer Search
Pages: [
1
]
Go Down
Author
Topic: Dealer Search (Read 951 times)
SnapDaddy
Offline
Posts: 34
Dealer Search
«
on:
July 15, 2009, 11:27:01 PM »
Hi Bakers,
I'm need to recreate a Dealer Search function from our old website where a visitor can enter their zip and a list of local Dealers would display.
Has anyone written a module or snippet to do something like this? I would need to have an admin back end to add and manage the dealers database.
May be something close I could start with...I share when I'm done!
Thanks
Logged
Remember, experience is what you get when you don’t get what you want…
Olli
Offline
Posts: 288
Re: Dealer Search
«
Reply #1 on:
March 03, 2010, 08:07:40 PM »
hey,
quite old topic, but have you tried to use the members module?
it has all you need and can hold a lot of data fields. you only need to adjust the output masks (which is very easy).
all the best
Logged
SnapDaddy
Offline
Posts: 34
Re: Dealer Search
«
Reply #2 on:
March 03, 2010, 08:52:59 PM »
Thanks for the reply...funny thing, I'm just now starting to work on that project. Is the member module an add-on or core?
Logged
Remember, experience is what you get when you don’t get what you want…
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: Dealer Search
«
Reply #3 on:
March 04, 2010, 12:38:59 AM »
members is an addon module. I belive it would be very easy to create something like this, even as a new module.
what would be the input and output, maybe I can help if I have some time.
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
SnapDaddy
Offline
Posts: 34
Re: Dealer Search
«
Reply #4 on:
March 04, 2010, 01:58:26 AM »
Thanks crnogorac081,
The current search has 2 fields for input. Zip (postal) code or Keywords. There is also a sort by option, either by zip or dealer name.
The db has the basic dealer name, address & phone # fields.
Would also like to include a separate form / function for dealers to request to be included in the search db. Once the dealer submits request, admin would approve, then would be added to the search db.
Any help would be greatly appreciated!
Logged
Remember, experience is what you get when you don’t get what you want…
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: Dealer Search
«
Reply #5 on:
March 05, 2010, 02:49:03 AM »
Hi,
Here is a fresh baked dealers module [GO 2 POSTS BELOW]
address,phone and other info are in one field called info, so put all text info there, like:
Code:
address: This street n.123
phone: 123-456
more: accepts credit cards
I belive it will suit your needs
all best,
Ivan
«
Last Edit: March 05, 2010, 11:32:05 AM by crnogorac081
»
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
snark
Guest
Re: Dealer Search
«
Reply #6 on:
March 05, 2010, 07:37:37 AM »
it brings me a blanc page in both 2.7 as 2.8
Notice: Undefined index: action in /home/users/ ..... /modules/dealers/modify.php on line 20
Logged
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: Dealer Search
«
Reply #7 on:
March 05, 2010, 11:31:18 AM »
Here is a new file.
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
SnapDaddy
Offline
Posts: 34
Re: Dealer Search
«
Reply #8 on:
March 05, 2010, 05:55:27 PM »
Excellent crnogorac081,
Very much appreciated!
Got it installed, created page and can view the search button and field. However, I didn't notice any way to add dealers from BE. Looks like you wrote some code, but not showing up under Modify Page? Is this where I should take over?
BTW, where would I find info on the Members Modul? I search, but just found enhancements to the original...
Thanks again!
«
Last Edit: March 05, 2010, 06:29:00 PM by SnapDaddy
»
Logged
Remember, experience is what you get when you don’t get what you want…
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: Dealer Search
«
Reply #9 on:
March 05, 2010, 06:52:44 PM »
you said you want to create dealers from FE, so when you create it in fe,it becomes visible in be,where you must approve it to become visible in fe search form.. then, you can also modify or delete it in be, but I dint make it that you can create new dealer from be.
Also, there is a language file for english only, i dont know if you noticed, so set .your lang to english while you test the module, I assume that may be reason why you didnt see Add dealer link.
You can find members module in AMASP, stabile version 0.7, and beta 0.8 on forum
I
«
Last Edit: March 05, 2010, 06:58:20 PM by crnogorac081
»
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
SnapDaddy
Offline
Posts: 34
Re: Dealer Search
«
Reply #10 on:
March 05, 2010, 06:56:54 PM »
You are correct...sorry.
I took another look and noticed the "Add New" link! Perfect, now I can run some l tests!
Logged
Remember, experience is what you get when you don’t get what you want…
pcwacht
AddOn Development
Offline
Posts: 2814
Re: Dealer Search
«
Reply #11 on:
March 05, 2010, 07:00:47 PM »
btw: BTW, where would I find info on the Members Modul?
AMASP or ->
http://www.websitebakers.com/pages/index.php
have fun,
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
SnapDaddy
Offline
Posts: 34
Re: Dealer Search
«
Reply #12 on:
March 05, 2010, 07:17:28 PM »
Thanks, I keep looking for add-ons here (this site) and forget about AMASP over @
www.websitebakers.c
om
.
Logged
Remember, experience is what you get when you don’t get what you want…
snark
Guest
Re: Dealer Search
«
Reply #13 on:
March 06, 2010, 12:49:43 AM »
it is working...
is there a particulair reason why the add button is in the frontend and not in the backend ( I think it should at least be also in the backend.
if one fills in the zipcode partially the search will come up with 'no results... that's a bit nasty
Logged
SnapDaddy
Offline
Posts: 34
Re: Dealer Search
«
Reply #14 on:
March 06, 2010, 01:33:37 AM »
The add new link on FE is for dealers requesting to be added to search db. Having an add new link on BE would be helpful for when a dealer calls in to be added.
I did notice that the newly added dealer can be searched before they have been approved! This is incorrect and will have to fix.
Might want to add CAPTCHA to prevent flooding...also don't know if code will check for duplicates before submitting.
Just ran out of time today to test and adjust...don't want to put all of the work on to
crnogorac081
since he has been so generous with his time and code!
Logged
Remember, experience is what you get when you don’t get what you want…
crnogorac081
AddOn Development
Offline
Posts: 1680
Re: Dealer Search
«
Reply #15 on:
March 06, 2010, 04:26:17 AM »
hi,
i asked to tell me the features when I offered to help. nobody mentioned adding dealers via backend. I commented all the code, so feel free to adjust it to your needs.
newly added dealer can not be included in search before admin approves it, are you sure that it can?, It works fine to me
the code does not chech for duplicates.
since admin has to approve every record, i think there is no need for capcha, but as I said, feel free to modify the code
all best,
iva
«
Last Edit: March 06, 2010, 04:28:45 AM by crnogorac081
»
Logged
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
snark
Guest
Re: Dealer Search
«
Reply #16 on:
March 06, 2010, 11:01:27 AM »
any thoughts on what I said about the zipcode?
you now have to fill in the exact zipcode to get a result
would it be possible to have two separate searchboxes, one for the zipcode and one for the other data...
or maybe even better, a selectionboc that lists all given zipcodes
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...