PDA

View Full Version : How to add phrase, but...


malag
03-23-2008, 04:52 PM
Hello,
I want to add new phrase, but I want use valid numbers of threads and posts. E.g. :
http://img141.imageshack.us/img141/2039/addnewphrasexj2.jpg

How to activate {1} and {2} in this phrase?

Lynne
03-23-2008, 05:17 PM
Varname would just be "thread_and_posts" (no quote marks).

This is an example from FORUMHOME:
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase>

So, you would call yours like:
<phrase 1="$posts" 2="$threads">$vbphrase[thread_and_posts]</phrase>

But, the $posts and $threads variables would need to be defined by you (or may already be defined, you need to use the defined variables there in that case.).

malag
03-23-2008, 05:46 PM
Thanks mate :)
That was easy, but thanks so much :)