Giter VIP home page Giter VIP logo

similartopics's Introduction

Precise Similar Topics Precise Similar Topics

A Similar Topics Extension for phpBB

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

Build Status codecov Scrutinizer Code Quality Latest Stable Version

Features

  • Displays a list of the most similar/relevant topics at the bottom of the current topic page.
  • Similar topics are sorted by their relevance.
  • Adjust how many Similar Topics to display per page.
  • Adjust the age-span of topics to display (i.e.: display similar topics from the past year only).
  • Enable or disable similar topics in each forum.
  • Exclude specific forums from being searched for similar topics.
  • Specify 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 (i.e.: don't show similar topics to guests).
  • Multilingual support for stop-words (common words that are ignored).
  • Multiple languages are supported. View the pre-installed localizations.
  • Compatible with most styles, more added with every release.
  • Built-in compatibility with my "Topic Preview" extension.

Awards

  • Overall winner of the 2010 "Summer of MODs" competition at phpBB.com.
  • Featured MOD of the Week in the phpBB Weekly Podcast, episode #161.

Minimum Requirements

  • phpBB 3.2.1 up to the most current version (3.3.x).
  • PHP 5.4
  • MySQL, MariaDB or PostgreSQL database (SQLite, Oracle and MS SQL Server not supported)

Install

  1. Download the latest validated release.
  2. Unzip the downloaded release and copy it to the ext directory of your phpBB board.
  3. Navigate in the ACP to Customise -> Manage extensions.
  4. Look for Precise Similar Topics under the Disabled Extensions list and click its Enable link.

Uninstall

  1. Navigate in the ACP to Customise -> Manage extensions.
  2. Click the Disable link for Precise Similar Topics.
  3. To permanently uninstall, click Delete Data, then delete the similartopics folder from phpBB/ext/vse/.

License

GNU General Public License v2

© 2013 - Matt Friedman

similartopics's People

Contributors

alhitary avatar bb3mobi avatar galixte avatar imattpro avatar jpustula avatar mannixmd avatar mauron avatar momo-i2 avatar phpbb-es avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

similartopics's Issues

SQL ERROR - Unable to create new categories or forums when using this extension.

When using this extension with phpBB 3.1 and phpBB 3.2 you can no longer create any new categories or forums. You receive the following error:

`SQL ERROR [ mysqli ]

Field 'similar_topic_forums' doesn't have a default value [1364]

SQL

INSERT INTO phpbb_forums (parent_id, forum_type, forum_status, forum_parents, forum_name, forum_link, forum_desc, forum_desc_uid, forum_desc_options, forum_desc_bitfield, forum_rules, forum_rules_uid, forum_rules_options, forum_rules_bitfield, forum_rules_link, forum_image, forum_style, display_subforum_list, display_on_index, forum_topics_per_page, enable_indexing, enable_icons, enable_prune, enable_shadow_prune, prune_days, prune_viewed, prune_freq, prune_shadow_days, prune_shadow_freq, forum_options, forum_flags, left_id, right_id) VALUES (0, 0, 0, '', 'New Catedory', '', '', '', 7, '', '', '', 7, '', '', '', 0, 1, 0, 0, 1, 0, 0, 0, 7, 7, 1, 7, 1, 0, 32, 5, 6)

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 999
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/includes/acp/acp_forums.php
LINE: 1149
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/includes/acp/acp_forums.php
LINE: 199
CALL: acp_forums->update_forum_data()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: acp_forums->main()

FILE: [ROOT]/adm/index.php
LINE: 82
CALL: p_master->load_active()`

Enabling 'SimilarTopics' extension throws 'inheritance' error

phpBB is een foutmelding tegengekomen tijdens het bouwen van de container, veroorzaakt door een geïnstalleerde extensie. Om deze reden zijn alle extensies tijdelijk uitgeschakeld. Probeer de cache van je forum te legen. Alle extensies worden automatische ingeschakeld als de foutmelding is opgelost. Als deze foutmelding zich blijft voordoen, bezoek dan ons support forum via phpbb.nl.

Uitzondering: Attribute "public" on service "vse.similartopics.driver.mysql4" cannot be inherited from "_defaults" when a "parent" is set. Move your child definitions to a separate file or define this attribute explicitly.

#0 /home/public/sites/computerhulp.mkservices.nl/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(237): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseDefinition()
#1 /home/public/sites/computerhulp.mkservices.nl/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(148): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseDefinitions()
#2 /home/public/sites/computerhulp.mkservices.nl/phpbb/extension/di/extension_base.php(99): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load()
#3 /home/public/sites/computerhulp.mkservices.nl/phpbb/extension/di/extension_base.php(63): phpbb\extension\di\extension_base->load_services()
#4 /home/public/sites/computerhulp.mkservices.nl/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php(71): phpbb\extension\di\extension_base->load()
#5 /home/public/sites/computerhulp.mkservices.nl/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php(39): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process()
#6 /home/public/sites/computerhulp.mkservices.nl/vendor/symfony/dependency-injection/Compiler/Compiler.php(140): Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process()
#7 /home/public/sites/computerhulp.mkservices.nl/vendor/symfony/dependency-injection/ContainerBuilder.php(789): Symfony\Component\DependencyInjection\Compiler\Compiler->compile()
#8 /home/public/sites/computerhulp.mkservices.nl/phpbb/di/container_builder.php(223): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#9 /home/public/sites/computerhulp.mkservices.nl/common.php(117): phpbb\di\container_builder->get_container()
#10 /home/public/sites/computerhulp.mkservices.nl/adm/index.php(23): require('/home/public/si...')
#11 {main}

Not showing recent topics in mobile version

phpbb version: 3.3.0
Style version: Milkv2

In the computer version if the similartopics are shown but in the mobile version not.

Is it a problem of the style I use, or is the extension not created to offer support in mobile version?

Edit: Fixed it was a problem with permissions

Add scrollbar

I want to show more using scrollbar. can you add that. I can make 50 view un the result, but the result is too long, but please instead only 5 is showing, but if your scroll theres more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.