[CDB] Precise Similar Topics

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4863
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

[CDB] Precise Similar Topics

Post by VSE » Thu Nov 07, 2013 7:15 pm

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.
Last edited by VSE on Tue Mar 25, 2014 9:21 pm, edited 3 times in total.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

User avatar
hd321kbps
Registered User
Posts: 188
Joined: Tue Oct 16, 2012 10:16 am
Location: Russian
Name: Igor Marchuk
Contact:

Re: [DEV] Similar Topics

Post by hd321kbps » Tue Nov 12, 2013 2:37 pm

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

User avatar
Pico88
Registered User
Posts: 878
Joined: Sat Mar 07, 2009 10:24 pm
Location: Poland
Name: Lukasz

Re: [DEV] Similar Topics

Post by Pico88 » Tue Nov 12, 2013 3:30 pm

Did you copy it to proper folder?
Please do not PM me for support.

User avatar
hd321kbps
Registered User
Posts: 188
Joined: Tue Oct 16, 2012 10:16 am
Location: Russian
Name: Igor Marchuk
Contact:

Re: [DEV] Similar Topics

Post by hd321kbps » Tue Nov 12, 2013 3:34 pm

Figured it works.

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4863
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [DEV] Precise Similar Topics

Post by VSE » Sat Nov 23, 2013 5:12 pm

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.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

User avatar
wintstar
Registered User
Posts: 280
Joined: Sat Mar 07, 2009 12:39 pm

Re: [DEV] Precise Similar Topics

Post by wintstar » Mon Jan 13, 2014 5:25 am

German language, typing error

search

Code: Select all

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

Code: Select all

   'DISPLAY_SIMILAR_TOPICS'   => 'Aktiviere Vergleichbare Theme',

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4863
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [DEV] Precise Similar Topics

Post by VSE » Mon Jan 13, 2014 6:14 am

Thanks for the fix
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

User avatar
DarkBeing
Registered User
Posts: 125
Joined: Wed Mar 28, 2007 5:31 pm
Location: atm Estonia
Name: Sven

Re: [DEV] Precise Similar Topics

Post by DarkBeing » Mon Jan 13, 2014 12:19 pm

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?

User avatar
wintstar
Registered User
Posts: 280
Joined: Sat Mar 07, 2009 12:39 pm

Re: [DEV] Precise Similar Topics

Post by wintstar » Mon Jan 13, 2014 12:28 pm

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',

User avatar
DarkBeing
Registered User
Posts: 125
Joined: Wed Mar 28, 2007 5:31 pm
Location: atm Estonia
Name: Sven

Re: [DEV] Precise Similar Topics

Post by DarkBeing » Mon Jan 13, 2014 12:41 pm

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:

aleha
Code Contributor
Posts: 61
Joined: Wed Dec 19, 2012 10:42 pm

Re: [DEV] Precise Similar Topics

Post by aleha » Mon Feb 03, 2014 10:14 am

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.

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4863
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [DEV] Precise Similar Topics

Post by VSE » Mon Feb 03, 2014 7:00 pm

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.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

aleha
Code Contributor
Posts: 61
Joined: Wed Dec 19, 2012 10:42 pm

Re: [DEV] Precise Similar Topics

Post by aleha » Mon Feb 03, 2014 9:31 pm

Yes, what you are saying seems to be in sync with the symfony docs that I read in order to catch up :D

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4863
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [BETA] Precise Similar Topics

Post by VSE » Sat Jun 07, 2014 12:34 am

Updated to Beta 1 release version :)

See first post.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

User avatar
Meis2M
Translator
Posts: 870
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: [BETA] Precise Similar Topics

Post by Meis2M » Wed Jun 11, 2014 11:01 am

phpBB persian international support
Ultimate SEO Friendly URL - Extension
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM

Locked

Return to “Extensions in Development”