Quote:
Originally Posted by Armee25
Quick question, how can I have the box with the names of the people who thanked the poster INSIDE the post (exactly like it is on the vbulletin.org forums) as opposed to having it under the post?
I'm running VBulleting 4.2
|
I just figured out how to do this !!
Use the first and third edit on this post:
https://vborg.vbsupport.ru/showpost....7&postcount=35
And for the second edit use this:
https://vborg.vbsupport.ru/showpost....&postcount=124
Still want to figure out how to remove the blank area padding at the bottom of the box,.. will trade above info for needed info
edit to add all edits below for reference:
Change post_thanks_box template to:
PHP Code:
<div <vb:if condition="!$post_thanks_box == 1"> style="background-color: #f2f6f8; border: 1px ridge #417394; border-width: 1px 1px 1px 1px; padding: 2px; width:92%; margin:
0px auto 0px auto; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-top:10px; margin-bottom:0px;display:none" <vb:else />
style="background-color: #f2f6f8; border: 1px ridge #417394; border-width: 1px 1px 1px 1px; padding: 2px; width:92%; margin: 0px auto 0px auto; -webkit-border-radius: 5px; -
moz-border-radius: 5px; border-radius: 5px; margin-top:10px; margin-bottom:0px;"
</vb:if> id="post_thanks_box_{vb:raw post.postid}">
{vb:raw post_thanks_box}
</div>
In Admin CP -> Plugin Manager, edit the plugin: Post Thank You Hack on hook: postbit_display_complete
Find:
PHP Code:
$template_hook['postbit_end'] .= $templater->render();
and replace with:
PHP Code:
$template_hook['postbit_messagearea_end'] .= $templater->render();
how to force to bottom of post box and add right above siggy,.. in postbit legacy template
find
Code:
<vb:if condition="$show['postedited'] || $post['signature']">
add above
Code:
<div class="after_content">{vb:raw template_hook.postbit_messagearea_end}</div>
Of course it still shows up just above edit statement if applicable, but I rather have the box on the bottom but above siggy area. This was the easiest way for me.