vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Automatic 'Thank you' Hack (https://vborg.vbsupport.ru/showthread.php?t=63368)

Marco van Herwaarden 01-22-2005 05:13 PM

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.

AlphaWolf 01-23-2005 04:20 PM

Yes i noticed that while searching the Hack's Code for a possibility. I am still looking for a solution.

Morgalis 01-27-2005 05:00 PM

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

Gohan 02-22-2005 11:40 AM

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 :D

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! :D

Eternal2u 03-04-2005 12:14 PM

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 ;)

Kei Kurono 05-08-2005 05:23 AM

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 :]

Scotty2k 05-11-2005 09:06 AM

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 !

vietfancy 01-05-2006 11:14 PM

Does this hack works for v3.53?

Thanks. I COuldnt find this hack for our new version.

deneme2 07-07-2008 03:35 PM

thanks


All times are GMT. The time now is 02:55 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.01177 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (12)bbcode_code_printable
  • (1)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete