Quote:
Originally Posted by TheHardest
I had some errors in vB4.0 Gold so I changed it a little.
<a class="musername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
to
<a class="musername" href="member.php?{vb:raw post.userid}-{vb:raw post.musername}">{vb:raw post.musername}</a>
,
$post[signature]
to
{vb:raw post.signature}
And
src="$post[field5]"
to
src="{vb:raw post.field6}"
Code:
<strong></strong>
<!-- POSTBIT SLIDE START -->
<if condition="$post['signature']">
<!-- sig -->
<!-- / sig -->
<div align="center"><a class="musername" href="member.php?{vb:raw post.userid}-{vb:raw post.musername}">{vb:raw post.musername}</a>'s Signature Showcase
<br />
<div id="postbittabs$post[postid]" class="smanslide">
<ul>
<li><span title="View Tab 1"><a href="#" rel="tab1$post[postid]" id="selected$post[postid]"> </a></span></li>
<li><span title="View Tab 2"><a href="#" rel="tab2$post[postid]"> </a></span></li>
<li><span title="View Tab 3"><a href="#" rel="tab3$post[postid]"> </a></span></li>
<li><span title="View Tab 4"><a href="#" rel="tab4$post[postid]"> </a></span></li>
<li><span title="View Tab 5"><a href="#" rel="tab5$post[postid]"> </a></span></li>
</ul>
<br style="clear: center" />
</div>
<div class="smallfont">
<!-- SLIDE 1 CONTENT -->
<div id="tab1$post[postid]" class="tabcontent">
<div class="info">
{vb:raw post.signature}</div>
</div>
<!-- SLIDE 2 CONTENT -->
<div id="tab2$post[postid]" class="tabcontent">
<div class="info">
<img alt="My 2nd Sig Pic" border="0" src="{vb:raw post.field5}" border="0"/>
</div>
</div>
<!-- SLIDE 3 CONTENT -->
<div id="tab3$post[postid]" class="tabcontent">
<div class="info">
<img alt="My 3rd Sig Pic" border="0" src="{vb:raw post.field6}" border="0"/>
</div>
</div>
<!-- SLIDE 4 CONTENT -->
<div id="tab4$post[postid]" class="tabcontent">
<div class="info">
<img alt="My 4th Sig Pic" border="0" src="{vb:raw post.field7}" border="0"/>
</div>
</div>
<!-- SLIDE 5 CONTENT -->
<div id="tab5$post[postid]" class="tabcontent">
<div class="info">
<img alt="My 5th Sig Pic" border="0" src="{vb:raw post.field8}" border="0"/>
</div>
</div>
</div>
<script type="text/javascript">
var mytabs=new ddtabcontent("postbittabs$post[postid]")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init()
</script>
</div>
</if>
<!-- /POSTBIT SLIDE END -->
|
And Updated but here is the code:
Code:
<!-- Postbit Slide by TheLastSuperman start -->
<vb:if condition="$post['signature']">
<blockquote class="signature restore">
<div align="center"><a class="musername" href="member.php?u={vb:raw post.userid}">{vb:raw post.username}</a>'s Signature Showcase
<br />
<div id="postbittabspost{vb:raw post.postid}" class="smanslide">
<ul>
<li><span title="View Tab 1"><a href="#" rel="tab1post{vb:raw post.postid}" id="selectedpost{vb:raw post.postid}"> </a></span></li>
<li><span title="View Tab 2"><a href="#" rel="tab2post{vb:raw post.postid}"> </a></span></li>
<li><span title="View Tab 3"><a href="#" rel="tab3post{vb:raw post.postid}"> </a></span></li>
<li><span title="View Tab 4"><a href="#" rel="tab4post{vb:raw post.postid}"> </a></span></li>
<li><span title="View Tab 5"><a href="#" rel="tab5post{vb:raw post.postid}"> </a></span></li>
</ul>
<br style="clear: center" />
</div>
<div class="smallfont">
<!-- SLIDE 1 CONTENT -->
<div id="tab1post{vb:raw post.postid}" class="tabcontent">
<div class="info">
<div class="signaturecontainer">
{vb:raw post.signature}
</div>
</div>
</div>
<!-- SLIDE 2 CONTENT -->
<div id="tab2post{vb:raw post.postid}" class="tabcontent">
<div class="info">
<img alt="My 2nd Sig Pic" border="0" src="{vb:raw post.field5}" border="0"/>
</div>
</div>
<!-- SLIDE 3 CONTENT -->
<div id="tab3post{vb:raw post.postid}" class="tabcontent">
<div class="info">
<img alt="My 3rd Sig Pic" border="0" src="{vb:raw post.field6}" border="0"/>
</div>
</div>
<!-- SLIDE 4 CONTENT -->
<div id="tab4post{vb:raw post.postid}" class="tabcontent">
<div class="info">
<img alt="My 4th Sig Pic" border="0" src="{vb:raw post.field7}" border="0"/>
</div>
</div>
<!-- SLIDE 5 CONTENT -->
<div id="tab5post{vb:raw post.postid}" class="tabcontent">
<div class="info">
<img alt="My 5th Sig Pic" border="0" src="{vb:raw post.field8}" border="0"/>
</div>
</div>
</div>
<script type="text/javascript">
var mytabs=new ddtabcontent("postbittabspost{vb:raw post.postid}")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init()
</script>
</div>
</blockquote>
</vb:if>
<!-- Postbit Slide by TheLastSuperman end -->