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
  #22  
Old 07-20-2012, 05:29 PM
hubba hubba is offline
 
Join Date: Dec 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Problem: In the TCenter I see the old "post Thanks" points. But not in the up/down option in posting. Yes I imported as you described...
Reply With Quote
  #23  
Old 07-20-2012, 06:45 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 FF|Skyrider View Post
While it looks great, I was hoping that the Background color can be set per style. Further more, I'm sad to see that each page refresh takes up extra seconds to load the thumbs up / down boxes on each and every single post.

When you load a thread you've never seen before, the thumbs up and down loads instantly. But after you reload the thread, it takes longer to load them every time.

Another suggestion. When you thumb someone up, the thumb up icon will be gray and the red one will stick being red. I suggest making the red gray and the green green.. Reason is that is looks like you've thumbed down the post rather than up.

And is there anyway I can add this within the title icon bar? in postbit_legacy? I try to, but it breaks the title icon page.

Other than that. Awesome plugin!
The background color is on my plans!
Very strange this about the load, 'cause the mod do only one query per thread page for loading the box with voters.

About the button colors: voters take in directly the vote has given (+1 or -1), 'cause the counter refreshing directly.
The "logic" of changing buttons' color are the same for each thumb type:
- When click thumbs up-> green button takes to grey & red button be the same
- When click thumbs down-> red button takes to grey & green button be the same
- When you have no thumb a post or you have remove your thumb, twice buttons has their colors.
- Grey color means that you cannot push a button.
Quote:
Originally Posted by hubba View Post
Problem: In the TCenter I see the old "post Thanks" points. But not in the up/down option in posting. Yes I imported as you described...
Do you mean that the thumbs box doesn't appear in postbit? Do you have done the necessary template edits? (read the Installation document inside the *zip file).

Quote:
Originally Posted by Mr_Running View Post
Yes,
Ability to turn off "thumbs down" votes = disappear the thumb down (red) when thumbs down is disabled.

Yes, appear only one box.

Ability to turn off "thumbs down" votes
Attachment 139949
I understand. I'm not sure currently about a change like this, but 'll see as next releases will publising.

(sorry for my bad english)
Reply With Quote
  #24  
Old 07-20-2012, 06:54 PM
hubba hubba is offline
 
Join Date: Dec 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

>Do you mean that the thumbs box

No, its there but i.E. in the Center it shows 200 thx from the old hack, in the postpox is all at 0
Reply With Quote
  #25  
Old 07-20-2012, 07:05 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 hubba View Post
No, its there but i.E. in the Center it shows 200 thx from the old hack, in the postpox is all at 0
The Center shows only the latest 20 thumbs. Do you mean that you import from Post Thanks, but all rating boxes (=included the posts which thanked with Post Thanks), has "0" thumbs?
Very strange!

If you talking about the statistics, after an importing, you should run the recounters (see the documentation of importers). Finally, do a clean install of Thumbs Up? and try to run the importer again.
Reply With Quote
  #26  
Old 07-20-2012, 07:15 PM
hubba hubba is offline
 
Join Date: Dec 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did that, but the correct numbers of thanks only shows in the Center not in the postbox.
Reply With Quote
  #27  
Old 07-20-2012, 08:03 PM
hubba hubba is offline
 
Join Date: Dec 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

>but all rating boxes (=included the posts which thanked with Post Thanks), has "0" thumbs?

exactly, I attach 2 pics
Attached Images
File Type: jpg thx1.jpg (36.1 KB, 0 views)
File Type: jpg thx2.jpg (17.8 KB, 0 views)
Reply With Quote
  #28  
Old 07-20-2012, 08:26 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 hubba View Post
>but all rating boxes (=included the posts which thanked with Post Thanks), has "0" thumbs?

exactly, I attach 2 pics
I look 3 thumbs to your posts on thread "Danke - Nein Danke". May you have more than one posts to that thread, which has been thumbed with +1 from members chiquitaman and Der Adel? Normally, when you click the link of post in T. Center, you're get to the corresponding post. Look at the urls you're visiting from T. Center. Has the same postid?
Reply With Quote
  #29  
Old 07-20-2012, 11:06 PM
hubba hubba is offline
 
Join Date: Dec 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, 2 have it, thats it. the popup box does not show the overall number, right? If so:

But what I am missing are 2 things:

A overall number of up and downs, so I could put it in the left postbit, under Avatar and the second, is it possible to add an amount of reputation with every up and minus with down thumb?
Reply With Quote
  #30  
Old 07-21-2012, 06:12 AM
SilverBoy SilverBoy is offline
 
Join Date: Feb 2002
Location: Libya
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod

Could you add this great feature to CMS articles and articles comments?
Reply With Quote
  #31  
Old 07-21-2012, 06:18 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope you do the change Scandal:



There is no need to have the red thumb down to appear when it's completely disabled. It's smaller, compact and I like to have this as well.
Reply With Quote
Благодарность от:
Mr_Running
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 02:47 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.04858 seconds
  • Memory Usage 2,383KB
  • 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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (22)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)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