Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[AJAX] Thumbs Up? Details »
[AJAX] Thumbs Up?
Mod Version: 1.0.2, by Scandal (Coder/Designer) Scandal is offline
Developer Last Online: Feb 2020 I like it Show Printable Version Email this Page

vB Version: 3.8.7 Rating: (14 votes - 4.93 average) Installs: 64
Released: 17 Jul 2012 Last Update: 21 Nov 2012 Downloads: 405
Not Supported DB Changes Uses Plugins Template Edits Auto-Template Additional Files  

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

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	postbit.png
Views:	947
Size:	75.9 KB
ID:	139863   Click image for larger version

Name:	center.png
Views:	691
Size:	50.0 KB
ID:	139864   Click image for larger version

Name:	stats.png
Views:	543
Size:	44.2 KB
ID:	139865   Click image for larger version

Name:	notification.png
Views:	494
Size:	20.3 KB
ID:	139866  

Click image for larger version

Name:	admincp.jpg
Views:	365
Size:	91.9 KB
ID:	139867   Click image for larger version

Name:	list.png
Views:	653
Size:	14.4 KB
ID:	139868   Click image for larger version

Name:	memberinfo.png
Views:	363
Size:	3.5 KB
ID:	139869   Click image for larger version

Name:	usercp.png
Views:	138
Size:	2.1 KB
ID:	139874  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 18 Jul 2012, 16:32
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Real name: Peter
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
  #17  
Old 18 Jul 2012, 16:53
maki_69 maki_69 is offline
 
Join Date: Jun 2010
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).

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by maki_69; 18 Jul 2012 at 16:59.
Reply With Quote
  #18  
Old 18 Jul 2012, 20:28
3raq4all's Avatar
3raq4all 3raq4all is offline
 
Join Date: Feb 2009



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
  #19  
Old 19 Jul 2012, 00:08
Fluke667 Fluke667 is offline
 
Join Date: Feb 2007
i want import from reputation system to thumbs up... howto do this?
Reply With Quote
  #20  
Old 19 Jul 2012, 13:04
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Real name: Peter
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Let's do some edits, just for testing.
1. Open file thumbs.php and delete the lines:
// 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:
function thumbed_already_check
change the line:
return false;
to
return true;
then try to use the system
3. On the same file, find the function:
function is_in_banned_usergroup()
change the line:
return false;
to
return true;
then try to use the system
4. On the same file, find the function:
function is_in_banned_list()
change the line:
return false;
to
return true;
then try to use the system
5. On the same file, find the function:
function is_a_banned_forum($forumid)
change the line:
return false;
to
return true;
then try to use the system

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.

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
  #21  
Old 19 Jul 2012, 13:22
maki_69 maki_69 is offline
 
Join Date: Jun 2010
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.

Last edited by maki_69; 19 Jul 2012 at 16:31.
Reply With Quote
  #22  
Old 19 Jul 2012, 16:41
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Real name: Peter
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.

Thanks,
Reply With Quote
  #23  
Old 19 Jul 2012, 17:06
maki_69 maki_69 is offline
 
Join Date: Jun 2010
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
  #24  
Old 19 Jul 2012, 19:17
3raq4all's Avatar
3raq4all 3raq4all is offline
 
Join Date: Feb 2009



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
  #25  
Old 19 Jul 2012, 19:53
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Real name: Peter
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!

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]
Reply With Quote
  #26  
Old 19 Jul 2012, 21:26
maki_69 maki_69 is offline
 
Join Date: Jun 2010
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
  #27  
Old 19 Jul 2012, 21:56
3raq4all's Avatar
3raq4all 3raq4all is offline
 
Join Date: Feb 2009
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]



Thank you, King
Reply With Quote
  #28  
Old 07 Aug 2012, 21:34
Chris8's Avatar
Chris8 Chris8 is offline
 
Join Date: Nov 2009
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
  #29  
Old 11 Aug 2012, 09:16
Kolektor's Avatar
Kolektor Kolektor is offline
 
Join Date: Jun 2010
works perfectly!
Hope to see more features
love you man!
Nominated to MOTM!
Reply With Quote
  #30  
Old 11 Aug 2012, 09:26
Kolektor's Avatar
Kolektor Kolektor is offline
 
Join Date: Jun 2010
There is one uncached template:

sc_thumbs_memberinfo_block

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 05:15.

Layout Options | Width: Wide Color: