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

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

Version: 3.0.3 Rating:
Released: 11-23-2004 Last Update: 12-20-2004 Installs: 21
DB Changes
Is in Beta Stage  
No support by the author.

VERSION 1.0 was released.

Get it here:
https://vborg.vbsupport.ru/showthread.php?t=73410

NO MORE SUPPORT IN THIS THREAD!


Post Thank You Hack 0.6


About this hack:
This hack allows users to thank someone for a post without making a big mess on your forum. I'm sure most of you HATE when people just make a post that says 'thank you'. Also, for those people who don't like making the 2 word post, this gives them a chance to say thanks. It's also good for users of your forum who post something helpful and want to see if people really used their information.

There is a similar hack called 'Automatic Thank You Hack'. That hack only lets you thank the first post of a thread not just any post. It's also unsupportive and was release for an older version of vbulletin.


Features:
  • 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
  • Users can't thank twice
  • Users can't thank their own post
  • Guests don't see 'thanks' button
  • Separate PHP for actions
  • Option to turn off hack for individual forums
  • Option to turn off hack for all but first post of a thread
  • Option to turn off hack view of date for separate or all forums
  • Counts how many thanks a user gives
  • Counts how many thanks a post gets
  • Update Counters in ACP (found in 'Import & Maintenance')
  • 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
  • Administrator can remove all Thank Yous from a single post
  • Uses Phrases
  • New set of options. Found in main ACP options.
  • Turn on and off hack
  • Turn on and off hack for only some forums
  • Ban Usergroups
  • Ban Users
  • Comes with easy installer/updater/uninstaller file
  • Guaranteed to be liked by ALL users on your forum!

Installation information on hack:
  • File edits: 2
  • Template edits: 3
  • New Phrases: 42 (installer installs them)
  • New Templates: 2 (installer installs them)
  • Queries: 14 excluding phase and template queries (installer installs it)
  • Files to upload: 4
  • Time to install: 5-10 minutes
  • NO KNOWN BUGS, HAVE NO FEAR

Updates:

Version 0.1 (11/24/04):
  • First beta release

Version 0.2 (11/26/04):
  • Fixed what you should look for in file /includes/functions_showthread.php
  • Thank You Button doesn?t show if user used it already
  • Thank You Button doesn?t show in private messages
  • Fixed installation for forums that have a 'TABLE_PREFIX'
  • Administrators can delete all Thank Yous for a single post
  • Users can't thank them-selves

Version 0.3 (11/29/04):
  • Guests don't see 'thanks' button
  • Separate PHP for actions
  • Option to turn off hack for individual forums
  • Option to turn off hack for all but first post of a thread

Version 0.4 (12/06/04):
  • Option to turn off hack view of date for separate forums
  • Counts how many thanks a user gives
  • Counts how many thanks a post gets
  • Update Counters in ACP (found in 'Import & Maintenance')
  • Shows how many thanks a user gave in every post of his
  • Shows how many thanks a user gave in profile

Version 0.5 (12/13/04):
  • Shows how many thanks a user got
  • Shows how many posts or a user are thanked
  • Shows info in Profile

Version 0.6 (12/21/04):
  • New set of options. Found in main ACP options.
  • Removed option in 'forum' options
  • Turn off view of date for ALL forums
  • Turn on and off hack
  • Turn on and off hack for only some forums
  • Ban Usergroups
  • Ban Users

On List for a Future Version:
  • I hope this is the last beta. Any more ideas, say them quick. Final version hopefully next week.

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.


Screenshots don't show new features

Supporters / CoAuthors

Show Your Support

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

Comments
  #42  
Old 11-25-2004, 03:45 PM
glenvw glenvw is offline
 
Join Date: Nov 2001
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
I just tested it, It works perfectly. The thank you button only shows up on the first post of a thread.
I must be stupid.

Ok you say then in the "Postbit" template:

Replace:

<!-- post thank you hack -->
$post_thanks
<!-- end post thank you hack -->


with

<!-- post thank you hack -->
<if condition="$post[postcount]==1"><a href="newreply.php?do=post_thanks&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" ></a></if>
<!-- end post thank you hack -->


right?

Leave Postbit Legacy alone?
  #43  
Old 11-25-2004, 04:15 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL

Replace:

<!-- post thank you hack -->
<a href="newreply.php?do=post_thanks&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" ></a>
<!-- end post thank you hack -->

with

<!-- post thank you hack -->
<if condition="$post[postcount]==1"><a href="newreply.php?do=post_thanks&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" ></a></if>
<!-- end post thank you hack -->

you can leave legacy alone if you don't use it.
  #44  
Old 11-25-2004, 04:21 PM
glenvw glenvw is offline
 
Join Date: Nov 2001
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
LOL

Replace:

<!-- post thank you hack -->
<a href="newreply.php?do=post_thanks&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" ></a>
<!-- end post thank you hack -->


with

<!-- post thank you hack -->
<if condition="$post[postcount]==1"><a href="newreply.php?do=post_thanks&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" ></a></if>
<!-- end post thank you hack -->


you can leave legacy alone if you don't use it.


Take a look what this does. Does not remove buttons and ads one between posts:

http://www.yes-its-free.com/forums/s...ad.php?t=20918

And I did not even use the "thank you button for this one.

Let me know when you have seen this so I can revert.
  #45  
Old 11-25-2004, 04:30 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 glenvw
Take a look what this does. Does not remove buttons and ads one between posts:

http://www.yes-its-free.com/forums/s...ad.php?t=20918

And I did not even use the "thank you button for this one.

Let me know when you have seen this so I can revert.
Ok. Send me a PM with your postbit template. Make sure you put it in [html] tags.
  #46  
Old 11-25-2004, 04:45 PM
shadiguy1 shadiguy1 is offline
 
Join Date: Jul 2004
Location: Delco,Pa
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed hack when i click on a Thank u it just goes to a blank page and does nothing more What could be wrong.
  #47  
Old 11-25-2004, 04:48 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 shadiguy1
installed hack when i click on a Thank u it just goes to a blank page and does nothing more What could be wrong.
hmmm... no clue I'd need more info. What is thel ink that it shows? Did you do the file edits?
  #48  
Old 11-25-2004, 07:22 PM
xtreme-mobile xtreme-mobile is offline
 
Join Date: Jul 2004
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi mate sorry for delay in reply :ermm:

please find attached my postbit_legacy after edit

hopefully you can see where ive gone wrong :disappointed:

cheers mate

dean
  #49  
Old 11-26-2004, 03:55 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 0.2 Released:
  • Fixed what you should look for in file /includes/functions_showthread.php
  • Thank You Button doesn?t show if user used it already
  • Thank You Button doesn?t show in private messages
  • Fixed installation for forums that have a 'TABLE_PREFIX'
  • Administrators can delete all Thank Yous for a single post
  • Users can't thank them-selves
  #50  
Old 11-26-2004, 03:59 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 xtreme-mobile
hi mate sorry for delay in reply :ermm:

please find attached my postbit_legacy after edit

hopefully you can see where ive gone wrong :disappointed:

cheers mate

dean
I don't see anything wrong with it. Do you use a different place for you're button's folder?
  #51  
Old 11-28-2004, 07:09 AM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*** Update!

I did uninstall, applied the new version 2 and it works.

I would like to see the button disapear after we thanked the
person though.

I have one question, can this applied to 1 forum in perticular?
Closed Thread


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 10:19 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.05244 seconds
  • Memory Usage 2,314KB
  • 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
  • (5)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • 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