![]() |
Showing a user in a Phrase
Hello...
First off... I am totally lost to php, so pls bear with me I have installed this hack from Ted S. What is does is will post a message for people not reg'd/vistors, another one waiting activation, another message after your activation (to congrats... remind to post) and another one if you have been gone for X amount of days. If uses Phrase, and it is what is in these Phrases that the user will see. Example welcome_postmoreoften Code:
Hello {1} it appears that you have not posted on our forums in several weeks, why not take a few moments to ask a question, help provide a solution or just engage in a conversation with another member in any one of our over 200 forums. A few popular destinations include our <A Hello %1$s it appears that you have not posted on our forums in several weeks, why not take a few moments to ask a question, help provide a solution or just engage in a conversation with another member in any one of ....... Am I miss understand this or did I do something wrong. I so.... what can I do to correct this, or what is the correct "thing" to put in there. Any help would be great, and thanks in advance Coll |
can you just put '$bbuseirfo[username]' in there?
Also, over 200 forums?? |
Quote:
I don't have 200 forums... ted does.... I just posted the whole as created by Ted I know that it can be done.... Teds does. Any other ideas |
As i said, just hardcode the text and dont bother with the phrase. if $bbuserinfo[username] still doesnt work after directly putting it into the template, theres a good chance youll need to make a few minor edits to makeit work
|
Quote:
What exactly would I have to do in order for this to happen for I can have the users name if/when that phrase pops up. Coll |
this is a simple feature... use this example:
PHP Code:
also.. the more you add variables to the function construct_phrase, the more {1}, {2} etc... you have. the scheme is: PHP Code:
|
Quote:
|
Quote:
|
All times are GMT. The time now is 09:00 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|