the search box on forums is it available for sharing
2 posters
Page 1 of 1
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: the search box on forums is it available for sharing
Hi @Michael_vx,
Yes, it's possible to share. It can be achieved either by adding it to the forum description, or by JavaScript; it depends on what you're trying to achieve. I can provide you with the search form for phpbb3, of course the form will work on any version, but the classes are mainly for phpbb3.
Here's the HTML :
Replace the number 42 after search_where= by the forum ID you want the search to be performed in.
Yes, it's possible to share. It can be achieved either by adding it to the forum description, or by JavaScript; it depends on what you're trying to achieve. I can provide you with the search form for phpbb3, of course the form will work on any version, but the classes are mainly for phpbb3.
Here's the HTML :
- 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 the number 42 after search_where= by the forum ID you want the search to be performed in.
Re: the search box on forums is it available for sharing
some questions
what is better in use the forum description code or the JavaScript one
also should it be manual only in other word is it can be used by auto mod on each forum without needing to add the forum ID
i know its may be a bit stupid from me to ask such a weird questions but if auto wont be easy ?
what is better in use the forum description code or the JavaScript one
also should it be manual only in other word is it can be used by auto mod on each forum without needing to add the forum ID
i know its may be a bit stupid from me to ask such a weird questions but if auto wont be easy ?
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: the search box on forums is it available for sharing
If you want to have it for specific forums, adding it to the forum description is the way to go. If you want it automated JavaScript is the way to go, plus you can also add a filter if need be. If you're wanting a JavaScript, I'd need to know the forum version.
Re: the search box on forums is it available for sharing
most of forums of my Friends is phpbb2
there less using other versions because phpbb2 is the most styles one and easy to make styles for it as i was also when i was using forumotion
there less using other versions because phpbb2 is the most styles one and easy to make styles for it as i was also when i was using forumotion
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Similar topics
» Search in different forums
» Spotlight search on forums
» search forums in the site
» Why forums has only 3 search engines?
» Search Engine/System On Our Forums
» Spotlight search on forums
» search forums in the site
» Why forums has only 3 search engines?
» Search Engine/System On Our Forums
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum