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
  #362  
Old 02-09-2015, 10:34 AM
M.C. M.C. is offline
 
Join Date: Jan 2002
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello! Great mod and I use it! Thanks!!!

Any ideas how to integrate this mod into vbAdvanced? So everyone can see/give thumbs from vbAdvanced home page.

Same would be nice to see thumbs count at threadlist page....

And finaly what I think is what should be done first - WHY you create own table and didn't use it with original reputation system?

Thanks
Reply With Quote
  #363  
Old 02-09-2015, 11:10 AM
Fields Fields is offline
 
Join Date: Jun 2014
Location: Germany
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by M.C. View Post
Hello! Great mod and I use it! Thanks!!!

Any ideas how to integrate this mod into vbAdvanced? So everyone can see/give thumbs from vbAdvanced home page.

Same would be nice to see thumbs count at threadlist page....

And finaly what I think is what should be done first - WHY you create own table and didn't use it with original reputation system? for example each thumb up give +1 Reputation point...

Thanks!

Thanks
This should work, just try to paste the following code in your vBadvanced module template:

PHP Code:
{vb:raw post_thumbs_box
Reply With Quote
Благодарность от:
M.C.
  #364  
Old 02-09-2015, 02:27 PM
M.C. M.C. is offline
 
Join Date: Jan 2002
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fields View Post
This should work, just try to paste the following code in your vBadvanced module template:

PHP Code:
{vb:raw post_thumbs_box
hmm... don't see it's working... what exact template should I paste it in?

I tried to put it in adv_portal_newsbits template.

Thanks
Reply With Quote
  #365  
Old 02-10-2015, 08:18 PM
pablodip pablodip is offline
 
Join Date: Mar 2014
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fields View Post
You mean you don't see them?
Yes, sorry for my english

Long ago you install it several times, but never achieved the buttons are displayed .. had all settings except that the buttons do not appear
Reply With Quote
  #366  
Old 02-18-2015, 02:04 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I enabled to only be shown in the first post, but would not want to appear in the posts below the image Thumbs (disabled in gray), wanted to remove, how do?
Reply With Quote
  #367  
Old 02-21-2015, 03:52 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wonder also, as I do so that each reply is added in posting a like to the main post?
Reply With Quote
  #368  
Old 04-21-2015, 04:11 PM
Tibiaspy Tibiaspy is offline
 
Join Date: May 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to delete all Thumbs a user received? There is a way to delete all that he gave away and all for one post but is there a way to delete every single one of thumbs that he received?

Any way will be fine.
Reply With Quote
  #369  
Old 06-30-2015, 07:12 AM
Tibiaspy Tibiaspy is offline
 
Join Date: May 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Saint_ago View Post
Hi! That's a nice hack, thank you for doing it!

I've installed the hack yesterday, and i'm having an issue with the Thumbs Center. In the column "Date/Time", all dates and time are showing the variables "d-m-Y - H:i" instead of the actual date and time. How can i fix it?

Thanks in advance
Quote:
Originally Posted by Saint_ago View Post
Fixed by myself.

In "thumbs_center.php"
Changed from:
Code:
$content['date'] = vbdate("d-m-Y - H:i", $xxx['xxx']);
To:
Code:
$content['date'] = vbdate($vbulletin->options['dateformat'] . ', ' . $vbulletin->options['timeformat'], $xxx['xxx']);
Now it uses the date/time format i've set in Vbulletin settings
I had the same problem, thanks for help in fixing it, tho I had to change another code.

When I used your code I got date "01-01-70 00:00" everywhere (probably because I pasted everything including $xxx ). So if anybody has the same problem this is how to fix it:

Go to thumbs_center.php

Change:
Code:
$content['date'] = vbdate("d-m-Y - H:i", $post['dateline']);
To:
Code:
$content['date'] = vbdate($vbulletin->options['dateformat'] . ', ' . $vbulletin->options['timeformat'], $post['dateline']);
And if you have thumbs up activated for more than just posts (like for visitor msgs, blog posts, etc) you need to find all:

Code:
$content['date'] = vbdate("d-m-Y - H:i",
And replace it with:

Code:
$content['date'] = vbdate($vbulletin->options['dateformat'] . ', ' . $vbulletin->options['timeformat'],
That worked for me.
Reply With Quote
  #370  
Old 09-21-2015, 07:10 PM
vosur vosur is offline
 
Join Date: Jul 2015
Location: Moscow
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all! Please tell me how to install Thumbs Up in vBulletin Project Tools Open Source
Reply With Quote
  #371  
Old 09-22-2015, 08:13 AM
john7911 john7911 is offline
 
Join Date: Feb 2013
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you
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 10:52 AM.


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.05731 seconds
  • Memory Usage 2,384KB
  • Queries Executed 28 (?)
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
  • (6)bbcode_code
  • (2)bbcode_php
  • (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
  • (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_postinfo_query
  • fetch_postinfo
  • 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