Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[AJAX] Thumbs Up? Details »»
[AJAX] Thumbs Up?
Version: 1.0.2, by Scandal Scandal is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.7 Rating:
Released: 07-16-2012 Last Update: 11-20-2012 Installs: 66
DB Changes Uses Plugins Template Edits Auto-Templates
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
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)
  • 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 included!
  • Thumbs Up? Center:
  • - latest thumbs on "my" content
  • - latest thumbs "I gave"
  • - statistics
Credits to my friend Lea Verou for designing the appearance of this hack!

Changelog:
v1.0 - first release
v1.0.2 - 1 bug fixed (only first post function issue), phrases added

-Scandal

Download Now

File Type: zip importers.zip (13.1 KB, 353 views)
File Type: zip sc_thumbs_v1.0.2.zip (40.4 KB, 371 views)

Screenshots

File Type: png postbit.png (75.9 KB, 0 views)
File Type: png center.png (50.0 KB, 0 views)
File Type: png stats.png (44.2 KB, 0 views)
File Type: png notification.png (20.3 KB, 0 views)
File Type: jpg admincp.jpg (91.9 KB, 0 views)
File Type: png list.png (14.4 KB, 0 views)
File Type: png memberinfo.png (3.5 KB, 0 views)
File Type: png usercp.png (2.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
12 благодарности(ей) от:
blind-eddie, CreativeIT, devil78, egexperiment626, Fethi.dz, Hasann, klaush, NeshteR054, scrummi, smsoom, sodasusu, xorex

Comments
  #22  
Old 07-19-2012, 11:22 AM
maki_69 maki_69 is offline
 
Join Date: Jun 2010
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed mod on my other forum and works fine and I don't know how is problem on the first forum ;/. When I end configuring mod I will be testing mod on first forum (maybe other plugin conflict with this mod?).
You add phrase "sc_thumbs_title_thumbsdown" and "sc_thumbs_title_thumbsup" but You didn't use it in mod but You use twice "sc_thumbs_thumbs_down" and "sc_thumbs_thumbs_up" (templates "sc_thumbs_box").

EDIT: I know where is bug . Turn on voting only in first post and you will see the same bug what mine. If You turn on voting in every post Your mod works fine.
Reply With Quote
  #23  
Old 07-19-2012, 02:41 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 maki_69 View Post
EDIT: I know where is bug . Turn on voting only in first post and you will see the same bug what mine. If You turn on voting in every post Your mod works fine.
wow, you're right! I'll fix it as soon as posible. :up:

Thanks,
Reply With Quote
  #24  
Old 07-19-2012, 03:06 PM
maki_69 maki_69 is offline
 
Join Date: Jun 2010
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, now i'm testing mod on other forum and I saw in my postbox e-mail with vbulletin database errors like this:

"Database error in vBulletin 3.8.7:

Invalid SQL:
SELECT * FROM sc_thumbs_post WHERE postid IN () ORDER BY username ASC;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY username ASC' at line 1"

If You have a time and desire, I have another proposals for modifications Your mod like:
- public statistic (eg: with the best post from latest x days)
- disabling for view post with more than x "thumbs down" or mark the best posts in topic
A little imagination and this mod will be the best mod of the month :P
Reply With Quote
  #25  
Old 07-19-2012, 05:17 PM
3raq4all 3raq4all is offline
 
Join Date: Feb 2009
Location: Sweden
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:



Hello
How do I get on the variable for the number?
I want to add the number to the Post template
I hope to help

What exactly you want to do? These numbers refers the thumbs has been given on the whole site.
I want to add the number of figures for each member of thumb template to the Post Legacy I just want the numbers for this variable
Reply With Quote
  #26  
Old 07-19-2012, 05:53 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 maki_69 View Post
Hmm, now i'm testing mod on other forum and I saw in my postbox e-mail with vbulletin database errors like this:

"Database error in vBulletin 3.8.7:

Invalid SQL:
SELECT * FROM sc_thumbs_post WHERE postid IN () ORDER BY username ASC;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY username ASC' at line 1"

If You have a time and desire, I have another proposals for modifications Your mod like:
- public statistic (eg: with the best post from latest x days)
- disabling for view post with more than x "thumbs down" or mark the best posts in topic
A little imagination and this mod will be the best mod of the month :P
Can you give me more info about the database error? I need the url of the error and the info of user (he is a guest or a member?). I think this info is on the e-mail.

Thanks for your ideas, will see on the next versions!!

The bug with only first post function, fixed!

Quote:
Originally Posted by 3raq4all View Post
I want to add the number of figures for each member of thumb template to the Post Legacy I just want the numbers for this variable
The variables you need for postbit legacy are:
$post[sc_thumbs_up_received]
$post[sc_thumbs_down_received]
$post[sc_thumbs_up_gave]
$post[sc_thumbs_down_gave]
:up:
Reply With Quote
  #27  
Old 07-19-2012, 07:26 PM
maki_69 maki_69 is offline
 
Join Date: Jun 2010
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scandal View Post
Can you give me more info about the database error? I need the url of the error and the info of user (he is a guest or a member?). I think this info is on the e-mail.
Url: http://my_forum.pl/thumbs.php
User: Drytomm (but this rather can't help with fix problem)

Shortly I check fixed version
Reply With Quote
  #28  
Old 07-19-2012, 07:56 PM
3raq4all 3raq4all is offline
 
Join Date: Feb 2009
Location: Sweden
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scandal View Post
Can you give me more info about the database error? I need the url of the error and the info of user (he is a guest or a member?). I think this info is on the e-mail.

Thanks for your ideas, will see on the next versions!!

The bug with only first post function, fixed!


The variables you need for postbit legacy are:
$post[sc_thumbs_up_received]
$post[sc_thumbs_down_received]
$post[sc_thumbs_up_gave]
$post[sc_thumbs_down_gave]
:up:



Thank you, King :up:
Reply With Quote
  #29  
Old 08-07-2012, 07:34 PM
Chris8's Avatar
Chris8 Chris8 is offline
 
Join Date: Nov 2009
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks very promising.

How about adding ability to thumb up blog (vbblog) entries and comments?
Useful could be also to see a page with of most thumbed up or thumbed down posts or a search feature for most thumbed up or thumbed down posts.
Reply With Quote
  #30  
Old 08-11-2012, 07:16 AM
Kolektor Kolektor is offline
 
Join Date: Jun 2010
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works perfectly!
Hope to see more features
love you man!
Nominated to MOTM!
Reply With Quote
  #31  
Old 08-11-2012, 07:26 AM
Kolektor Kolektor is offline
 
Join Date: Jun 2010
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is one uncached template:

sc_thumbs_memberinfo_block

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 04:28 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.04850 seconds
  • Memory Usage 2,368KB
  • 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
  • (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
  • (11)post_thanks_box
  • (12)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