Removing the Search button

Started by † ÐëepÇuT¹ †, August 03, 2004, 10:37:38 AM

Previous topic - Next topic

† ÐëepÇuT¹ †

Tried it, makes the forum crash. Anyone wana help?



Personal Website
x3Generation - gaming
graphics and anime.
 

Favorite Forums
> SimpleMachines Forum
> GamerzPlanet Forums


Cypher7


Owdy

Default theme, index.template.php -> remove:

// How about the [search] button?
if ($context['allow_search'])
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Ride

Why not just deny users permission to search?  That's what I did and the button isn't there anymore.

Tomer

But than the admin will always see it, because admin has all premissions.

Peter Duggan

* Peter Duggan wonders why anyone would want to remove the search button and/or deny users permission to search! ::)

Grudge

Peter, in Beta 5 wasn't the search a bit slow? If so that could be the only possible reason I could see...
I'm only a half geek really...

Ride

Quote from: Grudge on August 04, 2004, 06:55:41 AM
Peter, in Beta 5 wasn't the search a bit slow? If so that could be the only possible reason I could see...

Yeah, the search makes the forum lag in beta 5.  I hear that'll be fixed.

Ben_S

Liverpool FC Forum with 14 million+ posts.


Advertisement: