Page 1 of 4

[CDB] Precise Similar Topics

Posted: Thu Nov 07, 2013 7:15 pm
by MattF
Image Precise Similar Topics

Description:
This is an extension for phpBB 3.1 that will find and display a list of similar (related) topics at the bottom of the current topic's page.

This extension is a port of my MOD from phpBB 3.0.x.

Features:
  • Displays a list of the most similar/relevant topics at the bottom of the current topic page.
  • Uses a precise and light MySQL query to search topic titles for matches.
  • Similar topics are sorted in order of decreasing relevance.
  • Adjust how many Similar Topics to display per page.
  • Adjust the age-span of topics to display (ie: display similar topics from the past year only).
  • Individually enable/disable the display of similar topics in each forum.
  • You can exempt certain forums from being searched for similar topics.
  • You can define which forums can share similar topics with other forums.
  • A query caching option reduces SQL overhead on large boards.
  • Permission settings for users and groups determine who can view similar topics.
  • Multi-lingual support for stop-words (common words that are ignored).
  • Attractive Prosilver and Subsilver2 integration.
  • Built-in support for integration with my "Topic Preview" extension
Requirements:
  • phpBB 3.1.0-RC2 or higher
  • PHP 5.3.3 or higher
  • MySQL 4.0.1 or higher using MyISAM tables (InnoDB supported with MySQL 5.6.4 or higher).
Repository: https://github.com/VSEphpbb/similartopics

Installation:
  • Download the latest release and unzip it.
  • Copy the entire contents from the unzipped folder to phpBB/ext/vse/similartopics/
  • Navigate in the ACP to Customise -> Manage extensions.
  • Find Precise Similar Topics under "Disabled Extensions" and click Enable.
Screenshot:
Image

Important: This Extension can only be installed on phpBB 3.1. Do NOT use this on a live board. It should only be installed for testing purposes or just to check it out. No support will be provided.

Re: [DEV] Similar Topics

Posted: Tue Nov 12, 2013 2:37 pm
by hd321kbps
Fatal error: Class '\vse\precise-similar-topics-II-extension\event\listener' not found in D:\OpenServer\domains\localhost\phpBB31\phpbb\event\extension_subscriber_loader.php on line 43

Re: [DEV] Similar Topics

Posted: Tue Nov 12, 2013 3:30 pm
by Pico88
Did you copy it to proper folder?

Re: [DEV] Similar Topics

Posted: Tue Nov 12, 2013 3:34 pm
by hd321kbps
Figured it works.

Re: [DEV] Precise Similar Topics

Posted: Sat Nov 23, 2013 5:12 pm
by MattF
Just pushed an update through so now Similar Topics will not display any topics from password protected forums, unless the user is logged into the passworded forums.

Re: [DEV] Precise Similar Topics

Posted: Mon Jan 13, 2014 5:25 am
by wintstar
German language, typing error

search

Code: Select all

 'DISPLAY_SIMILAR_TOPICS'   => 'Aktiviere Vergleichbare Themne',
replaced

Code: Select all

   'DISPLAY_SIMILAR_TOPICS'   => 'Aktiviere Vergleichbare Theme',

Re: [DEV] Precise Similar Topics

Posted: Mon Jan 13, 2014 6:14 am
by MattF
Thanks for the fix

Re: [DEV] Precise Similar Topics

Posted: Mon Jan 13, 2014 12:19 pm
by DarkBeing
I think Winstar made another typing error. The plural form should be "Themen" not "Theme". In other words he missed the "n".

@wintstar
Not sure if "Zeige ähnliche Themen an" would not be maybe a "better" translation? Or is that language line really used for activating the extension?

Re: [DEV] Precise Similar Topics

Posted: Mon Jan 13, 2014 12:28 pm
by wintstar
No it's not about the plural. It's about the switch in the personal area, to activate or deactivate similar topics.

Ups, n I have forgotten :oops: Hat nothing to do with the plural.

Code: Select all

	'DISPLAY_SIMILAR_TOPICS'	=> 'Aktiviere Vergleichbare Themen',

Re: [DEV] Precise Similar Topics

Posted: Mon Jan 13, 2014 12:41 pm
by DarkBeing
I mean no offense but then this is not clear to me

Code: Select all

'SIMILAR_TOPICS'			=> 'Vergleichbare Themen',
'DISPLAY_SIMILAR_TOPICS'	=> 'Aktiviere Vergleichbare Theme',
As it would be then "Thema" or full translated as "Aktiviere Vergleichbares Thema". Granted I am not a language professor but the word "theme" is bugging me for some reason.

EDIT: You were quicker than me :mrgreen:

Re: [DEV] Precise Similar Topics

Posted: Mon Feb 03, 2014 10:14 am
by aleha
VSE since I am mostly learning from your extensions, I would like to ask if you are planning to use the MVC model (i.e. create controllers) for this extension (or the topic preview) like you are doing with the Board Rules extension.
I understand the need for a controller in the Board Rules extension since it's more complicated than the others.

Re: [DEV] Precise Similar Topics

Posted: Mon Feb 03, 2014 7:00 pm
by MattF
No. This extension does not have its own page, which is what controllers are for. This extension simply injects into template and core events in the phpBB core.

Re: [DEV] Precise Similar Topics

Posted: Mon Feb 03, 2014 9:31 pm
by aleha
Yes, what you are saying seems to be in sync with the symfony docs that I read in order to catch up :D

Re: [BETA] Precise Similar Topics

Posted: Sat Jun 07, 2014 12:34 am
by MattF
Updated to Beta 1 release version :)

See first post.

Re: [BETA] Precise Similar Topics

Posted: Wed Jun 11, 2014 11:01 am
by Meis2M