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
  #72  
Old 07-25-2012, 04:16 PM
Alex@bulletin Alex@bulletin is offline
 
Join Date: Aug 2009
Location: Germany
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One more bug report from me till I provide my translation: (i sent you a pm, concerning some phrases)

Screenshot:



There is the following issue:
If I double click on a vote button unfortunately, the voting box disappears and the phrase "nopermission_loggedin_ajax" appears within the postbit. A very strange bug.....

can you fix that
Attached Images
File Type: jpg thumbs6.jpg (54.0 KB, 0 views)
Reply With Quote
  #73  
Old 07-25-2012, 05:10 PM
Martyn1983 Martyn1983 is offline
 
Join Date: Nov 2008
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I disabled stats in postbit - when I double click on a vote the voting options for that particular post dissapear completely. Refresh the page and the vote options return, complete with the vote as cast.



Quote:
Originally Posted by Alex@bulletin View Post
One more bug report from me till I provide my translation: (i sent you a pm, concerning some phrases)



There is the following issue:
If I double click on a vote button unfortunately, the voting box disappears and the phrase "nopermission_loggedin_ajax" appears within the postbit. A very strange bug.....

can you fix that
Reply With Quote
  #74  
Old 07-25-2012, 05:32 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 Martyn1983 View Post
I disabled stats in postbit - when I double click on a vote the voting options for that particular post dissapear completely. Refresh the page and the vote options return, complete with the vote as cast.
Quote:
Originally Posted by Alex@bulletin View Post
Screenshot:

There is the following issue:
If I double click on a vote button unfortunately, the voting box disappears and the phrase "nopermission_loggedin_ajax" appears within the postbit. A very strange bug.....

can you fix that
It is not a bug, it occurs for the reason that the box does not have the time (when you do a fast double click) to refresh its buttons, so the system recognize that you try to vote again.
This system works with one click, not with double.

May a improvement to the code fix this problem to next releases.
Reply With Quote
  #75  
Old 07-25-2012, 06:20 PM
Alex@bulletin Alex@bulletin is offline
 
Join Date: Aug 2009
Location: Germany
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there, German translation is available for Download now:
http://www.vbulletin-germany.org/sho...0831#post80831

I will upload my first version of the translation in this thread too, so you can test it, but I won't update it anymore, as I'll give only support and updates on the German modification page

SY

Alex
Attached Files
File Type: xml Top_n_Flop_Deutsch (Sie)_Silver.xml (28.6 KB, 7 views)
Reply With Quote
  #76  
Old 07-25-2012, 09:16 PM
sandboa sandboa is offline
 
Join Date: May 2012
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod. But can you help me get the Name field above the thumbs up/down field?
Attached Images
File Type: png Untitled2.png (51.5 KB, 0 views)
Reply With Quote
  #77  
Old 07-25-2012, 09:32 PM
SilverBoy SilverBoy is offline
 
Join Date: Feb 2002
Location: Libya
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SilverBoy View Post
Already nominated.

We still need this great mod to work with blog entries and comments
BTW I use vbtube and I wish I get this awesome mod to work with it (videos and comments).
Again Scandal
Reply With Quote
  #78  
Old 07-25-2012, 09:45 PM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SilverBoy View Post
BTW I use vbtube and I wish I get this awesome mod to work with it (videos and comments).
:up:

I would also like this to work with vbtube video and comments...
and vbtube photos would be awesome.
Reply With Quote
  #79  
Old 07-27-2012, 12:03 AM
AURFSCAN AURFSCAN is offline
 
Join Date: Dec 2007
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didnt want the thumbs box in each post displaying a '0'

I only wanted it to display a number if someone thumbed up/down.

Heres how to,

edit sc_thumbs_box template

find

Code:
{vb:raw amount}
and replace with

Code:
<vb:if condition="$amount !=0 ">{vb:raw amount}</vb:if>

thanks again for a great mod Scandal
Attached Images
File Type: jpg nonum.jpg (28.0 KB, 0 views)
Reply With Quote
Благодарность от:
Crotan
  #80  
Old 07-27-2012, 01:10 AM
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AURFSCAN View Post
I didnt want the thumbs box in each post displaying a '0'

I only wanted it to display a number if someone thumbed up/down.

Heres how to,

edit sc_thumbs_box template

find

Code:
{vb:raw amount}
and replace with

Code:
<vb:if condition="$amount !=0 ">{vb:raw amount}</vb:if>

thanks again for a great mod Scandal
I like the idea :up:
Current I only have this mod set up for Album Pictures and Picture Comments.
The above template change does not seem to work as it is displaying (zero) 0...
at least for me.
Reply With Quote
  #81  
Old 07-27-2012, 01:26 AM
AURFSCAN AURFSCAN is offline
 
Join Date: Dec 2007
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe Scandal can sort the code.. works for me though
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 11:29 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.10386 seconds
  • Memory Usage 2,392KB
  • 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_code
  • (6)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
  • (13)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