PDA

View Full Version : Memberlist Consolidation Suite


Ragnarok
20 Aug 2006, 20:37
In stock vBulletin, many memberlist options are displayed in separate columns. With all enabled, (excluding custom fields) this totals 13 columns... far wider than most screen resolutions like. This suite collectively reduces that to 7 intuitive columns without breaking any functionality. :)

With version 1.5.0 is the entire suite, including consolidation of the following:

-IM icons, PM and Email buttons, Homepage button
-Post Count and Search Posts columns (Clicking your postcount will find your posts)
-Birthday and Age columns
-Join Date and Last Visit columns
-And a bonus - Rank Image displayed

The instructions are configured in a way as to allow you to use as much or as little of this hack suite as you like. :)

Many thanks to Oblivion Knight (http://www.vbulletin.org/forum/member.php?u=13309) for giving this a look-over and fixing my errors. :)

Please click "Install" if you decide to use any part of this modification. :)

Ragnarok
20 Aug 2006, 20:39
As an additional- I made a small change to the "contact" phrase- changed it to "Contact Information" Unnecessary but I'm picky about these things :p

Oblivion Knight
20 Aug 2006, 22:44
Nice idea.. However, a couple of things..

To fix the line break "bug", you could do something like this:
<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&amp;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>&nbsp;<if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&amp;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:
<if condition="$show['imicons']"><td class="thead" nowrap="nowrap">$vbphrase[instant_messaging]</td></if>Delete it.

Find:
<if condition="$show['emailcol']"><td class="thead" nowrap="nowrap">$vbphrase[contact]</td></if>Replace it with:
<if condition="$show['emailcol'] OR $show['imicons']"><td class="thead" nowrap="nowrap">$vbphrase[contact]</td></if>Sorted. :)

Ragnarok
21 Aug 2006, 00:41
Thanks for the tips! :) I updated the instructions up top using your instructions... and ended up doing up almost every field in my own memberlist as well... I have 11 fields displayed within 6 columns now, all included with the installation instructions. :)

JD210
21 Aug 2006, 09:54
Will this work on 3.5.5 as well?

Ragnarok
21 Aug 2006, 13:53
I don't see why it wouldn't. There hasn't been a great deal of changes made to the involved templates between 3.5.x and 3.6.x.

The easiest answer is of course- if you can find all of the code you'll need to edit, it works. ;)

EnIgMa1234
21 Aug 2006, 15:06
good idea

installed

Snake
30 Aug 2006, 17:14
Thanks for the hack! I'll install it right away... :)