The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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 href="/f2.html">Basic Scuba</A> forums, our <A href="/f51.html">Off Topic</A> and our <A href="/f42.html">Scuba Clubs</A> which now number over two dozen. 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 |
#2
|
|||
|
|||
![]()
can you just put '$bbuseirfo[username]' in there?
Also, over 200 forums?? |
#3
|
||||
|
||||
![]() 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 |
#4
|
||||
|
||||
![]()
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
|
#5
|
||||
|
||||
![]() 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 |
#6
|
|||
|
|||
![]()
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:
|
#7
|
||||
|
||||
![]() Quote:
|
#8
|
|||
|
|||
![]() Quote:
![]() ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|