Log in

View Full Version : Prefix


Ross L
12-13-2009, 02:42 PM
Hi,

I'm working on some edits to my forum display template. Currently my prefixes display like this

prefix thread title

but I want it to display like this

[prefix] - thread title

What code am I looking to edit in the template to achieve this?

Thanks in advance.

Cheers,

Ross

Lynne
12-13-2009, 02:50 PM
Look for "{vb:raw thread.prefix_rich}" in the threadbit template.

Ross L
12-13-2009, 03:18 PM
Thanks for the reply. I have looked in the threadbit template of my custom template and the default template and that bit of code is in neither.

--------------- Added 1260724966 at 1260724966 ---------------

Found a solution.

In the threadbit template I found this:

$thread[prefix_rich]

and replaced it with:

[$thread[prefix_rich]] -

Cheers,

Ross

Lynne
12-13-2009, 04:30 PM
Whoops, I didn't notice that this was in the vb3 forum and not vb4. Sorry about that.