![]() |
include and vbphrases
Hi everyone!
I have a problem with include's and phrases. It has been recreated in the files test.php and includes/test_include.php. The problem is that the code is executed and the template fetched, but the phrase is not being printed. The nature of the real script means that I cannot use another plugin to insert the code, so that is out of the question. Any ideas on how to do this properly? test.php: PHP Code:
PHP Code:
HTML Code:
<tr> |
Have you actaully created the phrase group and phrases?
If the phrase [test_hello_world] does not exist in a phrase group called "test phrases" then it won't call anything. |
Yes, and they work if the eval is not done in a function.
M :cross-eyed: |
add a global $vbulletin into the function.
|
Already there, doesn't work.
M However, global $vbphrase works! :banana: Thanks! Martin |
All times are GMT. The time now is 01:52 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:
|