View Full Version : Custom Phrase Manager - Help?
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)
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.
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?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.