Tom Irons Posted April 2, 2016 Posted April 2, 2016 About This File This plugin will allow users to vote to have a topic featured or pinned Settings: Actions - select which options you want the user to choose from Forums - select which forums you want the plugin displayed in Groups - select the groups you want to be able to use this feature Show a button? - Choose to either show a button or link Show vote count? - Show the current number of votes Minimum Pin/Unpin Requests Minimum Feature/Unfeature Requests
Square Wheels Posted April 4, 2016 Posted April 4, 2016 Does it pin or unpin based on the number of votes? From the images it looks like it does.
Netherlord Posted April 4, 2016 Posted April 4, 2016 1 hour ago, Square Wheels said: Does it pin or unpin based on the number of votes? From the images it looks like it does. You set the setting to a value. One for Pinning. One for unpinning. If the setting to pin is 5 it will auto pin upon the 5th vote. same for the unpin.
Square Wheels Posted April 5, 2016 Posted April 5, 2016 Installed. Not sure if this would be difficult, but it would be a great option to be able to see how many votes a topic has. I just voted to pin a topic, but I have no idea if anyone else has, or how close it is to getting pinned. Also, what happens if a mod / admin pins something? Will this override that and unpin it?
Tom Irons Posted April 5, 2016 Author Posted April 5, 2016 Just now, Square Wheels said: Installed. Not sure if this would be difficult, but it would be a great option to be able to see how many votes a topic has. I just voted to pin a topic, but I have no idea if anyone else has, or how close it is to getting pinned. Also, what happens if a mod / admin pins something? Will this override that and unpin it? I'm working on another plugin right now, but I'll add a counter to show how many votes have been made after the user has "voted". If a mod or admin pins or unpins it, the stats will still be in the database, would you like those to be cleared?
Square Wheels Posted April 5, 2016 Posted April 5, 2016 Just now, Hulu said: I'm working on another plugin right now, but I'll add a counter to show how many votes have been made after the user has "voted". Wow! THat took all of 2 minutes. Thanks Just now, Hulu said: If a mod or admin pins or unpins it, the stats will still be in the database, would you like those to be cleared? I guess I'm not sure how I feel about this. The idea that I installed it implies I want the users to have a say of whether something stays pinned or not. I think I would want them to be able to unpin something a mod pinned. I was just curious.
Tom Irons Posted April 5, 2016 Author Posted April 5, 2016 Just now, Square Wheels said: I guess I'm not sure how I feel about this. The idea that I installed it implies I want the users to have a say of whether something stays pinned or not. I think I would want them to be able to unpin something a mod pinned. I was just curious. If something is pinned, then it will show the give the user the option to vote to unpin. When a mod/admin marks them as pinned/unpinned the stats don't reset for the pin_requests or unpin_requests. Example: Users vote 5 times to pin a topic, and the mod pins it himself. Now users vote to have it unpinned, when it gets unpinned the count for the pin_requests is still 5. Would want those stats reset when a mod/admin pins/unpins the topic?
Square Wheels Posted April 5, 2016 Posted April 5, 2016 1 minute ago, Hulu said: Would want those stats reset when a mod/admin pins/unpins the topic? If you are going to make a change, I would propose to not have the mod / admin pinning do anything. So in your example it would stay at 5.
Tom Irons Posted April 5, 2016 Author Posted April 5, 2016 Just now, Square Wheels said: If you are going to make a change, I would propose to not have the mod / admin pinning do anything. So in your example it would stay at 5. Then I won't change anything.
Square Wheels Posted April 5, 2016 Posted April 5, 2016 1 minute ago, Hulu said: Then I won't change anything. Except displaying the vote count, can we still have that? Pretty please?
Tom Irons Posted April 5, 2016 Author Posted April 5, 2016 5 minutes ago, Square Wheels said: Except displaying the vote count, can we still have that? Pretty please? Yeah, I can add that after I get done with this plugin.
Square Wheels Posted April 5, 2016 Posted April 5, 2016 2 minutes ago, Hulu said: Yeah, I can add that after I get done with this plugin.
Square Wheels Posted April 5, 2016 Posted April 5, 2016 I got a comment from one user: "I can't see any way to undo my vote in case I accidentally chose to pin when I really meant to quote." Would it be hard to let the user remove their vote, kind of like the Like system?
Tom Irons Posted April 5, 2016 Author Posted April 5, 2016 2 minutes ago, Square Wheels said: I got a comment from one user: "I can't see any way to undo my vote in case I accidentally chose to pin when I really meant to quote." Would it be hard to let the user remove their vote, kind of like the Like system? I'll work that into the update as well.
Square Wheels Posted April 5, 2016 Posted April 5, 2016 1 minute ago, Hulu said: I'll work that into the update as well.
Netherlord Posted April 5, 2016 Posted April 5, 2016 I actually wondered if the vote button could be made to be better seen. But im not sure if that would work at all. Could it be worked into the like this button?
Tom Irons Posted April 5, 2016 Author Posted April 5, 2016 2 minutes ago, Netherlord said: I actually wondered if the vote button could be made to be better seen. But im not sure if that would work at all. Could it be worked into the like this button? I can turn it into a button, right now it's just a link.
Netherlord Posted April 5, 2016 Posted April 5, 2016 2 hours ago, Hulu said: I can turn it into a button, right now it's just a link. link/button i was just thinking of ways i could customize it to fit in myself. Thought about a thumb icon next to the multiquote icon or adding it next to the like this button. Just want it to not look out of place ya know?
Tom Irons Posted April 5, 2016 Author Posted April 5, 2016 How's this? If there was a way to get the list of font awesome icons, I would do that... but I don't think there is an form helper for that.
Netherlord Posted April 5, 2016 Posted April 5, 2016 1 minute ago, Hulu said: How's this? Looks good. I may take it a step further on my own though and incorporate it into the like section. Here is a screengrab of what that would look like.
Tom Irons Posted April 5, 2016 Author Posted April 5, 2016 I did what I could with this update There are 2 icon options, arrow or thumbs. File has been updated!
Netherlord Posted April 6, 2016 Posted April 6, 2016 I found a bug. I have all settings enabled When logged out guests can see and click this on every post! Remove your vote
Square Wheels Posted April 6, 2016 Posted April 6, 2016 14 hours ago, Netherlord said: I found a bug. I have all settings enabled When logged out guests can see and click this on every post! Remove your vote @Hulu, has this been confirmed, and if yes, has it been fixed? Thanks
Tom Irons Posted April 6, 2016 Author Posted April 6, 2016 5 minutes ago, Square Wheels said: @Hulu, has this been confirmed, and if yes, has it been fixed? Thanks I completely re-did the plugin, so this issue should be fixed in the new one.
Square Wheels Posted April 7, 2016 Posted April 7, 2016 Thanks, I just updated and gave it a try. Sorry, there is a problem Something went wrong. Please try again. Error code: EX1054
Recommended Posts
Archived
This topic is now archived and is closed to further replies.