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
  #202  
Old 01-09-2013, 09:23 PM
datoneer datoneer is offline
 
Join Date: Jul 2011
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent mod it works with 4.2.0. Installed and nominated!
Reply With Quote
  #203  
Old 01-11-2013, 07:47 PM
karabaja3's Avatar
karabaja3 karabaja3 is offline
 
Join Date: Jan 2008
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod. Would like this for 3.8.x
Reply With Quote
  #204  
Old 01-12-2013, 04:08 PM
daviet daviet is offline
 
Join Date: Mar 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mod looks great, I would also love to see the feature of hiding posts with a certain negative count mentioned previously in the thread.

Quote:
Originally Posted by tr1cky View Post
Can you add an option to hide posts when they have a negative count of X and then users can they decide to expand the post or not.
Quote:
Originally Posted by klaus View Post
...
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.
...
Reply With Quote
  #205  
Old 01-13-2013, 03:12 AM
Mr.Lucky Mr.Lucky is offline
 
Join Date: Nov 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love this mod, thank you for making it. Two questions:

1. Can you tell me where to make a change so when the votes are positive, it shows a + symbol?

2. If there are no votes, is it a simple code change to only show the thumbs and not the number 0?

Thanks!
Reply With Quote
  #206  
Old 01-14-2013, 07:39 PM
jswiss jswiss is offline
 
Join Date: Jun 2007
Location: toronto
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Scandal

Thanks for a super mod - installed successfully!

How do I change the color of the text under the thumbs up/down text?

Right now it's green for a thumbs up and red for a thumbs down... I'd like to change these colors to gray...

Thanks!
Attached Images
File Type: jpg color-change.jpg (7.1 KB, 0 views)
Reply With Quote
  #207  
Old 01-16-2013, 03:03 PM
ciano1 ciano1 is offline
 
Join Date: Sep 2012
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been using this mod for about a week now and I love it.
Here are 3 suggestions that I think will improve it alot:

1: When there is no thumbs up on a post, just display the thumbs up buttons and dont display a zero.

2: Add an option to turn off unvoting posts (once you thumb up a post it cannot be undone)

3: If your post has received thumbs up, display the number as you would any other post.

Love the mod
Reply With Quote
  #208  
Old 01-30-2013, 02:21 AM
Muhammad Rahman Muhammad Rahman is offline
 
Join Date: Jun 2012
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think found a bug in the commentary article ..

such is the case:

when pressing thumb up it will be counted one ..
but when browsers reload thumb up lost count ..

sorry my English bad ..
Reply With Quote
  #209  
Old 01-31-2013, 12:44 AM
curriertech curriertech is offline
 
Join Date: Aug 2005
Location: NH
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jswiss View Post
Hi Scandal

Thanks for a super mod - installed successfully!

How do I change the color of the text under the thumbs up/down text?

Right now it's green for a thumbs up and red for a thumbs down... I'd like to change these colors to gray...

Thanks!
Edit this template: sc_thumbs_postbit_info
Reply With Quote
  #210  
Old 02-05-2013, 08:14 PM
dizzynation's Avatar
dizzynation dizzynation is offline
 
Join Date: Jun 2011
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

(EDIT) - Does not work with vb 4.2 and vBSEO 3.6

A few questions:

I am using vBSEO but I have the Likes/Thanks system disabled from the beginning (I have used the .php script to change from vbseo likes to thumbs up

Currently there are no thumbs up options in posts and I followed your instructions for adding thumbs up in posts


ALSO
**I am getting a strange warning with my custom firefox plugin that my forum is now linking to newrelic.com

Waring** 1289ms loading newrelic.com - (Does this have to do with this MOD?)


*EDIT*- If it is with this MOD you should have in the description that the mod includes app analytics for your purposes...
Reply With Quote
  #211  
Old 02-06-2013, 08:00 AM
wally07 wally07 is offline
 
Join Date: Sep 2010
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wally07 View Post
Excellent hack! TY.

There's only a small problem I encountered while using postbit on any theme (including the default vBulletin theme). Using postbit_legacy doesn't have the follow issue.

Plugin enabled


Plugin disabled



The post #'s and the physical post layout get thrown out of whack a small bit.

I've reuploaded the contents to the server as well as re-installed the product xml; same results. I will try to add it to my other mostly stock test forum (1 plugin - a chatbox) and see if the results are the same.

Also, the:
Thumbs Up/Down
Received:
Given:

Are not aligned. See below:


Many thanks in advance.

edit:
Forgot to mention, I'm using vB 4.2 patch level 3
This still happens on my test forum with no other plugins installed. I even went as far as disabling all plugins on my live site and only enabling this plugin. Same issue, unfortunately.
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:33 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.07434 seconds
  • Memory Usage 2,379KB
  • 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
  • (4)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
  • (10)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