vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Non-English Member List (https://vborg.vbsupport.ru/showthread.php?t=61136)

gmarik 02-02-2004 10:00 PM

Non-English Member List
 
This adds Cyrillic letters:

1. Customize Template: memberlist
Find
<if condition="$vboptions['usepopups'] AND !$show['usergroup']">
Add ABOVE it add:

PHP Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center"><tr align="center">    $russianletterbits</tr></table

2. Open /memberlist.php
Find #413
$userscount = $DB_site->query_first("
Add ABOVE this

Code:

// russian letters
       
for ($i=192; $i < 223; $i
++)
        {
               
$currentletter =
chr($i);
               
$linkletter = &$currentletter
;
               
$show['selectedletter'] = iif($selectedletter == $currentletter, true, false
);
                eval(
'$russianletterbits .= "' . fetch_template('memberlist_letter') . '";'
);
        }


Thats it. 50 seconds.
Photoshop screen grab not working

Boofo 02-03-2004 10:12 PM

Do you have a screenshot of this in action, like a before and after?

gmarik 02-03-2004 10:38 PM

I'll add it later, if somebody else will be interested in such a hack, ok?!

Boofo 02-03-2004 10:53 PM

Maybe if you add it, someone else might get interested in it. What do you think? ;)

deathemperor 02-04-2004 12:53 AM

yes, they will

Sh3d0w Bl3de 01-03-2005 09:45 PM

Nice hack, thank you.

Boofo 01-07-2005 03:14 AM

How do you figure out which letters to add? How would it be for something like Chinese or something? Just curious. ;)

Heo13 01-10-2005 07:22 PM

They hack doesn't work correctly. When you click on a russian letter to view the members, you end up looking at all sorts of nicknamas, not only starting with the russian letter you selected


All times are GMT. The time now is 11:21 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.01007 seconds
  • Memory Usage 1,733KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_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