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
  #172  
Old 11-07-2012, 06:42 PM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kaleem View Post
Guests can not see the rating? It just shows them number zero?

Will you be adding the guest accessibility? It will be a good addition.

Excellent Mod.
Quote:
Originally Posted by jaffaman View Post
Installed thanks for your great mod.



I would like to see that as well.

I am not fussed if the guest can use it but i would like them to see the number of thumbs up/down votes and if they hover over the thumbs it comes up with something like You are not logged in or you do not have permission to use the Thumbs up/down rating system.

One other thing is there a setting to have one thumbs up/down per post so you can not give a post a thumbs up and a thumds down on the same post?.
wow it is a bug! To fix the viewing of thumbs votes to guests, open the file functions_sc_thumbs.php (located in /includes folder), find the lines:
Quote:
// if guest, do not load the thumbs (return empty cache)
if ($vbulletin->userinfo['usergroupid'] == 1) {
return $cache;
}
... and remove them!
Reply With Quote
Благодарность от:
jaffaman
  #173  
Old 11-07-2012, 08:39 PM
jaffaman jaffaman is offline
 
Join Date: Nov 2004
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot
Reply With Quote
  #174  
Old 11-16-2012, 08:48 AM
cjwinternet cjwinternet is offline
 
Join Date: Oct 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installation went well, including the edit to allow guests to see ratings.

I like the following points:

The option to dislike a post or thread (unlike facebook where you can only like)

That you can't vote on your own threads or posts.

That you can change your mind.

Works well so far, thanks.
Reply With Quote
  #175  
Old 11-16-2012, 09:37 AM
cjwinternet cjwinternet is offline
 
Join Date: Oct 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Impromptu View Post
Very nice work and love it.

I use post-legacy style and just some minor issues.

With the people who are listed as thumbs up is there a way I can put in a right-margin it as the last letter is cut off on the right hand side.

Also, when the hover over the number of thumbs up, it's fine for posts with 4-5 lines but where there is a post with 1 lines it goes really weird. Just when I hover it, but otherwise it's fine.
Quote:
Originally Posted by AURFSCAN View Post
Also I think the show thumbers popup should be to the left of the box and up, not below..

That too can be fixed in the css. Reason being If there is only one post in a thread theres no room for the box and the browser goes crazy with trying to scroll.. theres a mention of it in this thread
Quote:
Originally Posted by Impromptu View Post
I don't believe I have received a response but maybe my post was unclear.



The top image has an error indicated by the arrows as when you hover over the number it pushes the number/thumb to the left, but the bottom image you can see it perfectly aligned. The top image moves to the left as when the post has only 1-2 lines, but the bottom image doesn't as it has 4-5 lines in the post.

Is there a way that the right slider bar doesn't appear for the top image. Even better would be that if the right and bottom slider bar be removed completely, is that possible?

You can't see it but the top image continuous changes and moves back and forth from the top image to the bottom image to the top image to the bottom image.

Also is there a way to add a title to the image to say 'Vote Here' or 'Thumbs Up' so it makes it clearer to the reader that the thumbs up means you can vote there.

Thanks, Jay

PS - if the above is a result of my VB skin, could you just show how to put the 'thumbs up' after the content of the post? Thanks

Was a fix for this yet? Basically, when rolling over the number to enable stats in the drop down box, a scroll bar is added to a short post, making the whole thumbs area flicker in and out.
Reply With Quote
  #176  
Old 11-16-2012, 10:30 AM
cjwinternet cjwinternet is offline
 
Join Date: Oct 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found the solution. You need to edit postbit.css and add this...

Code:
/* enable overflow */

.postbit .postrow {
	overflow: visible;
}
Reply With Quote
2 благодарности(ей) от:
Scandal, wally07
  #177  
Old 11-16-2012, 12:01 PM
maria bartolome maria bartolome is offline
 
Join Date: Jun 2011
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Error

http://www.esquemasdeabalorios.es/thumbs_center.php?
Reply With Quote
  #178  
Old 11-16-2012, 12:31 PM
maria bartolome maria bartolome is offline
 
Join Date: Jun 2011
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Error here http://img96.imageshack.us/img96/4863/imagen1qz.jpg
Reply With Quote
  #179  
Old 11-16-2012, 12:44 PM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by maria bartolome View Post
Quote:
Originally Posted by maria bartolome View Post
It is necessary to upload the files of the product.
Upload all the files of /upload/ folder to your ftp.
Reply With Quote
  #180  
Old 11-16-2012, 12:53 PM
cjwinternet cjwinternet is offline
 
Join Date: Oct 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the chances of being able to see the current thread rating displayed elsewhere, like on the various forum listings?
Reply With Quote
  #181  
Old 11-16-2012, 02:20 PM
maria bartolome maria bartolome is offline
 
Join Date: Jun 2011
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scandal View Post
It is necessary to upload the files of the product.
Upload all the files of /upload/ folder to your ftp.
Thanks perfect!!
not understand how are installed :
importers.zip
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 08:50 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.05219 seconds
  • Memory Usage 2,387KB
  • 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
  • (1)bbcode_code
  • (9)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
  • (24)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)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