Questions tagged [vote-up-buttons]

32 questions
11
votes
3 answers

Clarification on how to use "thumbs_up" voting gem with Rails 3

I am attempting to implement the thumbs_up voting gem on a Rails 3 app, however the instructions are unclear on the actual implementation. After requiring the gem [gem 'thumbs_up'] and after creating and running the appropriate migration [rails…
neon
  • 111
  • 1
  • 4
2
votes
2 answers

How can I implement a voting system (UP/DOWN) or (THUMP UP/DOWN) like StackOverFlow in .NET?

How can I implement a voting system (UP/DOWN) or (THUMP UP/DOWN) like StackOverFlow in .NET ? I found PHP codes but I want something that works in .NET environment. I don't care about security issues like multi votes and such restrictions at this…
Morano88
  • 2,047
  • 4
  • 25
  • 44
2
votes
1 answer

How extensible is Google Moderator?

I am trying to integrate vote-up-buttons similar as in Reddit to Google Moderator. However, Google Moderator does not give me Shell access. This suggests me that the only way is to use Vote-up-buttons from an external server set by iframes. I would…
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
1
vote
2 answers

Overriding a model rails 3.1

I am trying to override a model of forem gem so that I could use thumbs_up gem for voting purpose. I did a rails g model Post and trying to inherit the post model of forem by this line of code class Post < Forem::Post …
Dev R
  • 1,892
  • 1
  • 25
  • 38
1
vote
4 answers

How to disable onTap function when a single click has been clicked. Using flutter

How to disable onTap function when a single click has been clicked. Using Flutter. This is my code below, kindly help me check it out... class VoteCalonUmumPage extends StatelessWidget { const VoteCalonUmumPage({Key? key, required this.title}) :…
naaaaa
  • 11
  • 3
1
vote
1 answer

Azure DevOps Team Retrospectives - Reset Vote Count

We have a number of Team Retrospective votes which were incremented accidentally, when some users repeatedly clicked the upvote button in error. We're now seeking ways to reset the vote count for all affected Retrospectives. Is there a way to do…
1
vote
1 answer

polymorphic class for thumbs_up voting gem

I want to make a generic voting controller for lots of different controllers. I'm using the Thumbs_up gem which was formerly the vote_fu gem. https://github.com/kitop/thumbs_up/blob/master/lib/acts_as_voter.rb My form looks like so which is a…
holden
  • 13,471
  • 22
  • 98
  • 160
1
vote
2 answers

How do I make the like counter to go down when I click the dislike button and vice versa?

this is the controller with like action: def like like = Like.create(like: params[:like], user: current_user, story: @story) respond_to do|format| if like.valid? format.js else format.js {render status: 403, js: "alert('You can only…
1
vote
1 answer

Android Listview with upvote button on left

I'm trying to make a list, much like in reddit, where there is a upvote button on the left and some text to the right of that (a title, user who asked, number answers). I'm trying to make a list containing viewgroups like so: I haven't been able to…
1
vote
1 answer

How can I create a controller for polymorphic association using ruby on rails?

I have created a feed_item using this migration class CreateFeeds < ActiveRecord::Migration def change create_table :feeds do |t| t.integer :item_id t.string :item_type t.integer :user_id t.timestamps end …
user1682647
1
vote
3 answers

PHP Server options and voting system

I am currently creating a website that allows anonymous users to input data (or comments) into a database and allows other anonymous users to the site to vote up or down the comments presented on the site. I have already created the functionality to…
Phil
  • 1,610
  • 4
  • 26
  • 40
0
votes
0 answers

Simple Button Click Counter for Squarespace - Only count 1 click per IP

Can't seem to find code that I can embed into my squarespace website for a Unique Click Counter for a button... each click has to be unique like 1 vote per user. Thanks. copied a few snippets from other users but it wasn't working
0
votes
0 answers

How to write a upvote system like this?

I'm totally new and I've had a project in mind for years. The idea is that anyone can post a "deal" on my website and it will be voted on by the community. If the deal is interesting, they will vote positive and if not interesting, negative. It…
0
votes
1 answer

Microsoft Teams: List with voting functionality?

I hope I may ask this in stackoverflow: I'm looking a way in Microsoft-Team or Sharepoint to build a list of features/functionality where audience can vote up, to sort the list based on user vote. Can you give me hints/ideas? Many thanks in advance,…
Steve S.
  • 71
  • 6
0
votes
1 answer

How do you use a Rails 3 gem method to update a database model?

I am using the Thumb_Up gem for ruby on rails. https://github.com/brady8/thumbs_up I want users to be able to vote on posts. However, I am unable to figure out how I can allow a user to click a button next to each post and add a vote to the…
chris
  • 39
  • 4
1
2 3