PDA

View Full Version : Non-English Member List


gmarik
02-02-2004, 10:00 PM
This adds Cyrillic letters:

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


<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

// russian letters
for ($i=192; $i < 223; $i++)
{
$currentletter = chr (http://www.php.net/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