The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

the search box on forums is it available for sharing

View previous topic View next topic Go down

In progress the search box on forums is it available for sharing

Post by Michael_vx on July 6th 2015, 11:55 am

the search box on forums is it available for sharing
i mean this

Michael_vx
Forumember

Male Posts : 655
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

In progress Re: the search box on forums is it available for sharing

Post by Ange Tuteur on July 7th 2015, 6:31 pm

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 :
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.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: the search box on forums is it available for sharing

Post by Michael_vx on July 7th 2015, 9:01 pm

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 ?

Michael_vx
Forumember

Male Posts : 655
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

In progress Re: the search box on forums is it available for sharing

Post by Ange Tuteur on July 7th 2015, 9:25 pm

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.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: the search box on forums is it available for sharing

Post by Michael_vx on July 7th 2015, 9:33 pm

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

Michael_vx
Forumember

Male Posts : 655
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

View previous topic View next topic Back to top


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