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)
-   -   Post Thank You Hack 1.10 (https://vborg.vbsupport.ru/showthread.php?t=73410)

Abe1 08-22-2005 01:36 PM

Quote:

Originally Posted by newtsys
I seem to be missing a template add in the install, but it is there in the uninstall for postbit and postbit_legacy:

<if condition="$post_thanks_already == 0 AND THIS_SCRIPT == showthread AND $bbuserinfo[userid] != $post[userid]"><a href="newreply.php?do=post_thanks&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 -->

This seems to cause a error in call at line 251 undefined user variable () in /includes/functions_showthread.php

is the edit in your remove suppose to be inserted for install, and if so where in postbit and postbit_legacy?

The 3rd template edit.

newtsys 08-23-2005 04:09 AM

I am trying to say the third template edit is not in the php_install.
The way I found it was through the uninstall sequence.
I even redownloaded your hack again and same thing no directions to insert.
I have the edit all I need to know is where to insert it.

Below is not in the edits for install on my copy of your program!!!
I found it in the removal instructions or wouldn't even known about it.
<if condition="$post_thanks_already == 0 AND THIS_SCRIPT == showthread AND $bbuserinfo[userid] != $post[userid]"><a href="newreply.php?do=post_thanks&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 -->

Abe1 08-23-2005 10:05 AM

Quote:

Originally Posted by newtsys
I am trying to say the third template edit is not in the php_install.
The way I found it was through the uninstall sequence.
I even redownloaded your hack again and same thing no directions to insert.
I have the edit all I need to know is where to insert it.

Below is not in the edits for install on my copy of your program!!!
I found it in the removal instructions or wouldn't even known about it.
<if condition="$post_thanks_already == 0 AND THIS_SCRIPT == showthread AND $bbuserinfo[userid] != $post[userid]"><a href="newreply.php?do=post_thanks&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 -->

BTW, this code belongs in the vb3.5 version and all you have to place in the template is $post_thanks_button

vakvak 08-23-2005 03:45 PM

How can i uninstall this hack.I have to uninstall this hack because there is a problem in my database so this hack.Some thanks dont show so mysql error :(

Abe1 08-23-2005 03:47 PM

Quote:

Originally Posted by vakvak
How can i uninstall this hack.I have to uninstall this hack because there is a problem in my database so this hack.Some thanks dont show so mysql error :(

Run the installation file. There is an unistall option there.

vakvak 08-23-2005 03:49 PM

thanks abe1 i will try

yj_enquirer 08-24-2005 06:46 PM

wow.. thanks for this.. it works perfect on v3.0.8 install.. just how i like it.. marvelous job m8 and wish you well in all the other mods you have going on..

Just one question.. is there a possibility for other user-groups e.g. moderators to remove the messages of thanks. @present, it seems that only members of the Administrator group can remove the "post-thanks"

thank-you.

Abe1 08-24-2005 07:15 PM

Quote:

Originally Posted by yj_enquirer
wow.. thanks for this.. it works perfect on v3.0.8 install.. just how i like it.. marvelous job m8 and wish you well in all the other mods you have going on..

Just one question.. is there a possibility for other user-groups e.g. moderators to remove the messages of thanks. @present, it seems that only members of the Administrator group can remove the "post-thanks"

thank-you.

Maybe I'll add that option but not in the vb3.0 version. I stoped releasing updates for vb3.0. But thanks for the idea.

dimitris 09-05-2005 11:58 AM

hi,
i like this hack. I know this hack from other forums.
Its good and usufull but......

Not working with hidden. I installed "thanks" hack, i make a post like user but the hidden was not open.

Is there a trick to corporate with hidden?

Thx a lot.

stan111 09-22-2005 01:04 PM

i installed everything perfectly except the "Thanks" button showing Red X like this. i already uploaded the post_thanks.gif to forum/images/buttons but it is still look like this
https://vborg.vbsupport.ru/


here is the code i found in function_showthread
HTML Code:

]<img src=\"$stylevar[imgdir_button]/post_thanks.gif\"
is there anyway i can change that to make the Red X going away ?

thanks in advance


All times are GMT. The time now is 05:50 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.01847 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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