![]() |
Add variable to print_standard_error ..etc
Hello All,
Is it possible to add variables to a standard error? for example I have the standard error as "You are not allow to post because blah blah" Now I want to change it to "You are not allow to post because you are at the IP:xxx.xxx.xxx.xxxx" ==> The IP:xxx.xxx.xxx.xxxx is the variable generated from the php files. Please show me how to incorporate this one onto vb error message Thanks |
You can define parameters passed by reference into error messages (phrases).
Use '{1}' for the first passed parameter. |
Hi MarcoH64,
Thanks for replying to my thread. Would you please be more specific. I only see this like as eval(print_standard_error("invalidid")). How would we pass the parameters? Thanks |
You are right, when using the print_standard_error function you can not use parameters for phrases.
You can with the satement: PHP Code:
If you now use the following for the error (mind the extra ', 0'): PHP Code:
|
Thanks
I will try tonite |
All times are GMT. The time now is 04:44 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:
|