This modification is in the archives.
This is just a simple conditional, but I found it useful and worth sharing. All it does is give you the option to only show the social bookmarking (Digg, Stumbleupon, etc) links in select forums where appropriate.
In the SHOWTHREAD template: Find: Code:
<if condition="$bookmarksites"> <!-- social bookmarking links --> <br /> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="tborder" align="center"> <tr> <td class="thead" colspan="$bookmarkcolspan">$vbphrase[bookmarks]</td> </tr> <tr>$bookmarksites</tr> </table> <!-- / social bookmarking links --> </if> Code:
<if condition="$bookmarksites"> <if condition="in_array($forum[forumid], array(1,2,3))"> <!-- social bookmarking links --> <br /> <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="tborder" align="center"> <tr> <td class="thead" colspan="$bookmarkcolspan">$vbphrase[bookmarks]</td> </tr> <tr>$bookmarksites</tr> </table> <!-- / social bookmarking links --> </if> </if> Code:
<if condition="in_array($forum[forumid], array(1,2,3))"> Download
This modification is archived, downloads are still allowed. |
Similar Mods
Mini Mods Add new social bookmarking for Arabic vBulletin forums | vBulletin 3.7 Template Modifications |