Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Post Thank You Hack 1.10 Details »»
Post Thank You Hack 1.10
Version: 1.10, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 12-27-2004 Last Update: 05-09-2005 Installs: 170
DB Changes
 
No support by the author.

Click here for vBulletin 3.5 version

Post Thank You Hack 1.10


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 granted liking by ALL the members of your forum.

The hack has been tested VERY well, including 5 weeks of beta testing, but I'm only human I can't guaranty there are no problems.

There is a similar hack called 'Automatic Thank You Hack'. That hack only lets you thank the first post of a thread and not just any post. The options in this hack doesn't compare to my hack. It's also unsupportive and was release for an older version of vBulletin.

Features:
  • Comes with easy installer/updater/uninstaller file
  • Places an easy to use button next to the edit button
  • Separate looks for postbit and postbit_legacy
  • Places all Thank Yous into one small box
  • [NEW]Uses only ONE query every time you view a showthread page!
  • Users can't thank twice
  • Users can't thank their own post
  • Guests don't see 'thanks' button
  • Counts how many thanks a user gives
  • Counts how many thanks a post gets
  • Shows how many thanks a user gave in every post of his
  • Shows how many thanks a user gave in profile
  • Shows how many thanks a user got
  • Shows how many posts or a user are thanked
  • Shows info in profile
  • Search for a users thanked posts
  • Search for all thanked posts
  • Administrator can remove all Thank Yous from a single post
  • Turn on and off hack
  • Turn on and off hack for only some forums
  • Option to turn off hack for all but the first post of a thread
  • Option to turn off hack for all but the first post of a thread in specific forums
  • Option to turn off hack view of date for specific or all forums
  • [NEW]Option to add to post count when someone clicks 'thanks'.
  • [NEW]Option to give a user who receives thanks reputation points.
  • Ban Usergroups
  • Ban Users
  • Update Counters in ACP (found in 'Import & Maintenance')
  • Uses Phrases
  • Guaranteed to be liked by ALL users on your forum!

Installation information on hack:
  • Files edited: 3
  • Templates edited: 4
  • New Phrases: 44 (installer installs them)
  • New Templates: 2 (installer installs them)
  • Queries: 15 excluding phase and template queries (installer installs it)
  • Files to upload: 4
  • Time to install: between 5-10 minutes

Updates:

Version 1.0 (12/28/04):
  • Release

Version 1.01 (1/10/05):
  • [FIX]Templates stay when you upgrade your forum

Version 1.02 (2/22/05):
  • [NEW]Installer Has Installer for After You Upgrade Your Forum
  • [NEW]Search for a users thanked posts
  • [NEW]Search for all thanked posts

Version 1.03 (2/23/05):
  • [FIX]Turn hack on for only first posts of threads now works

Version 1.10 (5/9/05):
  • [FIX]Compatibility for vBulletin 3.0.7
  • [FIX]Reduced the amount of queries need to run this hack every time you view a showthread page to only ONE query. No more 1 to 2 queries per post that comes up.
  • [FIX]I cached the templates used to save 1 query.
  • [NEW]Option to add to post count when someone clicks 'thanks'.
  • [NEW]Option to give a user who receives thanks reputation points.

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:
  1. Showing the 'thanks' button
  2. Showing post after 'thanks' (admin view)
  3. Showing post after 'thanks' with legacy posts (admin view)
  4. Stats in member?s profile
  5. Hacks settings
  6. Update counts view
I'll try to get some updated pictures up soon.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #137  
Old 04-17-2005, 01:57 PM
snake-boy snake-boy is offline
 
Join Date: Jul 2004
Location: Bangkok
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This has to be one of the most fantastic hacks I have ever seen! I absolutely LOVE it. Thank you so much for creating this useful hack.

Clicks INSTALL

-snake

PS, Installed flawlessly in to 3.0.7.
Reply With Quote
  #138  
Old 04-24-2005, 11:06 AM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any chance of posting the .psd file? I want to change the text to helpful.

thanks
Reply With Quote
  #139  
Old 04-24-2005, 02:36 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, anyone figured out how to fix the nospace / extra space problem.

heres the problem, if the thanked post is the last one, there is no space above the thanks post bit. Also theres a extra space added under it.

http://www.hardwareforums.com/showthread.php?p=31917

thanks

EDIT: I changed the style so theres no need though I'd still be interested to know how its done...
Reply With Quote
  #140  
Old 04-24-2005, 05:29 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, I'm not sure if its during the new install or update, I had no options displaying in control panel, so I used the script to insert again, but got a error! so looking at the entries in phpmyadmin I found the values were in the wrong place.

the values for "disaply order" are in the "default value" field, vice versa.

the values for "group title" are in the "value" field

the values for "option code" are in the "group title" field

and the value for "values" are in the "option code" field!

use this in phpmyadmin to update, if you have this problem. (change setting to your prefix_setting).

PHP Code:
UPDATE `settingSET `varname` = 'post_thanks_date_all', `value` = '1', `optioncode` = 'yesno', `displayorder` = 50, `grouptitle` = 'post_thanks', `defaultvalue` = '1', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_date_all';
UPDATE `settingSET `varname` = 'post_thanks_date_forum', `value` = '', `optioncode` = '', `displayorder` = 60, `grouptitle` = 'post_thanks', `defaultvalue` = '0', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_date_forum';
UPDATE `settingSET `varname` = 'post_thanks_forum_first', `value` = '', `optioncode` = '', `displayorder` = 40, `grouptitle` = 'post_thanks', `defaultvalue` = '0', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_forum_first';
UPDATE `settingSET `varname` = 'post_thanks_forum_first_all', `value` = '0', `optioncode` = 'yesno', `displayorder` = 30, `grouptitle` = 'post_thanks', `defaultvalue` = '0', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_forum_first_all';
UPDATE `settingSET `varname` = 'post_thanks_forum_off', `value` = '', `optioncode` = '', `displayorder` = 20, `grouptitle` = 'post_thanks', `defaultvalue` = '0', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_forum_off';
UPDATE `settingSET `varname` = 'post_thanks_on_off', `value` = '1', `optioncode` = 'yesno', `displayorder` = 10, `grouptitle` = 'post_thanks', `defaultvalue` = '1', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_on_off';
UPDATE `settingSET `varname` = 'post_thanks_usergroup_using', `value` = '', `optioncode` = '', `displayorder` = 70, `grouptitle` = 'post_thanks', `defaultvalue` = '0', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_usergroup_using';
UPDATE `settingSET `varname` = 'post_thanks_user_useing', `value` = '', `optioncode` = '', `displayorder` = 80, `grouptitle` = 'post_thanks', `defaultvalue` = '0', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_user_useing'
Reply With Quote
  #141  
Old 04-27-2005, 02:38 PM
smacklan's Avatar
smacklan smacklan is offline
 
Join Date: Mar 2005
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try to run the uninstall I get the following:

PHP Code:
WarningUnknown(/home/strength/public_html/forum/admincp/post_thanks_install.php): failed to open streamPermission denied in Unknown on line 0

Warning
Unknown(/home/strength/public_html/forum/admincp/post_thanks_install.php): failed to open streamPermission denied in Unknown on line 0

Warning
: (null)(): Failed opening '/home/strength/public_html/forum/admincp/post_thanks_install.php' for inclusion (include_path='.:/usr/local/lib/php'in Unknown on line 0 
Need help!
Reply With Quote
  #142  
Old 04-27-2005, 02:53 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by -=Sniper=-
Hey, I'm not sure if its during the new install or update, I had no options displaying in control panel, so I used the script to insert again, but got a error! so looking at the entries in phpmyadmin I found the values were in the wrong place.

the values for "disaply order" are in the "default value" field, vice versa.

the values for "group title" are in the "value" field

the values for "option code" are in the "group title" field

and the value for "values" are in the "option code" field!

use this in phpmyadmin to update, if you have this problem. (change setting to your prefix_setting).

PHP Code:
UPDATE `settingSET `varname` = 'post_thanks_date_all', `value` = '1', `optioncode` = 'yesno', `displayorder` = 50, `grouptitle` = 'post_thanks', `defaultvalue` = '1', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_date_all';
UPDATE `settingSET `varname` = 'post_thanks_date_forum', `value` = '', `optioncode` = '', `displayorder` = 60, `grouptitle` = 'post_thanks', `defaultvalue` = '0', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_date_forum';
UPDATE `settingSET `varname` = 'post_thanks_forum_first', `value` = '', `optioncode` = '', `displayorder` = 40, `grouptitle` = 'post_thanks', `defaultvalue` = '0', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_forum_first';
UPDATE `settingSET `varname` = 'post_thanks_forum_first_all', `value` = '0', `optioncode` = 'yesno', `displayorder` = 30, `grouptitle` = 'post_thanks', `defaultvalue` = '0', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_forum_first_all';
UPDATE `settingSET `varname` = 'post_thanks_forum_off', `value` = '', `optioncode` = '', `displayorder` = 20, `grouptitle` = 'post_thanks', `defaultvalue` = '0', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_forum_off';
UPDATE `settingSET `varname` = 'post_thanks_on_off', `value` = '1', `optioncode` = 'yesno', `displayorder` = 10, `grouptitle` = 'post_thanks', `defaultvalue` = '1', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_on_off';
UPDATE `settingSET `varname` = 'post_thanks_usergroup_using', `value` = '', `optioncode` = '', `displayorder` = 70, `grouptitle` = 'post_thanks', `defaultvalue` = '0', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_usergroup_using';
UPDATE `settingSET `varname` = 'post_thanks_user_useing', `value` = '', `optioncode` = '', `displayorder` = 80, `grouptitle` = 'post_thanks', `defaultvalue` = '0', `advanced` = 0, `volatile` = 0 WHERE  `varname` = 'post_thanks_user_useing'
I think something was changed in recent vb releases. I'm going to add the field names to my next release.
Reply With Quote
  #143  
Old 04-27-2005, 02:56 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smacklan
When I try to run the uninstall I get the following:

PHP Code:
WarningUnknown(/home/strength/public_html/forum/admincp/post_thanks_install.php): failed to open streamPermission denied in Unknown on line 0

Warning
Unknown(/home/strength/public_html/forum/admincp/post_thanks_install.php): failed to open streamPermission denied in Unknown on line 0

Warning
: (null)(): Failed opening '/home/strength/public_html/forum/admincp/post_thanks_install.php' for inclusion (include_path='.:/usr/local/lib/php'in Unknown on line 0 
Need help!
I've got no clue.
Reply With Quote
  #144  
Old 04-27-2005, 03:02 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

suggestions for a page which displays

Most Thanked Post | Most Thanked User | Most Thanks Given

(or top 10 for each)
Reply With Quote
  #145  
Old 04-27-2005, 03:06 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by -=Sniper=-
suggestions for a page which displays

Most Thanked Post | Most Thanked User | Most Thanks Given

(or top 10 for each)
When I have a chance, I'll be making one for CMPS Portal.
Reply With Quote
  #146  
Old 04-27-2005, 03:38 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
When I have a chance, I'll be making one for CMPS Portal.
Awesome, I'm interested too...
Reply With Quote
  #147  
Old 04-27-2005, 09:02 PM
Martin CX Martin CX is offline
 
Join Date: Nov 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get no AdminCP controls? As you can see in the screenshot there is nothing there?

It doesn't turn up in the left navbar either, though that isn't a major problem as I can just type in the URL for the post_thanks_acp.php.

Please, what went wrong?
Reply With Quote
  #148  
Old 04-29-2005, 06:19 AM
MP3 MP3 is offline
 
Join Date: Aug 2004
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lets try it
Reply With Quote
  #149  
Old 04-30-2005, 02:50 AM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We are using 3.07 but our memberinfo appears to be different .

The instructions for this mod say:

In Template MEMBERINFO: Find:

HTML Code:
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
However that does not exsist

The closest that we have is:

HTML Code:
 <td width="40%" class="infoleft">$vbphrase[total_posts]</td>
<td width="60%" class="inforight"><strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)</td>
How should we alter that so that the mod works correctly? Thanks.
Reply With Quote
  #150  
Old 05-01-2005, 03:09 PM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am freaking out with this hack!

I was running the older 1.02 ver at some point.
I updated it but the hack never really worked up tp snuff when someone clicks the
thank you button it doesn show the thanks panel but then everyone else gets
a thank you button under that thread.

also, it shows the button in forums that are not suppose to show thanks.

I know I have some code from older version still mixed in, I did the uninstall
but with all the changes I don't know which order to run things anymore!

is there another way to clean out every bit of code from every version from
my forums and start fresh?
Reply With Quote
  #151  
Old 05-01-2005, 03:18 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi John. Sadly I don't think this hack is being supported anymore My question has been sitting there for several days now (as of this post) with no response Regarding your question, don't you have backups of before you installed the hack? If not, then I would work backwards and make sure that everything is removed from the install. For example; if it says "add xxx after yyy" then make sure that xxx is no longer in your code...
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 08:07 AM.


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.05497 seconds
  • Memory Usage 2,449KB
  • Queries Executed 30 (?)
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_html
  • (4)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete