Back to vBulletin 3.6 Template Modifications

Collapse/Expand the list of the thanked
Mod Version: 1.1, by mad@Max

This modification is in the archives.
vB Version: 3.6.x Rating: (3 votes - 3.67 average) Installs: 26
Released: 21 Nov 2007 Last Update: 25 Aug 2008 Downloads: 72
Not Supported Uses Plugins Template Edits  

If you installed mod "Post thank you 6.3", this is mini mod for you

Find in your style template post_thanks_postbit_legacy or post_thanks_postbit, then find:

PHP Code:
<div>
$post[post_thanks_bit]</div
Replace with:

PHP Code:
<!-- Collapse/Expand the list of the thanked -->
<if 
condition="$post['post_thanks_amount'] > 20">
<
center>
<
a href="#" onclick="toggle_collapse('thanks_postbit_$post[postid]'); return false;">Collapse/Expand the list of the thanked</a></center>
<
br>
<
div id="collapseobj_thanks_postbit_$post[postid]style="display:none;">
<
div>
$post[post_thanks_bit]</div></div><else /><div>
$post[post_thanks_bit]</div></if>
<!-- 
Collapse/Expand the list of the thanked --> 
If you have > 20 (var) the thanked, box with them will collapse, otherwise will happen nothing

Or you may use attached plugin.

Click if you like this mod!

Download

This modification is archived, downloads are still allowed.

File Type: %1$s plugin-thanked.xml (1.5 KB, 65 downloads)

Supporters / CoAuthors

  • webmaster

vblts.ru supports vBulletin®, 2022-2024