Quote:
Originally Posted by txsbmw
I would like to know this as well. It does not stay collapsed and my members have brought it up wishing it would.
|
Ok set out to read some articles and have fixed it:
Replace your usercp_referrals template with this (it was missing some code to get it to work:
Code:
<!-- ########## REFERRALS IN USER CP ########## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('referral')"><img id="collapseimg_referral" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_referral].gif" alt="" border="0" /></a>
$vboptions[bbtitle] $vbphrase[referrals]<span class="normal">: ($referrals)</span>
</td>
</tr>
</thead>
<tbody id="collapseobj_referral" style="$vbcollapse[collapseobj_referral]">
<tr>
<td class="alt1" title="$bbuserinfo[username]'s $vbphrase[referrals]" width="100%" align="left">
<phrase 1="$vboptions[bbtitle]" 2="$vbphrase[referrals]" 3="member.php?$session[sessionurl]u=$bbuserinfo[userid]" 4="$vbphrase[profile]" 5="$bbuserinfo[username]" 6="$vboptions[bburl]/index.php?referrerid=$bbuserinfo[userid]" >$vbphrase[refid_usercp]</phrase>
</td>
</tr>
</tbody>
</table>
<br />
<!-- ######## END REFERRALS IN USER CP ######## -->