PDA

View Full Version : Use of language phrases in user ranks/titles


Yusho
06-24-2008, 05:09 PM
Hey all,

we are hosting an international forum in 3 languages and want to show the user rank and/or title in the currently selected language. Is there any way to do this?

$vbphrase[xxx] does not work there... :(

Can this be solved by writing a plugin? If so which hook is used and what variables need to be rewritten?


Thanks in advance!

Dismounted
06-25-2008, 06:57 AM
You will need to not use the User Ranks system, but use conditionals in the postbit template in place of it.

Yusho
06-25-2008, 07:43 AM
Creating conditions for 10 ranks and 3 languages sounds difficult... :/
In addition: This Modification needs to be done in the many other templates too, like the user profile.

Does anyone know if this can be done with a plugin?

Dismounted
06-25-2008, 09:18 AM
It's probably possible, you'll just need to find where it is evaluated, then change it in the nearest plugin.