The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[AJAX] Post Thank You Hack Details »» | |||||||||||||||||||||||||
vB 3.7 version of this hack here: https://vborg.vbsupport.ru/showthread.php?t=165673
vB 4.0 version of this hack here: https://vborg.vbsupport.ru/showthread.php?t=231666 Post Thank You Hack 7.4 About this hack: One of the biggest problems on forums as you may know is 'posts boosting'. There are users who LOVE to say 'thanks' when ever they can. How can it hurt? Their post count goes up, they have nothing to loose. There are also users who really like to express their thanks to post but don't like posting a post that looks like they're post boosting. Then comes the moderators who have to delete people's thanks yous so a thread can look readable with out the thanks yous thrown around. Finally comes the posters of these useful posts. They have no idea how many people really likes their posts if only some people say 'thanks'. What this hack does is fix ALL these problems - except those users who like post boosting. This places a button called 'thanks.' When a user clicks on it, it places his username in a box right under the post saying that so-and-so says 'thanks' for the post. Every-one who clicks is placed in one box. By giving your users the extra feature, you forum will look allot nice and organized. It is a guaranteed liking by ALL the members of your forum. Features:
Updates: Version 7.0 (12/20/07):
Version 7.1 (12/24/07):
Version 7.2 (01/24/08):
Version 7.3 (03/15/08):
Version 7.4 (03/21/08):
Please post your comments or suggestions for this hack. I read ALL posts. MAKE SURE YOU CLICK INSTALL! You will get an email when a new version is released. Pictures:
Supporters / CoAuthors Show Your Support
|
Comments |
#502
|
|||
|
|||
Quote:
Quote:
Quote:
|
#503
|
|||
|
|||
Just out of curiosity, is there a way to change default things such as "Thanks" and "....has thanked...."?
i.e.; say I'd like to change it to "Thank You" and "**** has said Thank You to **** for this post" --- is that possible? Let me know if I need to clarify this. |
#504
|
|||
|
|||
i've installed this hack, but... can you optimize code to use 1 predefined js function depending on the post id, instead of using
Code:
<script type="text/javascript"> <!-- function post_thanks_give_57255() { fetch_object('post_thanks_button_57255').style.display = 'none' do_thanks_add = new vB_AJAX_Handler(true) do_thanks_add.onreadystatechange(thanks_add_Done_57255) do_thanks_add.send('showthread.php?do=post_thanks_add_ajax&p=57255') } function thanks_add_Done_57255() { if (do_thanks_add.handler.readyState == 4 && do_thanks_add.handler.status == 200) { fetch_object('post_thanks_box_57255').innerHTML = do_thanks_add.handler.responseText } } function post_thanks_remove_all_57255() { do_thanks_remove_all = new vB_AJAX_Handler(true) do_thanks_remove_all.onreadystatechange(thanks_remove_all_Done_57255) do_thanks_remove_all.send('showthread.php?do=post_thanks_remove_all_ajax&p=57255') fetch_object('post_thanks_button_57255').style.display = '' } function thanks_remove_all_Done_57255() { if (do_thanks_remove_all.handler.readyState == 4 && do_thanks_remove_all.handler.status == 200) { fetch_object('post_thanks_box_57255').innerHTML = do_thanks_remove_all.handler.responseText } } function post_thanks_remove_user_57255() { do_thanks_remove_user = new vB_AJAX_Handler(true) do_thanks_remove_user.onreadystatechange(thanks_remove_user_Done_57255) do_thanks_remove_user.send('showthread.php?do=post_thanks_remove_user_ajax&p=57255') fetch_object('post_thanks_button_57255').style.display = '' } function thanks_remove_user_Done_57255() { if (do_thanks_remove_user.handler.readyState == 4 && do_thanks_remove_user.handler.status == 200) { fetch_object('post_thanks_box_57255').innerHTML = do_thanks_remove_user.handler.responseText } } //--> </script> |
#505
|
|||
|
|||
I've had this mod installed for a while now. It has worked fine until a few days ago. I noticed that two of my users have "thanks" counts that are way too high. One of the two has over 5000 thanks in his postbit. He assures me that he didn't go and hit thanks 5000 times and I believe him.
I have two questions. Has anyone else experienced this? Is there any way to remove all the thanks from one user? |
#506
|
||||
|
||||
Do you have more then on style. You would have to put the button into the button folder of all styles.
|
#507
|
||||
|
||||
Quote:
|
#508
|
||||
|
||||
Quote:
|
#509
|
||||
|
||||
Quote:
|
#510
|
||||
|
||||
Quote:
|
#511
|
|||
|
|||
Quote:
Code:
function post_thanks_give_(pid) { fetch_object('post_thanks_button_'+pid).style.display = 'none' do_thanks_add = new vB_AJAX_Handler(true) do_thanks_add.onreadystatechange(thanks_add_Done) do_thanks_add.send('showthread.php?do=post_thanks_add_ajax&p='+pid) } function thanks_add_Done() { if (do_thanks_add.handler.readyState == 4 && do_thanks_add.handler.status == 200) { fetch_object('post_thanks_box_'+manualinsertedpostid).innerHTML = do_thanks_add.handler.responseText+pid } } if Code:
function post_thanks_give_(pid) { fetch_object('post_thanks_button_'+pid).style.display = 'none' do_thanks_add = new vB_AJAX_Handler(true) do_thanks_add.onreadystatechange(thanks_add_Done(pid)) do_thanks_add.send('showthread.php?do=post_thanks_add_ajax&p='+pid) } function thanks_add_Done(pid) { if (do_thanks_add.handler.readyState == 4 && do_thanks_add.handler.status == 200) { fetch_object('post_thanks_box_'+pid).innerHTML = do_thanks_add.handler.responseText+pid } } do_thanks_add.handler.readyState is null or non-object |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|