PDA

View Full Version : $vbphrase in Forum Description ?


trickfly
01-07-2009, 04:35 PM
Is it possible to put a $vbphrase in the forum description

eg. $vbphrase[mycustomphrase]

I surrounded the phrase with php tags eg.

<?php

$vbphrase[mycustomphrase]

?>

But it still didn't work, can anyone help ?

I will be very gratefull!

Bellardia
01-07-2009, 05:03 PM
Is it possible to put a $vbphrase in the forum description

eg. $vbphrase[mycustomphrase]

I surrounded the phrase with php tags eg.

<?php

$vbphrase[mycustomphrase]

?>

But it still didn't work, can anyone help ?

I will be very gratefull!
You don't use php tags inside your templates.

Marco van Herwaarden
01-08-2009, 08:55 AM
No you can not use phrases in forum titles.

trickfly
01-08-2009, 09:58 AM
Someone said I can place them in the template. But I only want it in one forum not all forums so is there any other way ?

Bellardia
01-08-2009, 10:21 AM
<if condition="$forum[forumid] == '1'">$vbphrase[phrase]</if>

Use that or another conditional to select when to show it, place in forumhome_forumbit_level1_post or forumhome_forumbit_level2_post depending on where you want it to show.

trickfly
01-08-2009, 10:41 AM
Thanks I'll try that but whats the difference between:

forumhome_forumbit_level1_post
forumhome_forumbit_level2_post

??

It's one of the forums on my site.

Dismounted
01-08-2009, 10:52 AM
The first level and the second level. :) First is the category, second is the normal forums.