![]() |
I have downloaded the Thanks button and tried to install and now I am getting an error at the top of the page
(Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: post_thanks_navbar_search in [path]/includes/functions.php on line 4330 Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1403) : eval()'d code on line 95) Help please.. |
1 Attachment(s)
I am not using any mod. Just tweaked it myself part of it.
Thanks |
Code:
<div class="post_field"> you also did it to the Code:
<div class="post_field">{vb:raw template_hook.postbit_userinfo_right_after_posts}</div> you edited the flag mod and the gender mod in the template what you can do is remove that from the hook and add it to the post_thanks_postbit_info template as so Code:
<div class="post_field"> or add the code to the new hook and leave the template stock if other mods or even vb are using the same hook this is what i seen happen you need to do that edit manually to the others as well.. this is why I suggest a new hook so you don't have to |
I let him just say thank received.
|
Hippy you are absolutely right, all these changes which you have pointed have been made by me. I do appreciate what you have written and I understand that modifying the templates and adding <div class="post_field"> has cause issues.
I am struggling to understand what is hook and how do I make a new hook so I avoid all these problems? |
ok I'm glad you understand a little so I don't mind going a little farther
go into your admincp styles & templates find postbit_legacy template in the styles you have (if more than one) open it up now search for (your edit) Code:
<div class="post_field">{vb:raw template_hook.postbit_userinfo_right_after_posts}</div> Code:
<div class="post_field">{vb:raw template_hook.postbit_userinfo_post_thanks}</div> if your going to use the template I posted above then just add Code:
{vb:raw template_hook.postbit_userinfo_post_thanks} now still in admincp go to Plugins & products > click on plugin manager find your Product : Post Thank You Hack "plugin" there are 10 hook locations the one that says "postbit_display_complete" in the hook location column under product : Post Thank You Hack click edit.. search for this line Code:
$template_hook['postbit_userinfo_right_after_posts'] .= $templater->render(); Code:
$template_hook['postbit_userinfo_post_thanks'] .= $templater->render(); you should be all good... I hope this helps |
Thanks for this great hack and thanks Hippy, you know for what. ;)
Is there a way to make the block that appears under the post smaller? |
Quote:
|
So, Abe hasn't been online since June of 2010, it's marked as unsupported, and to get it working you have to read and put together a lot of posts in this thread and patch various files. On top of that it still isn't fully functional.
I guess where I'm going with this, is I'm wondering if someone can officially take it over and start a new thread where everything is consolidated into one post with a single download? This is one of the most widely used plug-ins of any forums, and I think it would be painful to let it go, especially on a 5 million member forum. |
Quote:
|
All times are GMT. The time now is 11:21 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|