vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - [AJAX] Thumbs Up? (https://vborg.vbsupport.ru/showthread.php?t=285720)

Scandal 07-18-2012 10:00 PM

[AJAX] Thumbs Up?
 
1 Attachment(s)
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! :cool:

-Scandal :)

RobbieZ 07-19-2012 11:59 AM

Nice, can we add more 'buttons' ? ie. thumb up and down is two buttons..

Scandal 07-19-2012 12:38 PM

Quote:

Originally Posted by RobbieZ (Post 2349480)
Nice, can we add more 'buttons' ? ie. thumb up and down is two buttons..

wow no, it is a thumbs system with ability to turn off "down" votes. ;)

Here it is an admincp screenshot, to see the options!

Shadow 07-19-2012 01:55 PM

Excellent mod, definitely using this on my forums.

Rated and Installed.

Nirjonadda 07-19-2012 02:57 PM

Does it work on 4.1.10? Manually templates Edit do not Like !

Mr_Running 07-19-2012 04:29 PM

1 Attachment(s)
Excellent :) will be testing with Albums Pictures and Picture Comments.

In regards to the Ability to turn off "thumbs down" votes

Improvement Request: How about hiding the thumbs down if the it's not enabled.

Count and Thumb would need to be centered once the thumbs down was hiding. ;)

LouiseWilson 07-19-2012 05:18 PM

nice installed
Should

Quote:

Thumbs Up?
Thumbs Up Received
Thumbs Down Received
Thumbs Up Give
Thumbs Down Give
be

Thumbs Up?
Thumbs Up Received
Thumbs Down Received
Thumbs Up Given
Thumbs Down Given

just missing the n :)

Alex@bulletin 07-19-2012 06:06 PM

1 Attachment(s)
Hi dude, great mod, will be my next translation project.
But you made an little error, maybe an redundant <b> :D

I show you the issue:

I've seen it only on SHOWTHREAD now:

That's how it should be:
https://vborg.vbsupport.ru/attachmen...1&d=1342724698

Turning your mod on does this:

https://vborg.vbsupport.ru/attachmen...1&d=1342724698

As you can see the administrative options are bolt now.
It's just a little bug, but maybe it should be fixed for next release.

:)

Scandal 07-19-2012 06:14 PM

Quote:

Originally Posted by Alex@bulletin (Post 2349606)
Hi dude, great mod, will be my next translation project.
But you made an little error, maybe an redundant <b> :D

I show you the issue:

I've seen it only on SHOWTHREAD now:

That's how it should be:
[...]

Turning your mod on does this:

[...]
As you can see the administrative options are bolt now.
It's just a little bug, but maybe it should be fixed for next release.

:)

fixed! You're very watchful! :D

Quote:

Originally Posted by LouiseWilson (Post 2349585)
nice installed
Should



be

Thumbs Up?
Thumbs Up Received
Thumbs Down Received
Thumbs Up Given
Thumbs Down Given

just missing the n :)

fixed on version 1.5.2 (+ 1 bug fix) :up:

Scandal 07-19-2012 07:11 PM

Quote:

Originally Posted by Mr_Running (Post 2349573)
Excellent :) will be testing with Albums Pictures and Picture Comments.

In regards to the Ability to turn off "thumbs down" votes


Improvement Request: How about hiding the thumbs down if the it's not enabled.

Count and Thumb would need to be centered once the thumbs down was hiding. ;)

The "down" button is necessary if you have also the thumbs down votes disabled, 'cause it unset the "thumb up". :)
Do you pick up any report to thumbs down votes (for example to Thumbs Up? Center or to the box), when they are disabled?
The only one I have in mind is that the down votes displayed on the "latest" page of Thumbs Up? Center, if you disable them "later" and the members has catch some "down" votes.

Quote:

Originally Posted by Nirjonadda (Post 2349532)
Does it work on 4.1.10? Manually templates Edit do not Like !

I think it works, vB4.2 and 4.1 haven't big differences. About the template edits: a mod can add auto-template changes only if the relative template has the necessary "hooks" on its code. I don't picked up any way to do these changes automatically. The template edits this mod needs are very small (only one "word" per template).


All times are GMT. The time now is 10:38 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01448 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete