I have already done all of this on vB 4.2.0. All "Thanks" phrases changed to "Likes" and the thanks box inside the post at the bottom. It is simple and pretty straight forward.
--------------- Added [DATE]1383147381[/DATE] at [TIME]1383147381[/TIME] ---------------
Quote:
Originally Posted by edgeless
In postbit_display_complete I change this:
Code:
$template_hook['postbit_end'] .= $templater->render();
to this:
Code:
$template_hook['postbit_messagearea_end'] .= $templater->render();
and in postpit_legacy I change this:
Code:
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>
to this:
Code:
<div class="postbody">
{vb:raw template_hook.postbit_messagearea_start}
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>
And there's apparently no postbit_display_start in this version so I can't modify that.
But why am I not able to move the box into the post body? What am I missing?
Thanks in advance.
|
Lulz, run a quick search in your postbit_legacy for "postbit_messagearea_end". You will see that you have not added this to your postbit_legacy template:
Code:
{vb:raw template_hook.postbit_messagearea_end}
That would be why the box disappears