Search in different forums
2 posters
Page 1 of 1
Search in different forums
Technical Details
Forum version : #phpBB3Position : Founder
Concerned browser(s) : Mozilla Firefox
Screenshot of problem : https://i.paste.pics/b96468ce781b2afd1bee3394e32f81ed.png
Who the problem concerns : Yourself
Forum link : http://chudofo.forum2x2.ru
Description of problem
How to make search on separate forums like this? Help.Last edited by Ivan Ivanov on March 29th 2019, 11:57 am; edited 1 time in total
Re: Search in different forums
hi
add the following to the description of a forum or category :
Replace 42 by the id of the forum
add the following to the description of a forum or category :
- Code:
<form method="get" action="/search?search_where=42">
<input name="search_keywords" class="inputbox search" value="Search..." onclick="if (this.value == 'Search...') this.value = '';" onblur="if (this.value == '') this.value = 'Search...';" type="text">
<input class="button2" value="Search" type="submit">
</form>
Replace 42 by the id of the forum
Re: Search in different forums
I did not add it.skouliki wrote:type="text" autocomplete="off" -> why did you add this?
- Code:
<form action="/search?search_where=6" method="get">
<input type="text" onblur="if (this.value == '') this.value = 'Search...';" onclick="if (this.value == 'Search...') this.value = '';" value="Search..." class="inputbox search" name="search_keywords" /> <input type="submit" value="Search" class="button2" />
</form>
Re: Search in different forums
you are not using the correct codeskouliki wrote:hi
add the following to the description of a forum or category :
- Code:
<form method="get" action="/search?search_where=42">
<input name="search_keywords" class="inputbox search" value="Search..." onclick="if (this.value == 'Search...') this.value = '';" onblur="if (this.value == '') this.value = 'Search...';" type="text">
<input class="button2" value="Search" type="submit">
</form>
Replace 42 by the id of the forum
Re: Search in different forums
the code you post has the elements disorder than the one i gave you
i inspect the forum yesterday that's why i told you that you add this , i know
send me via pm a test account yes and thank you
i inspect the forum yesterday that's why i told you that you add this , i know
send me via pm a test account yes and thank you
Re: Search in different forums
Did not help.skouliki wrote:try to put the default templates to check also cause i cant
Re: Search in different forums
i removed this code from your css line 24
and add this at the end
- Code:
#search-box input {
border: 0px solid;
margin-top: -20px;
display:none
}
#search-box input.button1 {
display: none;
padding: 1px 5px;
}
input.search {
background-image: url('https://2img.net/i/fa/vide.gif');
background-repeat: no-repeat;
background-position: left 1px;
display:none
}
and add this at the end
- Code:
input.inputbox, select.inputbox {
width: 50%;
}
Similar topics
» How do I remove "Search Google" from "Advanced Search"?
» Why forums has only 3 search engines?
» Spotlight search on forums
» search forums in the site
» Search Engine/System On Our Forums
» Why forums has only 3 search engines?
» Spotlight search on forums
» search forums in the site
» Search Engine/System On Our Forums
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum