The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
different alphabet index for members list
hi all!
is there a way to have the a different alphabet index (greek) for the members list? thanks, Dimitris |
#2
|
|||
|
|||
Open memberlist.php and modify the following portion to display your character set:
PHP Code:
|
#3
|
||||
|
||||
thanks for the help! it works! :up:
I just changed the character indeces to the greek ones. It seems, there's a non-character in position 210 though, breaking the alphabet in two! It must be an empty place, left there before the capital sigma because there are two lower case sigmas and thus, the rest of the capitals will correspond correctly with the lower case ones. To resolve this, I have used two different loops: PHP Code:
Thanks a lot for the tip, ReCom! You have helped big deal! Now, if you only had some advice as to how I could arrange it so that only greek letters are accepted for usernames! |
#4
|
|||
|
|||
Quote:
1. Go to AdminCP > vBulletin Options > User Registration Options. 2. Look for setting "Username Regular Expression". 3. Now let say you want to limit the usernames to those containing a, b, c, d or e only. You would need to write in the setting: Code:
^[abcde]$ Perhaps there's a better way, probably using plugin. Will look into it further. EDIT: you can add plugin that hooks to register_addmember_process: 1. Check if $vbulletin->GPC['username'] is valid (greek characters only) using any PHP algorithm you want. 2. If it's invalid, append array $userdata->errors with your error message. |
#5
|
||||
|
||||
Quote:
I have entered all greek characters (upper and lower case, with accents) within this notation: ^[ ]$ in the "Username Regular Expression" field. Then I tried to create a user but neither greek nor latin characters would be accepted by the system! When I emptied the field, registration would work again! Quote:
thanks! |
#6
|
|||
|
|||
Quote:
|
#7
|
||||
|
||||
indeed! this works!!!!!
thanx ReCom! I owe you! |
#8
|
|||
|
|||
How to make it under Vb4? Its code strongly differs.
Whether somebody can help? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|