Log in

View Full Version : Custom Phrase Manager - Help?


GDA
09-10-2008, 06:26 PM
Hello,

How can I display someones username once they are logged in using a custom phrase?

For example, I would like to do this:

Welcome Admin to the site

I would like the Admin to be used as a custom phrase.

Lynne
09-10-2008, 06:40 PM
From the vbulletin manual:
Phrase Syntax (http://www.vbulletin.com/docs/html/language_phrase_syntax)
Using Phrases in Templates (http://www.vbulletin.com/docs/html/language_phrase_templates)

GDA
09-10-2008, 09:28 PM
still can't see it?

I just need to be able to write the person's username automatically.

For example: (Jane is the username)

Hello Jane

Opserty
09-10-2008, 10:07 PM
Add a new phrase: Adding or Editing a Phrase (http://www.vbulletin.com/docs/html/language_add_phrase)
Then when you put that phrase in a template (Using Phrases in Templates (http://www.vbulletin.com/docs/html/language_phrase_templates)), use the

$bbuserinfo[username]
variable, which will allow you to put the username into {1}

Lynne
09-11-2008, 12:23 AM
still can't see it?

I just need to be able to write the person's username automatically.

For example: (Jane is the username)

Hello Jane
Did you read the links I posted? If you still can't see it, post exactly what is in your phrase and post exactly what you put in the template to call the phrase.

GDA
09-11-2008, 09:36 PM
Thanks to both of you - managed to get it working

mokujin
10-03-2008, 08:25 PM
Hi,
How can I add a new Phrase Type?