Nice idea.. However, a couple of things..
To fix the line break "bug", you could do something like this:
HTML Code:
<if condition="($show['emailcol'] OR $show['imicons']) AND exec_switch_bg()"><td class="$bgclass"><div class="smallfont">$userinfo[icqicon] $userinfo[aimicon] $userinfo[msnicon] $userinfo[yahooicon] $userinfo[skypeicon]<if condition="($show['emaillink'] OR $show['pmlink']) AND ($userinfo[icqicon] OR $userinfo[aimicon] OR $userinfo[msnicon] OR $userinfo[yahooicon] OR $userinfo[skypeicon])"><br /></if><if condition="$show['emaillink']"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$userinfo[userid]" target="_blank" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/email.gif" alt="email.gif" title="<phrase 1="$userinfo[username]">$vbphrase[click_here_to_email_x]</phrase>" border="0" /></a></if> <if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&u=$userinfo[userid]" target="_blank" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/sendpm.gif" alt="sendpm.gif" title="<phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if></div></td></if>
Also, you need to edit the
memberlist template too. Otherwise the colspan of the table messes up.. This removes the need to edit the setting in the vBulletin options.
Find:
HTML Code:
<if condition="$show['imicons']"><td class="thead" nowrap="nowrap">$vbphrase[instant_messaging]</td></if>
Delete it.
Find:
HTML Code:
<if condition="$show['emailcol']"><td class="thead" nowrap="nowrap">$vbphrase[contact]</td></if>
Replace it with:
HTML Code:
<if condition="$show['emailcol'] OR $show['imicons']"><td class="thead" nowrap="nowrap">$vbphrase[contact]</td></if>
Sorted.