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
Automatic 'Thank you' Hack Details »»
Automatic 'Thank you' Hack
Version: 1.00, by VBDev VBDev is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 04-02-2004 Last Update: Never Installs: 44
 
No support by the author.

Total hack's description : http://www.vbulletindev.net/forums/h...hack&hackid=49

Site : http://www.vbulletindev.net/forums


You can set in wanted forums with this hack, an option which displays in a special post of a thread, the list of members who clicked the 'Thank you' button. So, instead of having a lot of posts saying : 'Great', 'Big thx ' ... you only have one post.

The postbit (legacy or not) automatically adapts itself too.

The phrase to thank the thread creator change if there is one user or more which clicks the button, so the verb is always correct
There is an other option too in Forum manager, to set if you want to see at which date the 'Thank you' button was clicked by the member.

Hack requested by boofo


Eventual bugs :Correct with it

Show Your Support

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

Comments
  #112  
Old 01-22-2005, 05:13 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think it is not possible, this hack runs through all the standard permissions checks if i remember right.

Made a modified version of this once, with a bit more settings, that would allow thanks (optional) in closed posts/forums for that usergroup.
Reply With Quote
  #113  
Old 01-23-2005, 04:20 PM
AlphaWolf's Avatar
AlphaWolf AlphaWolf is offline
 
Join Date: Jul 2004
Location: Germany
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes i noticed that while searching the Hack's Code for a possibility. I am still looking for a solution.
Reply With Quote
  #114  
Old 01-27-2005, 05:00 PM
Morgalis Morgalis is offline
 
Join Date: Oct 2002
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AlphaWolf
Yes i noticed that while searching the Hack's Code for a possibility. I am still looking for a solution.
any possibility of being able to add an avatar yet?

It would make it look nicer IMHO
Reply With Quote
  #115  
Old 02-22-2005, 11:40 AM
Gohan's Avatar
Gohan Gohan is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VitroX
this is a great hack.

how about adding the total pple who thank the thread starter?

something like:

5 Users already said Thank You!:

username1, username2, username3, username4, username5


it would fit better for my forum.

Thanks for your work!
Just easier modify code

Find (Languages & Phrases):

Code:
Type : GLOBAL
Varname : thanks_1_install
Phrase : thanks {1} for this thread
Change to:

Code:
Phrase : User already said Thank You!:
Find:

Code:
Type : GLOBAL
Varname : thanks_x_install
Phrase : thank {1} for this thread
Change to:

Code:
Phrase : Users already said Thank You!:
------------------------------------------------------------------------

Find (functions_showthread.php):

Code:
$liste_user = $liste_user." <a href=\"member.php?u=$thank[userid]\">$thank[username]</a>$virg ";
Add before:

Code:
$users = $nb;
Find:

Code:
$date_thank = vbdate($vboptions['dateformat'], $thank['date'], true);
Add before:

Code:
$users = $nb;
------------------------------------------------------------------------

Find (postbit):

Code:
<div>$liste_user $thank_phrase

<br /><br /></div>
Change to:

Code:
<div>$users $thank_phrase<br /><br />$liste_user</div>
Find (postbit_legacy):

Code:
		<div>$liste_user $thank_phrase


<br /><br /></div>
Change to:

Code:
<div>$users $thank_phrase<br /><br />$liste_user</div>
You're done!
Reply With Quote
  #116  
Old 03-04-2005, 12:14 PM
Eternal2u Eternal2u is offline
 
Join Date: Feb 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was wondering..

Anyway i could get a mod exactly like this except make it say F You..

Like it would say this in there username block on the side of there post..

"Posts: 1,401
Total F You's: 6
Was Told F You 56 Times in 21 Posts."

Would be like in addition to the thank you mod, since i want it still as well..and erm how would i go about changing the thank you mod bit on the side of the users post tjat says

"Posts/Thanks: 1,401/6
Thanked 56 Times in 21 Posts"

to

"Posts: 1,401
Total Thank You's: 6
Was Thanked 56 Times in 21 Posts."

Thanx
Reply With Quote
  #117  
Old 05-08-2005, 05:23 AM
Kei Kurono's Avatar
Kei Kurono Kei Kurono is offline
 
Join Date: Mar 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Morgalis
any possibility of being able to add an avatar yet?

It would make it look nicer IMHO
I would also like to see an avatar :]
Reply With Quote
  #118  
Old 05-11-2005, 09:06 AM
Scotty2k Scotty2k is offline
 
Join Date: Dec 2003
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HarryBO
I have the same Problem as azmi!

HTML Code:
<if condition="$show['largereplybutton']">
		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
	<else />
This is the Showthread Template of 3.0.3
Me too .. please help !
Reply With Quote
  #119  
Old 01-05-2006, 11:14 PM
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Feb 2005
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this hack works for v3.53?

Thanks. I COuldnt find this hack for our new version.
Reply With Quote
  #120  
Old 07-07-2008, 03:35 PM
deneme2 deneme2 is offline
 
Join Date: May 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
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 11:37 PM.


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.04571 seconds
  • Memory Usage 2,312KB
  • 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
  • (12)bbcode_code
  • (1)bbcode_html
  • (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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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