Log in

View Full Version : How to make phrases from VB 3.0.x still usable?


bibicax
12-26-2005, 04:23 PM
When I update my VBB 3.5.x, some old phrases from VBB 3.0.x no longer work anymore. Instead of showing the value, now the variables shows their name, $vboption[bburl] - for example. Some phrases still work, such as "Email subject" or "Email body", but the others such as "Front-end error message" don't.

How to do code modification to make my VBB 3.5.2 parse those variables as their value?

Tks a million!

Marco van Herwaarden
12-26-2005, 04:54 PM
$vboption[bburl] is not a phrase but a setting/option and is now replaced by $vbulletin->options['bburl']

For other changes i suggest you have a look at our 3.5 Tutorial forum.

bibicax
12-31-2005, 01:23 AM
I mean that variables can't be parsed as their value. For example, in Front-end Error Message, $username is show as "$username", not the value of this variable. But in the Email Subject and Email Bodytext, it works.

How can I modify the code to make it works in all phrasetypes?

So much thanks!

ConqSoft
12-31-2005, 02:29 AM
They were all changed to {1} {2} etc for 3.5.x. You need to remove/update your custom versions of those phrases.

bibicax
12-31-2005, 08:30 AM
Is there any solution to keep using he old phrases? Can you show me the way to do with code modification?

Marco van Herwaarden
12-31-2005, 08:38 AM
Why you would want to do that?