Quote:
Originally Posted by Loco.M
I think there is an extra </if>
do I remove the first one?
Code:
<if condition="$post['signature']">
<!-- sig -->
<!-- / sig -->
</if>
<div align="center"><a class="musername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>'s Signature Showcase
<br />
<!-- BEGIN POSTBIT SLIDE -->
<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>
<li><span title="View Tab 6"><a href="#" rel="tab6$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">
$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="$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="$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="$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="$post[field8]" border="0"/>
</div>
</div>
<!-- SLIDE 6 CONTENT -->
<div id="tab6$post[postid]" class="tabcontent">
<div class="info">
$post[field9]
</div>
</div>
</div>
<script type="text/javascript">
var mytabs=new ddtabcontent("postbittabs$post[postid]")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init()
</script>
<!-- END POSTBIT SLIDE -->
</div>
<!-- / sig -->
</if>
removing the 1st one didn't show anything in the signature, I have 4 profile fields setup and nothing is showing ?
ah, nvm that. I have to have something in my sig for it to show
thx, got it working, but you still have an extra closing if tag in your instructions
|
Hey Brandon
Thanks for that catch

I cleaned it up a bit, and getting ready to update now.
Revised below:
Code:
<!-- POSTBIT SLIDE START -->
<if condition="$post['signature']">
<!-- sig -->
<!-- / sig -->
<div align="center"><a class="musername" href="member.php?$session[sessionurl]u=$post[userid]">$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>
<li><span title="View Tab 6"><a href="#" rel="tab6$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">
$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="$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="$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="$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="$post[field8]" border="0"/>
</div>
</div>
<!-- SLIDE 6 CONTENT -->
<div id="tab6$post[postid]" class="tabcontent">
<div class="info">
$post[field9]
</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 -->
Brandon added in a 6th tab as I have on other forums with his code, please reference this if you wish to do. Read the previous posts, if you get creative you can add mp3 players to a tab, xfire profile info, user info... ok off the wall for example you could remove the users avatar if going for something different in postbit yet include it in a little html/css coded layout even use other mods template edits within the tabs... come on people don't be lazy, your already sitting

.