• We've added extra Spam Protection. if you get problem with account registration / registration rejected. please contact us
Frank

Content Ratings for XF2.0 1.3.14.2

No permission to download
  • Author Frank
  • Creation date
  • Report Something, if you find anything unusual.
Compatible XF Versions 2.x
2.0
Additional Requirements
php 5.6+, recommended php 7.0+
Visible branding
No
Post Installing

This add-on will require configuration
, only a default "Like" is added after installing.
  • Import from XF1 Post Ratings
  • Add Default Rating Types
    • This adds "Facebook Style" ratings of;
      • Like (y)
      • Love :love:
      • Haha :LOL:
      • Wow :eek:
      • Sad ?
      • Angry :mad:
  • Add New Rating Types manually.
Installing/Uninstalling on a large forum

It is strongly recommended to use the CLI installer/uninstaller.
Code:
This add-on alters xf_like_content, which can take a very long time for a large forum.

To run the SQL manually, use;
SQL:

alter table xf_like_content
    add column sv_rating_type_id unsigned int DEFAULT NULL,
    add index like_user_id_like_date ('like_user_id','like_date');

On uninstalling non-like ratings are dropped;
SQL:

DELETE  FROM `xf_liked_content` WHERE sv_rating_type_id IS NOT NULL AND sv_rating_type_id <> 0

This is very slow.

To disable this behaviour, find uninstallStep3 in this add-on's Setup.php and comment out/remove the content of the function.
Features

  • XF1 "Post Ratings" importer
  • Whitelist/blacklist ratings by user group, lock to starting poster, and limit to forums (for threads)
  • Content Ratings/Reactions on Posts and Conversations.
    • Integrates with alerts & news feed where applicable.
  • Rating Types;
    • Support flexible image icon selection;
      • Sprite Images
      • Images (with high definition alternative image)
      • css fonts
      • Templates (for inline SVG)
    • A Rating type can be usable or visible;
      • Visible & usable - everyone can use and see
      • Not visible & usable - only the person giving the rating can see their own rating, allowing a "private rating".
      • Visible & not usable - everyone can see, not may not use it.
      • Not Visible & not usable, - no one may see or use it.
  • Supported Content types:
    • Posts
    • Conversation Messages
    • Profile Posts
    • Profile Post Comments
  • Rating Categories
    • For example; positive/negative/neutral categories
    • If a category shows on the profile/memberbit/postbit & how stats are presented.
  • Statistics integration
  • User Criteria integration
  • Selectable "default rating" to display as the menu icon, can be Random, or None.
  • Large number of style properties to customize look and feel.
    • Horizontal rating selection
    • Touch support
  • Display highest ratings on thread rating list (disabled by default)
    • Global option to enable/disable
    • Style property options to customize
  • Rating Categories automatic actions when a category hits some threshold ;
    • Report content
    • Moderate content
    • Soft-delete content
  • Allow arbitrary number of rating type/rating type category user criteria
Implementation notes

  • Designed for performance, only minimal data is fetched when interacting with the rating system
    • Overrides XF2's rebuild behaviour to instead be incremental rather than count all ratings on a piece of content.
  • As MySQL's InnoDB table structure does not feature prefix compression, a content type/id pair is very inefficient space-wise.
  • Uses per-content tables which are dynamically managed to store count totals, and automagically links these to the right places for use.
  • If a content's table is "too large" to extend (ie when adding a rating type) without downtime, that content has the rating type disabled for it and the required manual SQL for the administrator to run provided.
    • "too large " table size threshold is an adjustable, may be to fully automatic or fully manual for adding columns.
Style Property screenshots
This add-on has a large number of style property customization options, and the following screenshots demo some of the options:

proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2F2-highest-ratings-on-threadlist-png.168237%2F&hash=be3c4a39ba58d9d579503f625d6efb3c
Author
Frank
Downloads
39
Views
296
First release
Last update
Rating
4.83 star(s) 6 ratings

More resources from Frank

Latest updates

  1. 1.3.14.2 - Installer fix

    Fix installer recreating title column as preparation work for XF2.1 upgrade
  2. 1.3.4 - Bugfix update

    Fix received like ratings count is displayed as 0 (affecting 1.3.x) Note if you did a received...
  3. 1.2.5 - Importer bugfix update

    Fix SQL importer incorrectly populating the post rating cache table.
  4. 1.1.7.1 - Maintenance release

    Ensure unused permissions are removed
Top

AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock