vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Memberlist Consolidation Suite (https://vborg.vbsupport.ru/showthread.php?t=124500)

Ragnarok 08-19-2006 10:00 PM

Memberlist Consolidation Suite
 
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 for giving this a look-over and fixing my errors. :)

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

Ragnarok 08-20-2006 07:39 PM

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 08-20-2006 09:44 PM

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&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:
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. :)

Ragnarok 08-20-2006 11:41 PM

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 08-21-2006 08:54 AM

Will this work on 3.5.5 as well?

Ragnarok 08-21-2006 12:53 PM

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 08-21-2006 02:06 PM

good idea

installed

Snake 08-30-2006 04:14 PM

Thanks for the hack! I'll install it right away... :)


All times are GMT. The time now is 07:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02096 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete