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
  #12  
Old 07-17-2012, 10:35 PM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I shall wait for the vB4 version!
Reply With Quote
  #13  
Old 07-18-2012, 06:47 AM
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
Great mod but I have problem with permissions of usergroups. Where Can I enable / disable voting for usergroups? I check all options in plugin setting but I get error about permissions.
On admincp settings about Thumbs Up? there is the option to Ban Usergroups of using the system:
Attachment 139898
This option is on settings, not on usergroup manager.
Quote:
Originally Posted by maki_69 View Post
Another thing is problem with voting after changing forum language. I use polish language and when I want check error message in english, I change forum language and vote but buttons disappear and my vote didn't count.
hmm I don't understand the problem.
If the language of your site is set to English, the system works fine, but if you turn to Polish, and try to thumb, the box disappear? What with error message?

(sorry for my bad English :erm: )
Reply With Quote
  #14  
Old 07-18-2012, 07:23 AM
maki_69 maki_69 is offline
 
Join Date: Jun 2010
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scandal View Post
On admincp settings about Thumbs Up? there is the option to Ban Usergroups of using the system:
Attachment 139898
This option is on settings, not on usergroup manager.
I saw this option but when I want vote I get error about permissions my usergroup but banned usergroups field is empty.


Quote:
Originally Posted by Scandal View Post
hmm I don't understand the problem.
If the language of your site is set to English, the system works fine, but if you turn to Polish, and try to thumb, the box disappear? What with error message?
This problem You can see when You install mod on language number 1 (in my example polish) and next you change language to number 2 (english). Now try vote. Box with thumbnails disappear and error doesn't appear.

BTW. And what you thing about my proposition about box on forumdisplay?
Example (but in this example looks ugly):

This box can be like optional function
Reply With Quote
  #15  
Old 07-18-2012, 07:41 AM
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
I saw this option but when I want vote I get error about permissions my usergroup but banned usergroups field is empty.
Can you let me know what is your usergroup ID its users has this problem? (no permission). Also check if the problem is only for your test account. Other users on this usergroup has the same problem?

Quote:
Originally Posted by maki_69 View Post
This problem You can see when You install mod on language number 1 (in my example polish) and next you change language to number 2 (english). Now try vote. Box with thumbnails disappear and error doesn't appear.
Try this change temporary to see the error: Go to admincp > vBulletin Options > General Settings, and disable All AJAX features. Then try to vote and let me know the error message.


Quote:
Originally Posted by maki_69 View Post
BTW. And what you thing about my proposition about box on forumdisplay?
Example (but in this example looks ugly):

This box can be like optional function
The box you describe is for "thumb up/down" threads, or a sum of post thumbs for each thread?
Reply With Quote
  #16  
Old 07-18-2012, 09:52 AM
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 let me know what is your usergroup ID its users has this problem? (no permission). Also check if the problem is only for your test account. Other users on this usergroup has the same problem?
I test mod on localhost like admin and registered user. Both usergorups have this error.


Quote:
Originally Posted by Scandal View Post
Try this change temporary to see the error: Go to admincp > vBulletin Options > General Settings, and disable All AJAX features. Then try to vote and let me know the error message.
I disabled ajax features and got the same error:
"admin, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation."


Quote:
Originally Posted by Scandal View Post
The box you describe is for "thumb up/down" threads, or a sum of post thumbs for each thread?
Described box is for sum of thumbs up for first post. Of course You can do this box for others options like counting every thumbs in topic or displaying sum of thumbs up and sum of thumbs down.
Reply With Quote
  #17  
Old 07-18-2012, 02:32 PM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very strange
What your vBulletin version?

If you couldn't thumb a post, the buttons would be "grey" ("not allowed"). Has anyone the same problem?

hmm, do a right click on a button (up or down), copy the url and paste it here.
Reply With Quote
  #18  
Old 07-18-2012, 02:53 PM
maki_69 maki_69 is offline
 
Join Date: Jun 2010
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scandal View Post
Very strange
What your vBulletin version?
I use 3.8.6 on localhost but in few minutes I install and check mod on my forum.

EDIT: On my forum I have the same problem (I use vBulletin 3.8.7 Patch Level 3).

Quote:
Originally Posted by Scandal View Post
hmm, do a right click on a button (up or down), copy the url and paste it here.
URL:
Code:
http://localhost/vbulletin/thumbs.php?do=add&contenttype=post&thumb=-1&contentid=2&securitytoken=1342626612-cf8705a736092af96d2083ce350a15fff2c20d0f
Reply With Quote
  #19  
Old 07-18-2012, 06:28 PM
3raq4all 3raq4all is offline
 
Join Date: Feb 2009
Location: Sweden
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default




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
Reply With Quote
  #20  
Old 07-18-2012, 10:08 PM
Fluke667 Fluke667 is offline
 
Join Date: Feb 2007
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i want import from reputation system to thumbs up... howto do this?
Reply With Quote
  #21  
Old 07-19-2012, 11:04 AM
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
I use 3.8.6 on localhost but in few minutes I install and check mod on my forum.

EDIT: On my forum I have the same problem (I use vBulletin 3.8.7 Patch Level 3).


URL:
Code:
http://localhost/vbulletin/thumbs.php?do=add&contenttype=post&thumb=-1&contentid=2&securitytoken=1342626612-cf8705a736092af96d2083ce350a15fff2c20d0f
Let's do some edits, just for testing.
1. Open file thumbs.php and delete the lines:
Quote:
// check security
if (!verify_security_token($securitytoken, $vbulletin->userinfo['securitytoken_raw'])) {
print_no_permission();
}
then try to use the system.
2. Open file includes/functions_sc_thumbs.php and find the function:
Quote:
function thumbed_already_check
change the line:
Quote:
return false;
to
Quote:
return true;
then try to use the system
3. On the same file, find the function:
Quote:
function is_in_banned_usergroup()
change the line:
Quote:
return false;
to
Quote:
return true;
then try to use the system
4. On the same file, find the function:
Quote:
function is_in_banned_list()
change the line:
Quote:
return false;
to
Quote:
return true;
then try to use the system
5. On the same file, find the function:
Quote:
function is_a_banned_forum($forumid)
change the line:
Quote:
return false;
to
Quote:
return true;
then try to use the system

Quote:
Originally Posted by 3raq4all View Post



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.

Quote:
Originally Posted by Fluke667 View Post
i want import from reputation system to thumbs up... howto do this?
I haven't check reputation system. will see.
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:54 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.07076 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
  • (2)bbcode_code
  • (28)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
  • (3)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