Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[AJAX] Thumbs Up? Details »»
[AJAX] Thumbs Up?
Version: 1.9, by Scandal Scandal is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.2.x Rating:
Released: 07-18-2012 Last Update: 12-21-2012 Installs: 347
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Thumbs up/down system for all content of vBulletin!

This mod gives a simple thumbs system for:
  • Forum posts
  • Pictures
  • Picture comments
  • Profile visitor messages
  • Social group messages
  • vBCMS articles
  • vBCMS article comments
  • vBBlog entries
  • vBBlog comments
Features
  • Thumbs up/down rating system
  • Ability to turn off "thumbs down" votes
  • Uses AJAX technology (= no page refresh when voting)
  • Ability to turn off system on each section
  • Show who vote feature (with ability to turn it off for up or/and down thumbs)
  • Postbit statistics
  • Top X rated contents in latest 7 days
  • Notification system for new thumbs (with ability to turn it off via usercp)
  • Only first post feature
  • Ban user/usergroup feature
  • Turn off system on individual forums
  • Importers from Post Thanks/Groans/vBSEO Likes, included!
  • Thumbs Up? Center:
  • - latest thumbs on "my" content
  • - latest thumbs "I sent"
  • - top rated contents
  • - statistics
Credits to my friend Lea Verou for designing the appearance of this hack!

Language packs
German

How to install?
Read the documents inside the *zip file.

How to upgrade?
1. Upload and replace the new files.
2. Import XML product with "Allow overwrite" to YES.

Changelog:
v1.0 - first release
v1.5.2 - 1 bug fixed (only first post function issue), 2 phrase edits
v1.8.0
- new feature: support for vBCMS articles & comments
- whos online locations added
- new feature: top rated (in latest 7 days) contents page
- new feature: postbit statistics
- change: only one button when "thumbs down" are disabled
- new feature: ability to change the color of the thumbs box and the color of amount font via admincp
v1.9.0
- new feature: support for vBBlog entries & comments
- small fix to box template (thanks to Valter)
update 22/12/2012
- bug fixed: guests could not show the thumbs number (shows a zero for all posts)
- to install this fix just upload and replace the updated file includes/functions_sc_thumbs.php. It is not necessary to re-upload all files or upgrade the product xml


If you like this hack, nominate it for MOTM!

-Scandal

Download Now

File Type: zip importers.zip (25.8 KB, 1288 views)
File Type: zip sc_thumbs_1.9_vB4.zip (57.1 KB, 1737 views)

Screenshots

File Type: png box.png (7.5 KB, 0 views)
File Type: png notifications.png (5.5 KB, 0 views)
File Type: png usercp.png (1.9 KB, 0 views)
File Type: png profileblock.png (6.7 KB, 0 views)
File Type: jpg center.jpg (136.7 KB, 0 views)
File Type: png postbit2.png (40.9 KB, 0 views)
File Type: jpg stats.jpg (70.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #142  
Old 08-26-2012, 01:35 AM
klaus's Avatar
klaus klaus is offline
 
Join Date: Mar 2002
Location: Huntington Beach, CA
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just read most of this thread because I saw it as a MOTM candidate. This is 99% what I have been looking for a long time and perhaps with a little bit of convincing the remaining 1% can be added by the developer.

It reminds me of the points system reddit uses. What I am missing is:

1. What happens if a post receives a negative points count? 10 thumbs down for example. Will it show -10?
2. Can a threshold be configured if a post receives a certain negative count that it collapses or is greyed out or something to that effect? Example -3 thumbs = post collapsed and can now only be read by pressing small plus symbol to return to normal view. If it receives enough positive thumbs it will be returned to a regular looking post.
3. I noticed in the screenshots that you show the total of thumbs received as a sum of all thumbs but not as a calculated value of positive thumbs minus negative thumbs. Example: 30 ups and 10 downs. You show 40 total, while I would like to see a score of 20 for that user.

In any event I will test drive this and perhaps some of my concerns will be answered by itself that way.

Looks like an awesome addition.
Reply With Quote
  #143  
Old 08-26-2012, 05:46 AM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by klaus View Post
1. What happens if a post receives a negative points count? 10 thumbs down for example. Will it show -10?
2. Can a threshold be configured if a post receives a certain negative count that it collapses or is greyed out or something to that effect? Example -3 thumbs = post collapsed and can now only be read by pressing small plus symbol to return to normal view. If it receives enough positive thumbs it will be returned to a regular looking post.
3. I noticed in the screenshots that you show the total of thumbs received as a sum of all thumbs but not as a calculated value of positive thumbs minus negative thumbs. Example: 30 ups and 10 downs. You show 40 total, while I would like to see a score of 20 for that user.
1. Yes, it shows -10. If receives, for example, 10 thumbs down and 4 thumbs up, it shows -6.
2. Interesting idea, but I'm not sure how useful would be a function like this.
3. hmm, what screenshots shows this logic of calculation? The system calculates the thumbs, like you describe on your example: 30 ups and 10 downs = 20 not 40!
Reply With Quote
  #144  
Old 08-26-2012, 10:38 AM
rfi rfi is offline
 
Join Date: Jul 2009
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not Showing Thmub'sup Center In The Navbar? How To Add It Like A Link?
Reply With Quote
  #145  
Old 08-26-2012, 04:01 PM
klaus's Avatar
klaus klaus is offline
 
Join Date: Mar 2002
Location: Huntington Beach, CA
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scandal View Post
2. Interesting idea, but I'm not sure how useful would be a function like this.
There used to be a add-on for vb that did that but it got neglected by its author and never carried over into vb4.x. My users loved it.

I spend lots of time on reddit and they use it. Here is a link to some random thread there. Note how some posts/comments are collapsed because they get enough down votes. http://www.reddit.com/r/science/comm...ter_scientist/ Look for [+]
Reply With Quote
  #146  
Old 08-28-2012, 06:21 PM
ecitizen's Avatar
ecitizen ecitizen is offline
 
Join Date: Nov 2011
Location: iran
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi
thanks for good hook
I have problem
i want set vbshop Currency for Thumbs Up

that for evry one like the user give 1 point
how can i this do?
how can i set Points Table and Points Column? plz help me

Reply With Quote
  #147  
Old 08-30-2012, 06:31 AM
Gecuba Gecuba is offline
 
Join Date: Sep 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scandal View Post
1. What exactly matter when you try to edit a picture comment?
Nothing happens. At all. The page just stays the same. When thumbs up is turned off - I can edit picture comments.
Quote:
2. Do you have any edit to the template sc_thumbs_headinclude?
You may try to revert this template, 'cause v1.9 has new code for it.
Ok, I'll have a look and will write about the result.
Thank you!
Reply With Quote
  #148  
Old 08-30-2012, 07:08 AM
Draffi Draffi is offline
 
Join Date: Oct 2011
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@scandal:

It would be nice, if you have a solution for this, because it looks sometimes a little weird...

Quote:
Originally Posted by ryohnosuke View Post
I like this mod! is there any way to fix the box position? Actually is crazy.



Saludos.
Reply With Quote
  #149  
Old 08-30-2012, 02:21 PM
hiepsi@ hiepsi@ is offline
 
Join Date: Mar 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good work.
but
is this a simple bug ?

"Received:0/0" <---but Data is "GIVEN"
"Given:0/0" <---but Data is "RECEIVED".
Reply With Quote
  #150  
Old 08-31-2012, 03:04 AM
klaus's Avatar
klaus klaus is offline
 
Join Date: Mar 2002
Location: Huntington Beach, CA
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok finally installed this add-on and I love it.

I am asking for an additional option to be added by the author or perhaps someone can point me in the right direction on how to modify this.

Thumps Up? - SCORE is what I am requesting where the sum of the received points gets calculated. Example: Thumbs received 30/10 would yield a score of 20 (30 positive thumbs and 10 negative= 20 positive thumbs)

That way we have single user ranking thumbs score that averages that users ratings.

Perhaps make it an option to enable/disable for that those that find it useful.

Thank you. Awesome hack. Hope you win the August competition.
Reply With Quote
  #151  
Old 09-01-2012, 06:17 AM
DM BoNeZ DM BoNeZ is offline
 
Join Date: Jan 2012
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you should make a feature so its , only every post except the first one
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07372 seconds
  • Memory Usage 2,377KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (21)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete