![]() |
Where/what is $errormessage ?
I want to edit my redirect page to change the standard phrase after you make a post to something different. I see the phrase name for this is $vbphrase[postthanks]. Since I have seen it recommended you create a custom phrase rather than edit an existing one, I was going to do that. When I look at the STANDARD_REDIRECT template all I see is the code $errormessage where I would expect the postthanks bit. The page renders the postthanks phrase, so I suspect $errormessage must contain the proper postthanks code within it. However, I have found no such thing as what $errormessage is anywhere within the vb software. Is this a phrase, a template, or something else?
I figured I would replace the postthanks with my custom phrase in the template, but I can’t do that if I don’t know where it is. I would replace the $errormessage part, but I don’t know what functionality I may screw up since I can’t see what $errormessage actually is. |
The easiest way to do this is to edit the postthanks phrase. You can do this by going to:
Language & phrases > Search in phrases > search in variable name only > postthanks Hit the edit button on the phrase then add the text that you wish to display into the bottom box on this page. |
As it turns out my windows search feature was not looking into the php documents, which is why I never found anything. Using my editor app for multifile searching found what I wanted. Shame on me and windows.
I have now evolved my requirements a bit. I actually want a seperate redirect page for one of my usergroups that displayes a different message, and for a longer period of time. Now I just need to figure out where to place the <if> statements. |
All times are GMT. The time now is 03:39 AM. |
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:
|