The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
(x viewing - x members - x guests)
I have a dutch forum.
In dutch viewing = lezer (if 1 persons) or lezers (if more persons) In english viewing is valid for all number of persons How can I resolve this problem? (same for members and guests) |
#2
|
|||
|
|||
Put it as "Lezer(s)" in your phrases.
|
#3
|
|||
|
|||
Thank you Marco,
That's a solution but it is not very nice, isn't it? lezer(s) gast(en) lid? |
#4
|
|||
|
|||
Move to a country where the language does not have this problem.
|
#5
|
|||
|
|||
What a kind of answer is this
And change the nationality of all members? Please be serious. vbulletin.com said to me that the people in vbulletin.org will find a solution. |
#6
|
||||
|
||||
Untested, but should work. Search in the FORUMHOME template for:
Code:
<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase> Replace it with: Code:
<if condition="$numberregistered > '1'"> <phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase> <else /> <phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_member_and_y_guests]</phrase> </if> Now open the phrase in your AdminCP's Phrase Manager x_members_and_y_guests, copy the text there and create a new phrase called x_member_and_y_guests. Paste the text in and chage lezers to lezer. |
#7
|
|||
|
|||
Thank you very much for your reply.
Actually there are three words different in dutch if single or plural: 1 member = lid > members = leden 1 guest = gast > guests = gasten 1 viewing = lezer > viewing = lezers -------------------------------------------------------------------------------- To resolve the first two I tried to change your sintax. Can you please tell me if this is correct? Code:
<if condition="$numberregistered == '1'" && "$numberguest == '1'"> <phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_member_and_y_guest]</phrase> <else /> <if condition="$numberregistered == '1'" && "$numberguest > '1'"> <phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_member_and_y_guests]</phrase> <else /> <if condition="$numberregistered > '1'" && "$numberguest == '1'"> <phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guest]</phrase> <else /> <phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase> </if> Do you know where to find the code with the text "x viewing"? (you know.. how much members are viewing a board) Thank you. --------------- Added [DATE]1196371855[/DATE] at [TIME]1196371855[/TIME] --------------- Can you please tell me if this is correct for the x_viewing members (in forumhome_forumbit_level1_post): (x_viewing_eenlezer = new variable for one viewer) Quote:
--------------- Added [DATE]1196434190[/DATE] at [TIME]1196434190[/TIME] --------------- I tried the code below but it didn't work. Can someone help me and tell me what is wrong? Quote:
|
#8
|
|||
|
|||
??????????
Why nobody doesn't answer my questions???????? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|