allfrom1supply
Forum Replies Created
-
Forum: Plugins
In reply to: [Connections Business Directory] Add a footer to email formSteve please disregard. I was able to use ChatGPT and my baby JavaScript skills to work out a solution.
Forum: Plugins
In reply to: [Connections Business Directory] Submit FormThanks Steve. I appreciate the suggestion.
I am using the built in form. For now I password protected the div containing the form and also have the password need to be reentered every certain amount of time. I am using other settings in WordPress and disallowing login and requiring moderation so hopefully should be reasonably secure.
We only want our own staff to add entries in part to have some control over the contractors added which are basically companies we know work within our industry.
Thanks again.
Forum: Plugins
In reply to: [Connections Business Directory] Submit FormOkay Steve sorry for this but I worked something out.
Forum: Plugins
In reply to: [Connections Business Directory] Submit FormI tried some javascript and css to to require a password to show the containing div but couldn’t work it out. I’ll see if I can work it out. This isn’t critical but thought I’d ask.
Forum: Plugins
In reply to: [Connections Business Directory] Protect emails and phonesSteven you are a magic man. I right clicked on the email and expected to see the encoding there, sort of like those obfuscation scripts, but when I view source I see what you said to look for. Awesome work. ??
Forum: Plugins
In reply to: [Connections Business Directory] Protect emails and phonesOr maybe I misunderstood. So if I look at the code I see clean html, but someone ‘scraping’ the site gets the encoded text?
Forum: Plugins
In reply to: [Connections Business Directory] Protect emails and phonesWell I did a ready fire aim! I purchased the plugin again and then realized it was installed. ?? In any case it is installed and active but I still don’t see encryption. I am not sure if it is something I did or another plugin interfering. The documentation said nothing else is required for setup. Is there some javascript that is supposed to be loaded that I can use to verify if it is getting installed?
Thanks.
Forum: Plugins
In reply to: [Connections Business Directory] Category CountYou can skip this. I was able to work out a solution with Javascript. Thanks.
Forum: Plugins
In reply to: [Connections Business Directory] Clear SearchI tried this early on but didn’t know anything about the trailing forward slash and just assumed it could be used with the multi category search shortcode. I’ll be done with work in a couple hours and will try this out. Thanks a bunch.
Forum: Plugins
In reply to: [Connections Business Directory] Clear SearchHi Steven.
I added those parameters and just tested it using the links
https://help.allfrom1supply.com/test/?cn-cat-in%5B%5D=3 https://help.allfrom1supply.com/test/?cn-cat-in%5B%5D=4 https://help.allfrom1supply.com/test/?cn-cat-in%5B%5D=5
and when I pick additional filters like state this does return the correct results but this is not able to dynamically change the filter categories. That is what I was trying to sort. Essentially I need to see if there is a way to conditionally change that first group. They are set up like this. The Job Size and the States are the same for all three, but the ‘sub services’ grouped under painting, maintenance and construction are unique if that makes sense. I almost think I need a conditional statement of some sort.
Services
–Commercial Painting
—-Facility Painting & Re-Imaging
—-Exterior Painting
—-Interior Painting
etc–Maintenance & Repair
—-Roll Door Repairs
—-Roll Door Replacement
—-Swing Door Repair
etc–Construction & Remodeling
—-Office Remodels
—-Storage Apartment Remodels
—-Unit Remix
etc- This reply was modified 1 year, 1 month ago by allfrom1supply.
Forum: Plugins
In reply to: [Connections Business Directory] Clear SearchThanks Steven. I will try this at the end of day when they are done showing our store and the WordPress help site – including your directory- to the customers. I’ll let you know. I appreciate your help very much.
Forum: Plugins
In reply to: [Connections Business Directory] Clear SearchThe test page is here https://help.allfrom1supply.com/test/?cn-cat-in%5B0%5D=3 the categories are 3, 4 and 5
[cn-content condition=is_category parameter=3] <div class="commercial-painters"> <p>Select filters and press SEARCH to return filtered results, or use the keyword or zipcode search options.</p> </div> [/cn-content] [cn-content condition=is_category parameter=4] <div class="maintenance-repair"> <p>Select filters and press SEARCH to return filtered results, or use the keyword or zipcode search options.</p> </div> [/cn-content] [cn-content condition=is_category parameter=5] <div class="remodel"> <p>Select filters and press SEARCH to return filtered results, or use the keyword or zipcode search options.</p> </div> [/cn-content] [cn_multi_category_search category='10|Show All| Search by Service| Showing Contractors by Service: <u>%s</u>|select,3|Show All| Filter by Painting Services| by <u>%s</u>|checklist,90|Show All| Job Size | by <u>%s</u>|checklist,11|Show All| Filter by State | by <u>%s</u>|checklist' show_category_count=true placeholder_zip='SEARCH BY ZIPCODE' enable_zipcode=false radius_options='200:200 Miles' radius_unit=mi] [connections template="slim-plus" order_by="id|RANDOM" enable_keyword='TRUE' image_width=200 image_height=200 enable_note='FALSE' show_email='TRUE']
Unfortunately theactive search pages (not this test one) points to the search-results page https://help.allfrom1supply.com/search-results/?cn-cat-in%5B%5D=3&cn-cat-in%5B%5D=16&cn-s= (code follows) because the owner is actively showing some contractors the new directory. This is the code on that page.
[connections template="slim-plus" order_by="id|RANDOM" enable_keyword='TRUE' image_width=200 image_height=200 enable_note='FALSE' show_email='TRUE']
- This reply was modified 1 year, 1 month ago by allfrom1supply.
Forum: Plugins
In reply to: [Connections Business Directory] Clear SearchOops spoke too soon. It does not work as expected – it does search but I am not seeing the unique category specific multi search as indicated above.
Forum: Plugins
In reply to: [Connections Business Directory] Clear SearchOkay skip it. I did get it working, only I could not get the search results on the same page – it returned the query but showed ‘No results.’
Forum: Plugins
In reply to: [Connections Business Directory] Clear SearchI will ask a question to shorten the learning curve if you don’t mind (old brain takes longer to digest new data).
On each of the category pages I show slightly different search options – the passed parameters 3,4 and 5 are for the main groups of services paint, maintenance and construction but each of those has slightly different cn_multi_category code so that we can allow them to filter by sub-categories of the parent i.e. paint > facility painting, roll door painting, etc.. and I can’t figure out if it is possible to use a variable to swap out the bold areas below and use one block of cn_multi_category code as the cn-content tag does not seem to work to swap out the cn_multi_category code – is that correct? Or maybe I did it wrong. Thanks.
[cn_multi_category_search category=’10|Show All| Search by Service| Showing Contractors by Service: %s|select,3|Show All| Filter by Painting Services| by %s|checklist,90|Show All| Job Size | by %s|checklist,11|Show All| Filter by State | by %s|checklist’ show_category_count=true enable_zipcode=false]
[cn_multi_category_search category=’10|Show All| Search by Service| Showing Contractors by Service: %s|select,4|Show All| Filter by Maintenance & Repair Services| by %s|checklist,90|Show All| Job Size | by %s|checklist,11|Show All| Search by State | by %s|checklist’ show_category_count=true enable_zipcode=false]
[cn_multi_category_search category=’10|Show All| Search by Service| Showing Contractors by Service: %s|select,5|Show All| Filter by Construction & Remodeling Services| by %s|checklist,90|Show All| Job Size | by %s|checklist,11|Show All| Search by State | by %s|checklist’ show_category_count=true enable_zipcode=false]
- This reply was modified 1 year, 1 month ago by allfrom1supply.