Quote:
Originally Posted by BirdOPrey5
If you visit my forum you see I do rhis ad for guests only... here is the code I use in postbit legacy:
Directly below:
Code:
$template_hook[postbit_end]
add:
Code:
<!-- 2nd Post Ad -->
<if condition="$post['isfirstshown'] AND $show['guest']">
<img src="/forums/images/icons/blank.gif" height="5" border="0" />
<table id="postbit_as" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /> Don't want to see ads? <a href="register.php">Register</a> for free!</td>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<div id="postmenu_ad">
<div class="bigusername">JUOT Ad</div>
</div>
<div class="smallfont">Guest Only Ad</div>
</td><td>
<!-- icon and title -->
<div class="smallfont">
<strong>Sponsored Advertisement</strong>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
<!-- message -->
<div id="post_message_ad">
AD CODE HERE
</div>
</div>
</div>
<!-- / message -->
</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
</td>
</tr>
</table>
</if>
<!-- End 2nd Post Ad -->
Youll have to customize the image paths...
|
Quote:
Originally Posted by tanand79
i wanna show to all members
how to do that? 
|
Remove
this:
Code:
<if condition="$post['isfirstshown'] AND $show['guest']">
Example:
Code:
<if condition="$post['isfirstshown']">