Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 177
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 183
Total: 183

Author Topic: Search box?  (Read 10416 times)

0 Members and 1 Guest are viewing this topic.

Offline Shades

  • Full Member
  • ***
  • Posts: 219
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Search box?
« on: October 10, 2020, 11:33:22 am »
How can I make the top "default" search box (drop down) where it searches the forum or the classifieds like SMF has on their site for Modifications and Themes etc.,?

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Search box?
« Reply #1 on: October 10, 2020, 11:53:51 am »
That would have to be custom code. You would make one dropdown toggle the search function of SMF and the other toogle Search Classifieds.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Shades

  • Full Member
  • ***
  • Posts: 219
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Search box?
« Reply #2 on: October 10, 2020, 12:12:06 pm »
I have my site set up to default to the classifieds which makes the smf search box useless so I need to change it to search the classifieds and not the forum or maybe for both.

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Search box?
« Reply #3 on: October 10, 2020, 12:31:00 pm »
If you only want the classifieds
You would edit index.template.php find the search editor change the form action from
index.php?action=search
To
index.php?action=classifieds;sa=search i belive
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Shades

  • Full Member
  • ***
  • Posts: 219
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Search box?
« Reply #4 on: October 10, 2020, 12:53:26 pm »
If you only want the classifieds
You would edit index.template.php find the search editor change the form action from
index.php?action=search
To
index.php?action=classifieds;sa=search i belive

Ok thanks will try that but would be nice if It would search both or have a drop down to search either one. Thanks for the help!

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Search box?
« Reply #5 on: October 10, 2020, 12:59:57 pm »
This mod can probably be customized to do that
https://custom.simplemachines.org/mods/index.php?mod=1634
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Shades

  • Full Member
  • ***
  • Posts: 219
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Re: Search box?
« Reply #6 on: October 10, 2020, 01:13:00 pm »
That looks interesting! I'll play around with it and see if I can get it to work for my needs thanks!

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
7830 Views
Last post September 11, 2009, 06:58:59 am
by Sicarius
2 Replies
14420 Views
Last post February 06, 2014, 08:21:06 am
by Jonas1975
1 Replies
11242 Views
Last post March 20, 2015, 10:53:55 pm
by SMFHacks
5 Replies
1195 Views
Last post August 12, 2021, 01:00:55 pm
by Anmer
2 Replies
918 Views
Last post August 31, 2021, 11:04:38 pm
by Hatshepsut

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal