In the showthread template


Results 11 to 19 of 19
Thread: hi
- 12-31-10, 19:41 #11
- Gender
- Age
- 42
- Country
- Germany
- Join Date
- 10-27-10
- Posts
- 836
- 12-31-10, 19:49 #122fast4yaGuest
Okay, and do you know where I place the code exactly? Just in the beginning and end?
- 12-31-10, 19:53 #13
- Gender
- Age
- 42
- Country
- Germany
- Join Date
- 10-27-10
- Posts
- 836
no directly before and after the thread title.
Also in the postbit you should wrap it around the post message only and not the whole postbit template.
- 12-31-10, 21:26 #142fast4yaGuest
Originally Posted by StarBuG ((login for URL))
PHP Code:<div class="postbody">
{vb:raw template_hook.postbit_messagearea_start}
<div class="postrow">
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="posttitle 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>
<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore">
{vb:raw post.message}
</blockquote>
</div>
<vb:if condition="$show['attachments']">
<div class="attachments">
<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>
<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>
<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>
<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>
<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>
</div>
<!-- / attachments -->
</vb:if>
</div>
- 12-31-10, 21:30 #15
- Gender
- Age
- 42
- Country
- Germany
- Join Date
- 10-27-10
- Posts
- 836
No, only this one
Code:Please ((login for URL)) to see this code!
- 12-31-10, 21:52 #162fast4yaGuest
Is there a TITLE tag in Postbit that I should be wrapping it around too?
- 12-31-10, 22:08 #17
- Gender
- Age
- 42
- Country
- Germany
- Join Date
- 10-27-10
- Posts
- 836
Try to do a little bit of thinking yourself.
The code isn't that hard to read.
{vb:raw post.title} would be the post title
- 12-31-10, 22:20 #182fast4yaGuest
Is there a chance that I just want to ask the "adsense experts" to make sure I'm not doing anything wrong or forgetting something?
- 12-31-10, 22:43 #19
- Gender
- Age
- 42
- Country
- Germany
- Join Date
- 10-27-10
- Posts
- 836
Set your vBSettings to show HTML Comments and check your results in your HTML source.
This way you can see where something has to go and if you made a mistake.
You can hardly do anything wrong here. In the worst case just revert the template to
its original state and start over. It's basic HTML that any webmaster should know or
at least start to learn.
Search Cloud:
No Data yet