News:

SMF 2.1.3 has been released! Take it for a spin! Read more.

Main Menu

Top Replies

Started by kelvincool, May 08, 2022, 04:00:04 PM

Previous topic - Next topic

kelvincool

Link to the mod

Top Replies shows the most liked or most thanked replies at the top of the topic.

This allows users to quickly see the most useful replies in the topic.

An example scenario is if someone posted a topic asking a question, the top reply could be the best answer as voted by the community.

Requirements

This mod requires PHP 7.4.10 or above.

This mod has only been tested on MySQL. Postgres may not work.

You must have either Likes functionality enabled or the Say Thanks mod installed to use this feature.

This has been tested in Firefox 99, Chrome 100.0.4896.127 and IE Edge 101.0.1210.32.

Translation Credits
Turkish - gevv

Support
Support for this modification can be found in the support topic.



This work is licensed under a Creative Commons Attribution 3.0 Unported License

gevv

ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

gevv

Conflict with Message Bookmarks mod.

Posts cannot be added to message bookmarks.

Quoteindex.php?/topic,80714.msg619251.html
Sources/Class-MessageBookmarks.php (Line 211)
Backtrace information

Type of error: Undefined
Error message Select
8: Undefined index: bookmark_id


Type of error
Undefined_vars
Error message
8: Undefined index: bookmark_id
File
Sources/Class-MessageBookmarks.php
Line
211
URL of page causing the error
index.php?/topic,80714.msg619251.html
Backtrace information

    #0: smf_error_handler()
    Called from Sources\Class-MessageBookmarks.php on line 211
    #1: prepareDisplayContext()
    Called from Sources\Subs.php on line 5796
    #2: call_integration_hook()
    Called from Sources\Display.php on line 1654
    #3: prepareDisplayContext()
    Called from Sources\TopReplies.php on line 119
    #4: displayTopReplies()
    Called from Themes\default\Display.template.php on line 256
    #5: template_main()
    Called from Sources\Load.php on line 2747
    #6: loadSubTemplate()
    Called from Sources\Subs.php on line 4178
    #7: obExit()
    Called from index.php on line 194


ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

kelvincool

@gevv just released v1.1.0 that resolves that conflict with Message Bookmarks mod, also included your turkish translation, thanks for that!

gevv

#4
Thanks  @kelvincool  👍


just a suggestion

there must be a setting for the background color  top replies
ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

kelvincool

@gevv that's a good suggestion, not sure how to implement that yet but will have a think

kelvincool

Released v1.1.1

  • Minor fix for sql errors for anyone with ONLY_FULL_GROUP_BY enabled

kelvincool

Released v1.2.0

  • Added ability to change colours of the Top Replies box

gevv

ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

Advertisement: