vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Post Thank You Hack v.0.6 (https://vborg.vbsupport.ru/showthread.php?t=72141)

secret1980 11-25-2004 04:40 AM

I have a doubt regarding this by giving the thanks will the post count increase of that member who has given thx!

Abe1 11-25-2004 01:29 PM

Quote:

Originally Posted by glenvw
Ok, I got some help and got it fixed.

Your hack install does not take into consideration for people with prefixes on their table names.

Question:

Can these "Thank you" posts be deleted?

I will work on that and try to fix it.

glenvw 11-25-2004 01:31 PM

Quote:

Originally Posted by Abe1
I will work on that and try to fix it.

Thanks

IS there a way to have the button only show up in the first post?

Abe1 11-25-2004 01:33 PM

Quote:

Originally Posted by glenvw
Another question.

Can this be fixed to display only on the original post in the thread?

I like your hack better than the other version, but prefer it to show up once per thread.

My hack lets you thank every post, not just the first. Meny times a person will post a very useful post somewere in a thread not just the first post. I may com out with settings that lets you turn off on all post exect for first.

Abe1 11-25-2004 01:34 PM

Quote:

Originally Posted by hunterscentral
will this hack allow you to create one post then look it and have the users click Thanks?
is there a uninstall php file just in case it does not work?

Yes. I full uninstallation is found in the install script. It also shows you what you have to delete from the files and templates.

glenvw 11-25-2004 01:34 PM

Quote:

Originally Posted by Abe1
My hack lets you thank every post, not just the first. Meny times a person will post a very useful post somewere in a thread not just the first post. I may com out with settings that lets you turn off on all post exect for first.

Thanks, it would be very helpful for me. Is there an easy way to do that now?

Abe1 11-25-2004 01:36 PM

Quote:

Originally Posted by JohnBee
I installed the hack but I see nothing anywheres.
what am I missing?

I did the following. h**p://siteurl/admincp/post_thanks_install.php?step=dofileedits and doubled checked the instructions.

Everything is 100%
The hack is silent. :surprised:

Did you do the postbit and postbit_legacy template edits?

Abe1 11-25-2004 01:43 PM

Quote:

Originally Posted by glenvw
Thanks, it would be very helpful for me. Is there an easy way to do that now?

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.

Abe1 11-25-2004 01:45 PM

Quote:

Originally Posted by secret1980
I have a doubt regarding this by giving the thanks will the post count increase of that member who has given thx!

No, the user's post count wont go up.

Abe1 11-25-2004 01:48 PM

Quote:

Originally Posted by glenvw
Can these "Thank you" posts be deleted?

I'm work a link that would alow admins to remove all thank your for one post.


All times are GMT. The time now is 12:44 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.02117 seconds
  • Memory Usage 1,742KB
  • 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
  • (1)bbcode_html_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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