UserVoice (XF 2.1)

UserVoice (XF 2.1) 2.2 Beta 2

No permission to download

WeaponOwl

Active member
WeaponOwl submitted a new resource:

UserVoice (XF 2.1) - Make likeable threads for share ideas

Description:
Mark some of your forum as UserVoice forum for allow users like/dislike threads on it. UserVoice forums marked with lantern icon at news feed. At forum view staff answers should be poster below thread (see screenshots).

Technical description:
Extend forum class by flag for make it voteble. Create uservoice reactions and allow use it for threads. BB code for add thread status to post

Screenshots:

Read more about this resource...
 
Heya, Trying to do a down vote on my forums and i'm getting this problem (See attached)

Any ideas on how i can fix this?
 

Attachments

  • The problem.webp
    The problem.webp
    104.7 KB · Views: 16
Heya, Trying to do a down vote on my forums and i'm getting this problem (See attached)

Any ideas on how i can fix this?
Run next script on your mysql server
SQL:
ALTER TABLE `xf_thread`
CHANGE COLUMN `vote_score` `vote_score` INT(10) NOT NULL DEFAULT '0' ;
 

Hi, Installed it, then tried to disable addon, as soon as disabled, receiving following error:

MySQL query error [1364]: Field 'votes' doesn't have a default value src/XF/Db/AbstractStatement.php



Seems there is an issue with addon, found similar error encountered with other addons here:


hoping you can assist with fix for this addon as well.
 
ru55ian, sorry but i can't fix it. Disabling addon stop thread extending, and xenforo don't know what use as default value of votes column. As this is blob-type on database, it unable to set default value. So i can suggest only check off uservoice flag from forum or uninstall addon (but it will flush all likes)
 
Important: XF 2.2 will use same thread columns, as i use for this addon. I will prepare pre 2.2 migration release.
Please, do not update to 2.2 without backups!
This addon was made for personal purpose, and i can't guarantee you will have all works fine
 
WeaponOwl updated UserVoice (XF 2.1) with a new update entry:

Pre Xenforo 2.2, Critical Update

Xenforo 2.2 will use same column names as this addon have. It's important to update addon BEFORE run Xenforo 2.2 update. Else you get conflicts on update board, and then break board on update addon.

Changelog:
  • rename all own columns for avoid conflicts
  • last like/dislike toggle off update total rate of idea correctly
  • basic support of Xenforo 2.2 (tested on Beta 3 version). had check all functions, but if i miss something, let me know

Read the rest of this update entry...
 
Back
Top Bottom