mathforum
06-29-2013, 12:53 AM
I have two images that are generated by modifications that I'd like to move a bit. They both appear in the same area on top of each other but I'd like them to fit into boxes like the rest of my postbit. The images are a trophy and a small medal. Here's what it looks like now:
https://vborg.vbsupport.ru/external/2013/06/5.png
I can see in the two plugins where the images are rendered and sent to "template_hook['postbit_userinfo_left']" but I don't know how to change the location from that spot. I realize I could replace the hook location but that won't help me.
Let's say that I want a new box to be below "Thanked" and for it to contain trophies and medals. Here is what the last few lines of the postbit_legacy look like:
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>
<dt>Thanks</dt> <dd>{vb:raw post.vbseo_likes_out} times</dd>
Could I do something like <dt>Awards</dt> <dd>{vb:raw template_hook.NEW_HOOK_LOCATION</dd>?
I'd have to change the PHP code to the new hook location but this seems a rather crude way to try this. Any ideas are very much appreciated! I've been at this for ages and I'm about to break. :(
https://vborg.vbsupport.ru/external/2013/06/5.png
I can see in the two plugins where the images are rendered and sent to "template_hook['postbit_userinfo_left']" but I don't know how to change the location from that spot. I realize I could replace the hook location but that won't help me.
Let's say that I want a new box to be below "Thanked" and for it to contain trophies and medals. Here is what the last few lines of the postbit_legacy look like:
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>
<dt>Thanks</dt> <dd>{vb:raw post.vbseo_likes_out} times</dd>
Could I do something like <dt>Awards</dt> <dd>{vb:raw template_hook.NEW_HOOK_LOCATION</dd>?
I'd have to change the PHP code to the new hook location but this seems a rather crude way to try this. Any ideas are very much appreciated! I've been at this for ages and I'm about to break. :(