[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!
Scam Warning
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
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5281
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

[CDB] Precise Similar Topics

Post 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.
Last edited by MattF on Tue Mar 25, 2014 9:21 pm, edited 3 times in total.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
hd321kbps
Registered User
Posts: 189
Joined: Tue Oct 16, 2012 10:16 am
Location: Russian
Name: Igor Marchuk
Contact:

Re: [DEV] Similar Topics

Post 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
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 »

Did you copy it to proper folder?
Please do not PM me for support.
User avatar
hd321kbps
Registered User
Posts: 189
Joined: Tue Oct 16, 2012 10:16 am
Location: Russian
Name: Igor Marchuk
Contact:

Re: [DEV] Similar Topics

Post by hd321kbps »

Figured it works.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5281
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [DEV] Precise Similar Topics

Post 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.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
wintstar
Registered User
Posts: 329
Joined: Sat Mar 07, 2009 12:39 pm

Re: [DEV] Precise Similar Topics

Post 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',
Regards wintstar

There are people who say I have no idea what I'm writing about, and I don't understand anything. Let them write, because they look in the mirror and write about their own selves.
My board - My atelier - Css Hash Tool - Memories of phpBB 3.0.14
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5281
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [DEV] Precise Similar Topics

Post by MattF »

Thanks for the fix
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
DarkBeing
Registered User
Posts: 126
Joined: Wed Mar 28, 2007 5:31 pm
Location: atm Estonia
Name: Sven

Re: [DEV] Precise Similar Topics

Post 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?
User avatar
wintstar
Registered User
Posts: 329
Joined: Sat Mar 07, 2009 12:39 pm

Re: [DEV] Precise Similar Topics

Post 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',
Regards wintstar

There are people who say I have no idea what I'm writing about, and I don't understand anything. Let them write, because they look in the mirror and write about their own selves.
My board - My atelier - Css Hash Tool - Memories of phpBB 3.0.14
User avatar
DarkBeing
Registered User
Posts: 126
Joined: Wed Mar 28, 2007 5:31 pm
Location: atm Estonia
Name: Sven

Re: [DEV] Precise Similar Topics

Post 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:
aleha
Code Contributor
Posts: 61
Joined: Wed Dec 19, 2012 10:42 pm

Re: [DEV] Precise Similar Topics

Post 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.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5281
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [DEV] Precise Similar Topics

Post 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.
Formerly known as VSEMy ExtensionsPlease 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 »

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
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5281
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [BETA] Precise Similar Topics

Post by MattF »

Updated to Beta 1 release version :)

See first post.
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
Meis2M
Translator
Posts: 921
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: [BETA] Precise Similar Topics

Post by Meis2M »

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

Return to “Extensions in Development”