Code: Select all
phpbb_profile_fields_data to utf8_unicode_ci
I write a Notice next time, so it is clear
Code: Select all
phpbb_profile_fields_data to utf8_unicode_ci
Code: Select all
// Table Converting for case in-sensitive searching
/* ###############################
utf8_unicode_ci is *generally* more accurate for all scripts.
For example, on Cyrillic block:
utf8_unicode_ci is fine for all these languages:
Russian, Bulgarian, Belarusian, Macedonian, Serbian, and Ukrainian.
While utf8_general_ci is fine only for Russian and Bulgarian subset of Cyrillic.
Extra letters used in Belarusian, Macedonian, Serbian, and Ukrainian are sorted not well.
################ */
Code: Select all
if ($auth->acl_get('a_') && !empty($user->data['is_registered'])){
$sql = 'ALTER TABLE ' . PROFILE_FIELDS_DATA_TABLE . '
CONVERT TO CHARACTER SET utf8
COLLATE utf8_unicode_ci';
$db->sql_query($sql);}
Code: Select all
/* ################
So change
COLLATE utf8_unicode_ci
to
COLLATE utf8_generale_ci
if needed.
Set
COLLATE utf8_bin
if your language have no classic upercase letters or it makes no sense for your needs
################ */
CPF Member Search - Addition #1 released...
Download: http://4seven.kilu.de/forum/phpbb3/view ... 1997#p1997
http://www.phpbb.com/community/viewtopi ... #p12968979
Info
- Avatar Display
- Online/Offline Status
- CPF Onmouseover Quick-View
Demo: http://4seven.kilu.de/phpbb3/memberlist ... searchuser
Screens:
http://www.loaditup.de/files/595090.png
http://www.loaditup.de/files/595097.png
Note: Use this fix to show the status for all members
that all you can search, when you make this as cpf.Unfortunately it would make little sense for me to add a new cpf called 'Age' I really need a way to search members by 'Age' too.
as you can see in demo, search for gender is allready possible.I still may use the mod though as searching by 'Gender' at least would be very cool.
Sorry if I have misunderstood 4_seven. But if i made a cpf called 'Age' people would have to update it manually which is no good unfortunately.4_seven wrote:that all you can search, when you make this as cpf.Unfortunately it would make little sense for me to add a new cpf called 'Age' I really need a way to search members by 'Age' too.
personally i see no sense to have that not as cpf.
all is possible with cpf. why phpbb have made it, when not?
Just make a cpf named 'Gender' and there you go..
so your need is the possibility to search4_seven wrote:but that's another mod.
from
number to
number (math.).