PDA

View Full Version : vBPhrase, Second PM phrases


paulyy
09-17-2004, 03:30 PM
Ok, I have 2 skins on my board, a simple looking one, and a complex kind of graphic heavy one.

Now, I am editing phrases etc. and don't want changes forum wide, but rather within particular skins. So, I created some global phrases based on the old ones, for example;

<phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase>

In the default skin is

<phrase 1="$vbphrase[unread_x_nav2_compiled]" 2="$vbphrase[total_x_nav2_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav2]</phrase>

In the alternate skin. But no surprise it doesn't work. Everything works fine, except it doesn't detect the PM total, or unread total. The output I get is this;

PM's: %1$s | Unread: %1$s

I assume I will need to turn debug mode on to do something that will make them compile the phrases to work. I don't really have a clue what I am supposed to add, or how.

Much appreciated if someone can walk me through this one.

nexialys
09-17-2004, 05:03 PM
you don't need to add the same variable twice in the phrase call...

paulyy
09-17-2004, 05:14 PM
Sorry, I don't understand what you mean by that. Could you please explain?

paulyy
09-18-2004, 03:17 AM
Anyone have any ideas?