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
  #32  
Old 11-25-2004, 02:03 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
I'm work a link that would alow admins to remove all thank your for one post.
When you delete a thread, do the thank you posts get deleted, too?
  #33  
Old 11-25-2004, 02:07 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 Boofo
When you delete a thread, do the thank you posts get deleted, too?
No, they wouldn't get deleted. They wont create any errors though. Do you realy want to start making 10 file edits that that they DO delete when you delete a post? Also, the thank yous are only saved in a seperate table nothing to do with the posts.
  #34  
Old 11-25-2004, 02:10 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just for the info, so no-one has to post about, next version will have, once you say 'thanks' you wont see that button. Also, the button will be removed from PMs.
  #35  
Old 11-25-2004, 02:22 PM
glenvw glenvw is offline
 
Join Date: Nov 2001
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
Maybe in the postbit you should put
HTML Code:
<!-- post thank you hack -->
<if condition="$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 -->
Didn't try it, but I think it should remove the button if it's not the first post.

Didn't fix it. :-(
  #36  
Old 11-25-2004, 02:31 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
Didn't fix it. :-(
This should work:
HTML Code:
<!-- 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 -->
  #37  
Old 11-25-2004, 02:37 PM
glenvw glenvw is offline
 
Join Date: Nov 2001
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
This should work:
HTML Code:
<!-- 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 -->
That doesn't work either.

It does not thank, but the button stays and after you thank, it throws an extra button between posts.

http://www.yes-its-free.com/forums/s...d.php?p=152280
  #38  
Old 11-25-2004, 03:22 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
That doesn't work either.

It does not thank, but the button stays and after you thank, it throws an extra button between posts.

http://www.yes-its-free.com/forums/s...d.php?p=152280
This is suppost to replace what I told you to put in the instructions, not just add it.
  #39  
Old 11-25-2004, 03:27 PM
glenvw glenvw is offline
 
Join Date: Nov 2001
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1
This is suppost to replace what I told you to put in the instructions, not just add it.
I did that. I replaced it. It doesn't work.
  #40  
Old 11-25-2004, 03:35 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
I did that. I replaced it. It doesn't work.
Ok then, you'll have to wait until I test it out.
  #41  
Old 11-25-2004, 03:40 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
I did that. I replaced it. It doesn't work.
I just tested it, It works perfectly. The thank you button only shows up on the first post of a thread.
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 12:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05550 seconds
  • Memory Usage 2,320KB
  • 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
  • (3)bbcode_html
  • (9)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