UseBB Community

The official board for UseBB help and discussion

UseBB Community » Resources & Customization » Searching modification

Searching modification

Moderators: Gaia.

Page: 1

Author Post
Member
Registered: Sep 2006
Posts: 1
Hello!

This is a little sorting modification.
Search bar html code is located to topiclist.tpl.php template file.
And this works fine, but the search bar displays on all forums pages.

Question: How to do this, that sows me only news forum and few other?
What file i modifed?

Example:
User posted image

Example:
User posted image

Example:
User posted image

Html code on topiclist.tpl.php
$templates['shearch-bar'] = '<div align="left">
<b>{l_SearchBar}</b>
<form action="search.php" method="post">
<select name="forums[]"/>
<option value="7" selected="news">news</option>
<option value="8">Uudised</option>

<select name="keywords" id="keywords"/>
<option>Software</option>
<option>Hardware</option>
</select>
<input type="submit" value="Search" /></div>
';


Sorry about typos. My english is not wery good :(

And thanks for helping!
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
I don't know about such a feature in UseBB, nor do I know that modification.

Mods are generally not supported here. You should contact the mod author.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Moderator
Registered: Oct 2005
Posts: 459
Location: canada
Hmm, not a modification at UseBB Zone either.

Page: 1

UseBB Community » Resources & Customization » Searching modification

UseBB Community is powered by UseBB 1 Forum Software