Resource icon

UserVoice 1.0.1 v4.1

No permission to download
#1
WeaponOwl submitted a new resource:

UserVoice - 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. Extend thread by likes/dislikes related columns.

Screenshots:
Read more about this resource...
 

Russ

Well-known member
#2
Very cool idea WeaponOwl, I can see a quite a few uses for this. Thank you for this contribution, I'm excited to try it out.
 

sbj

Well-known member
#7
Also can you make it that instead of staff answers, it displays first post (with option to set it like that)?

And also can you make it reddit-style collapsible. Like:

1531407952088.png

to

1531407973660.png
 
#8
what happens if two or more stuff member answer?
Only message with [prefix] bb code is answer. By idea staff change thread title for show status of idea (declined, under review, etc) and on some post insert this bb-code for show current thread status in reply. If staff use this bb code, message with it become staff answer, and should be show on forum view. New message with this bb code rewrite staff answer
 
#9
Also can you make it that instead of staff answers, it displays first post (with option to set it like that)?
First at all - i made this addon for company usage, and put it here just becouse not found something similar. I shouldn't change it while it not required by my tasks. Next - it already show first message in thread.
And also can you make it reddit-style collapsible
See first part of answer
 

Breixo

Active member
#11
Looks really nice. I'll try it.
Is it possible to order threads per number of likes (more likes on top) as the "normal" uservoice?
Thanks!
 
#16
Yes, I use the demo portal: https://xenforo.com/xf2-docs/dev/lets-build-an-add-on/#modifying-the-forum-edit-form

I don't see why both can't work together. Is your addon not compatible with other addons editing the forum_edit admin template? Or is the issue from the demo portal? Considering the portal is made by the developers as a demo, I would assume they use the best practices and it's coded in a way to allow other addons to still hook into the template.
 

S Thomas

Well-known member
#17
Nope, template modifications are done as a replacement and not as an extension. So if one template modifies a value and you actually need the unmodified one in two modifications, you will have to find a compromise for that. Either change the execution order or take the modified value for the second modification.
 
#18
Nope, template modifications are done as a replacement and not as an extension. So if one template modifies a value and you actually need the unmodified one in two modifications, you will have to find a compromise for that. Either change the execution order or take the modified value for the second modification.
Is there no "addbefore" or "addafter"? "replace" sounds very limited if only one addon can get the original value.
 
Top