The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Search in different forums

2 posters

Go down

Solved Search in different forums

Post by Ivan Ivanov March 27th 2019, 3:26 pm

Technical Details

Forum version : #phpBB3
Position : 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
Ivan Ivanov
Ivan Ivanov
Forumember

Male Posts : 34
Reputation : 2
Language : Russian
Location : Russia

View user profile http://chudofo.forum2x2.ru/

Back to top Go down

Solved Re: Search in different forums

Post by skouliki March 27th 2019, 4:13 pm

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
skouliki
skouliki
Manager
Manager

Female Posts : 12676
Reputation : 1544
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Search in different forums

Post by Ivan Ivanov March 28th 2019, 7:26 pm

Search string is not visible.
Search in different forums 221d2d87a117a139b519403bf31dcabf
Ivan Ivanov
Ivan Ivanov
Forumember

Male Posts : 34
Reputation : 2
Language : Russian
Location : Russia

View user profile http://chudofo.forum2x2.ru/

Back to top Go down

Solved Re: Search in different forums

Post by skouliki March 28th 2019, 8:18 pm

the code is working ok 

Search in different forums Scre1113



if you change the code then you wont have the correct result 
type="text" autocomplete="off"  -> why did you add this?
skouliki
skouliki
Manager
Manager

Female Posts : 12676
Reputation : 1544
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Search in different forums

Post by Ivan Ivanov March 29th 2019, 10:53 am

skouliki wrote:type="text" autocomplete="off"  -> why did you add this?
I did not add it.Search in different forums 4c83b52cb3b7e36546e7cf74999a4b4c
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>
This is weird.
Search in different forums 581e59d84a1396b20fcd5e5c57702558
Ivan Ivanov
Ivan Ivanov
Forumember

Male Posts : 34
Reputation : 2
Language : Russian
Location : Russia

View user profile http://chudofo.forum2x2.ru/

Back to top Go down

Solved Re: Search in different forums

Post by skouliki March 29th 2019, 10:56 am

skouliki 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
 you are not using the correct code
skouliki
skouliki
Manager
Manager

Female Posts : 12676
Reputation : 1544
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Search in different forums

Post by Ivan Ivanov March 29th 2019, 10:57 am

Look at the screenshot. To give you access to the admin panel?
Ivan Ivanov
Ivan Ivanov
Forumember

Male Posts : 34
Reputation : 2
Language : Russian
Location : Russia

View user profile http://chudofo.forum2x2.ru/

Back to top Go down

Solved Re: Search in different forums

Post by skouliki March 29th 2019, 10:59 am

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
skouliki
skouliki
Manager
Manager

Female Posts : 12676
Reputation : 1544
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Search in different forums

Post by skouliki March 29th 2019, 11:21 am

i really do not know as you can see on your admin panel the code is working fine

Search in different forums Scre1115

i disable the js and thats not it cause the issue remains
try to put the default templates to check also cause i cant
skouliki
skouliki
Manager
Manager

Female Posts : 12676
Reputation : 1544
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Search in different forums

Post by Ivan Ivanov March 29th 2019, 11:25 am

skouliki wrote:try to put the default templates to check also cause i cant
Did not help.
Ivan Ivanov
Ivan Ivanov
Forumember

Male Posts : 34
Reputation : 2
Language : Russian
Location : Russia

View user profile http://chudofo.forum2x2.ru/

Back to top Go down

Solved Re: Search in different forums

Post by skouliki March 29th 2019, 11:43 am

i removed this code from your css line 24
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%;
}

Search in different forums Scre1116
skouliki
skouliki
Manager
Manager

Female Posts : 12676
Reputation : 1544
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Search in different forums

Post by Ivan Ivanov March 29th 2019, 11:56 am

Thank you for help!
Ivan Ivanov
Ivan Ivanov
Forumember

Male Posts : 34
Reputation : 2
Language : Russian
Location : Russia

View user profile http://chudofo.forum2x2.ru/

Back to top Go down

Solved Re: Search in different forums

Post by skouliki March 29th 2019, 11:58 am

my pleasure

Problem solved & topic archived.
Please read our forum rules: ESF General Rules
skouliki
skouliki
Manager
Manager

Female Posts : 12676
Reputation : 1544
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum