[2.0.10] Topic Search

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
10
56%
Very Good
6
33%
Good
1
6%
Fair
0
No votes
Poor
1
6%
 
Total votes: 18

User avatar
JRSweets
Registered User
Posts: 2047
Joined: Wed Apr 14, 2004 8:37 pm
Location: Massachusetts

Post by JRSweets »

open viewtopic_body.tpl, go down to the place where you pasted the code for search in topic and then find in that line "name='post'" change that to "name='post2'" that should fix it


I found the fix. It was posted by MightyY on portedmods.com.
onetimer
Registered User
Posts: 133
Joined: Tue Apr 13, 2004 12:24 am

Post by onetimer »

JRSweets wrote:
open viewtopic_body.tpl, go down to the place where you pasted the code for search in topic and then find in that line "name='post'" change that to "name='post2'" that should fix it


I found the fix. It was posted by MightyY on portedmods.com.


Ehm.. so could you post the fix in here or at least provide us with a link?
One, Two, Three!
User avatar
onigumo
Registered User
Posts: 1755
Joined: Fri Oct 31, 2003 2:32 am
Contact:

Post by onigumo »

I can't insert emoticons either from the Quick Post form, but I think this problem of mine was prior to the installation of Topic Search 1.1.0. It's working fine on my forum.
I write articles on community building
@ The Infinity Program.
User avatar
onigumo
Registered User
Posts: 1755
Joined: Fri Oct 31, 2003 2:32 am
Contact:

Post by onigumo »

By the way, is there a way to make the box say "Enter Keywords" and it disappears when you click it, just like with IPB? I'd love to have this addition.
I write articles on community building
@ The Infinity Program.
NarrowPathPilgrim
Registered User
Posts: 67
Joined: Thu Sep 30, 2004 4:52 am
Contact:

Post by NarrowPathPilgrim »

GREAT MOD!!!!
"If a nation expects to be ignorant and free, it expects what never was and never will be." -- Thomas Jefferson
www.FightingForLiberty.org
joeybabes
Registered User
Posts: 7
Joined: Sat Jan 01, 2005 9:11 pm

Post by joeybabes »

This is a great MOD. Saves me hours of trekking through pages of a topic.

but... I had to 'fudge' it manually after using EasyMOD as I have Categories hierarchy - 2.1.0 installed and it couldn't find the required line in templates/subSilver/viewtopic_body.tpl

As L_SEARCH_TOPIC isn't defined I just wanted to double check where I can put this line:

$lang['Search_topic'] = 'Search Topic';

is

language\lang_english\lang_main.php

ok?

Thanks.
a nontechy-er!
Darkmonkey
Former Team Member
Posts: 1707
Joined: Fri Oct 24, 2003 3:48 pm
Location: Where the trout streams flow and the air is nice

Post by Darkmonkey »

Yes, the language variable goes in the lang_main.php
User avatar
otseng
Registered User
Posts: 165
Joined: Wed Feb 04, 2004 6:51 pm
Location: Atlanta, GA
Contact:

Post by otseng »

Handy mod!

I wish there was something similar to search a forum....
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3542
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Post by bonelifer »

Try this MOD otseng
Forum Search
otseng wrote: Handy mod!

I wish there was something similar to search a forum....
User avatar
otseng
Registered User
Posts: 165
Joined: Wed Feb 04, 2004 6:51 pm
Location: Atlanta, GA
Contact:

Post by otseng »

bonelifer wrote: Try this MOD otseng
Forum Search

OK, thanks!
Virgin_Steel
Registered User
Posts: 3
Joined: Fri Feb 18, 2005 1:22 pm
Contact:

So...

Post by Virgin_Steel »

So, Does this mod could work with Phpbb 2.0.6. and Nuke 7.0 ???
Just to place the code in another place...
Bobby Lion Morphine
Darkmonkey
Former Team Member
Posts: 1707
Joined: Fri Oct 24, 2003 3:48 pm
Location: Where the trout streams flow and the air is nice

Re: So...

Post by Darkmonkey »

Virgin_Steel wrote: So, Does this mod could work with Phpbb 2.0.6. and Nuke 7.0 ???
Just to place the code in another place...


It might, as far as I know, it hasn't been tried.

You could test it locally first, although I suggest you update your phpBB installation immediately.
Virgin_Steel
Registered User
Posts: 3
Joined: Fri Feb 18, 2005 1:22 pm
Contact:

Post by Virgin_Steel »

SO would someone tell me where to put these line

Code: Select all

	// Topic search MOD
	$tid = (isset($HTTP_POST_VARS['topic_id'])) ? (intval($HTTP_POST_VARS['topic_id'])) : (intval($HTTP_GET_VARS['topic_id']));
	// Topic search MOD
in the 2.0.6,instead of $search_results = ''; as it's written ???
cause i really don't have this line!
It's not so simple to upgrage my phpbb...i've made so many changes and have put so many mods...and of course that i'm with Nuke makes things more difficult!
pls help with the search mod!
blessings!
Bobby Lion Morphine
Virgin_Steel
Registered User
Posts: 3
Joined: Fri Feb 18, 2005 1:22 pm
Contact:

Post by Virgin_Steel »

hehe
i'v done it by myself...
i have phpbb 2.0.10 and just found this line

Code: Select all

// Search ID Limiter, decrease... 
is above that

Code: Select all

$search_results = '';
, so i find the same line in my phpbb 2.0.6 :

Code: Select all

// Search ID Limiter, decrease...

and put

Code: Select all

// Topic search MOD
	$tid = (isset($HTTP_POST_VARS['topic_id'])) ? (intval($HTTP_POST_VARS['topic_id'])) : (intval($HTTP_GET_VARS['topic_id']));
	// Topic search MOD

above.Now everything works!
Write this just for solution for those with 2.0.6.
Bobby Lion Morphine
Xpert
Translator
Posts: 114
Joined: Fri Feb 20, 2004 8:19 pm
Location: Moscow, Russia
Contact:

Post by Xpert »

Started to translate this mod into Russian and found this:

Code: Select all

$lang['No_search_words'] = 'Sorry, no search words specified';
This language variable is defined, but never used.
Post Reply

Return to “[2.0.x] MOD Database Cleanup”