Similar Topics

Modifications for phpBB3. Try the Mods here and share Your own Mods
There is no support here! Only Read Access!
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
User avatar
Chalong
BBCoder II
BBCoder II
Posts: 59
Joined: 06 Mar 2010, 14:03
Location: Pforzheim / Germany
Contact:

Re: Similar Topics

Post by Chalong »

Hi Stoker

Now I'm a little confused.

Can you please explain which files in the first post are edited ?
The lanuage file edits I can see at the first narrow and steely look. :)
Are there additional edits in the files viewtopic.php and viewtopic_body.html ?
Last edited by Chalong on 28 Mar 2010, 00:48, edited 2 times in total.
Regards Chalong

www.chalong.de
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Similar Topics

Post by cisco007 »

yes, there are replacement edits on the viewtopic_body.html, and language edits added to the viewtopic.php
User avatar
Chalong
BBCoder II
BBCoder II
Posts: 59
Joined: 06 Mar 2010, 14:03
Location: Pforzheim / Germany
Contact:

Re: Similar Topics

Post by Chalong »

Thanks for reply cisco and thanks to Stoker for adaption.

So the german translation would be:

Open language/de/common.php
Find:

Code: Select all

?>
Before add:

Code: Select all

// BEGIN Similar Mod
$lang = array_merge($lang, array(
   'SIM_TOP'         => 'Ähnliche Themen',
   'SIM_REP'         => 'Antworten',
   'SIM_VIEWS'       => 'Zugriffe',
   'SIM_AUTH'        => 'Autor',
   'SIM_PIF'         => 'Beitrag im Forum:',
   'SIM_PBY'         => 'Geschrieben von:',
));
// END Similar Mod
Save as utf-8 without a BOM.
Regards Chalong

www.chalong.de
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: Similar Topics

Post by Fire-Fox »

Missed the language update thanks :)
Nisok
BBCoder II
BBCoder II
Posts: 9
Joined: 11 Mar 2010, 16:59

Re: Similar Topics

Post by Nisok »

First thing to do is making sure that the topics table is fulltext indexed. Execute this SQL in phpMyadmin:

Code: Select all

ALTER TABLE `phpbb_topics` ADD FULLTEXT (`topic_title`);
If we don't have installed phpmyadmin, what can we do?
User avatar
Inner Circle
BBCoder III
BBCoder III
Posts: 107
Joined: 20 Mar 2010, 20:25
Location: Germany
Contact:

Re: Similar Topics

Post by Inner Circle »

Download the Support Tool Kit from www.phpbb.com
Nisok
BBCoder II
BBCoder II
Posts: 9
Joined: 11 Mar 2010, 16:59

Re: Similar Topics

Post by Nisok »

At ACP there is an index maker.
Will this do the job?
User avatar
Inner Circle
BBCoder III
BBCoder III
Posts: 107
Joined: 20 Mar 2010, 20:25
Location: Germany
Contact:

Re: Similar Topics

Post by Inner Circle »

Nisok » 07 Apr 2010, 18:14 wrote:At ACP there is an index maker.
Will this do the job?
Dunno what you mean?
Nisok
BBCoder II
BBCoder II
Posts: 9
Joined: 11 Mar 2010, 16:59

Re: Similar Topics

Post by Nisok »

I found a solution.

Thank very much for your time
heredia21
BBCoder IV
BBCoder IV
Posts: 179
Joined: 07 Apr 2010, 20:42
Contact:

Re: Similar Topics

Post by heredia21 »

ALTER TABLE `phpbb_topics` ADD FULLTEXT (`topic_title`);

How do we do this? I dont use phpmyadmin. Can we do this in ACP?
#1 BlackBerry News site - BlackBerry Empire. Come visit us!
Locked