greentips
06-27-2012, 04:04 PM
Hello All,
I have been trying to move {vb:raw ad_location.thread_last_post_content} to outside of the content box without success. First, we tried ro move the entire statement:
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
to the end of of postbit and postbit_legacy. However, it only works when a thread has more than 1 post. If there is only one post, the ad does not show.
So I tried another approach and moved {vb:raw ad_location.thread_last_post_content} to directly under {vb:raw postbits} in the showthread template without any condition attached. Same thing, it only works when there are more than 1 post in the thread. No display if there is only one post in the thread.
Anyone know how to overcome this issue?
--------------- Added 1340855427 at 1340855427 ---------------
Issued solved.
--------------- Added 1340855474 at 1340855474 ---------------
issued solved. Must insert code directly.
I have been trying to move {vb:raw ad_location.thread_last_post_content} to outside of the content box without success. First, we tried ro move the entire statement:
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
to the end of of postbit and postbit_legacy. However, it only works when a thread has more than 1 post. If there is only one post, the ad does not show.
So I tried another approach and moved {vb:raw ad_location.thread_last_post_content} to directly under {vb:raw postbits} in the showthread template without any condition attached. Same thing, it only works when there are more than 1 post in the thread. No display if there is only one post in the thread.
Anyone know how to overcome this issue?
--------------- Added 1340855427 at 1340855427 ---------------
Issued solved.
--------------- Added 1340855474 at 1340855474 ---------------
issued solved. Must insert code directly.