Log in

View Full Version : Phrase Edit: needing some help


Speysider
12-21-2009, 03:52 PM
When you make a new thread in a forum, instead of it reading:
Post New Thread

I want it to read:
New Scroll in Forum : (forumname here)

What do I use to make that work?

Lynne
12-21-2009, 04:10 PM
You'd need to change the way the phrase is called and change the phrase to have {1} in place of the forum name (New Scroll in Forum : {1}). And then in the template, instead of:
{vb:rawphrase your_phrase}You would have:
{vb:rawphrase your_phrase, {vb:raw forumname_variable}}

Speysider
12-21-2009, 04:16 PM
That sounds very complicated. I'm not great with that kind of coding yet. Could you go through each step that I should do?

Lynne
12-21-2009, 05:32 PM
I basically did. You need to Find the Phrase and replace it with this:
New Scroll in Forum : {1}
Then, in the template where it is called, replace it with something like this:
{vb:rawphrase your_phrase, {vb:raw forumname_variable}}

(You'll need to replace those variables with the correct ones from the template as I didn't look up the phrase names for you or look in the template to see what the phrase was called.)

Speysider
12-21-2009, 05:33 PM
Okay.
I'll try that out and post back here the result.

--------------- Added 1261424138 at 1261424138 ---------------

Is it in the style templates in the admin panel or in the files on the server?

Lynne
12-21-2009, 09:12 PM
I said in the template, so that is from the admin cp in the Styles & Templates > Style Manager > find style > Edit Templates