vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Counter (ranklist) in memberlist (#1, #2, ...) (https://vborg.vbsupport.ru/showthread.php?t=105999)

prawn 01-21-2006 10:00 PM

Counter (ranklist) in memberlist (#1, #2, ...)
 
Counter in Memberlist
version 1.0

This little plug-in adds a new column to your memberlist showing which position the members have, no matter by what column the list is sorted. For example you want to see which position user XYZ has when sorting by renommee points, registration date and so on. Just take a look at the screenshots at the bottom. It's nothing really special, maybe I'll enhance that one later on.


Installation (1 plug-in, 2 template edits)
  1. Go to your admin control panel ? plug-in system ? upload new plug-in and use the attached plug-in xml file.
  2. [left]Go to your style manager and fire up the memberlist template:
    find:
    HTML Code:

    <td class="thead" align="$stylevar[left]" nowrap="nowrap"><a href="$sorturl&amp;order=ASC&amp;sort=username&amp;pp=$perpage$usergrouplink">$vbphrase[username]</a> $sortarrow[username]</td>[/left]

    add above:
    HTML Code:

    <td class="thead" align="$stylevar[center]">#</td>
  3. Open up the memberlist_resultsbit template and do the following:
    find:
    HTML Code:

    <tr align="center">
    add under:
    HTML Code:

    <td class="alt1Active" align="$stylevar[center]">$mcounter</td>
  4. You're done. :)
Demo:
Feel free to post new ideas etc. to this hack. My first one here. :)

Greets
Jake

Hasann 01-22-2006 02:03 PM

very cool idea ;)
thanks

Feckie (Roger) 01-22-2006 02:16 PM

Installed

The Realist 01-22-2006 04:59 PM

Works a treat, thanks.

Clicked Installed.

AshokForums.com 01-22-2006 10:02 PM

Nice addon.. Installed

Snake 01-23-2006 06:09 AM

Awesome!

Rickie3 01-24-2006 12:55 AM

great stuff *installed*


All times are GMT. The time now is 02:13 AM.

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.00981 seconds
  • Memory Usage 1,725KB
  • 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
  • (7)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