The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[SOLVED]vb4 phrases in custom php. how to?
Hello
I have created 1 phrase with following settings : Product : testAbc Varname : testXxx Text : This is a test message. Now, when i try to access above phrase in my php file with following syntax, it doesn't give me any output (blank) : PHP Code:
PHP Code:
PHP Code:
How do i access phrase text in php file? |
#2
|
||||
|
||||
are your phrases in global or in a group, if in a group you need to register them
// get special phrase groups $phrasegroups = array(); And i call phrases in templates like this {vb:raw vbphrase:phrasename} |
#3
|
||||
|
||||
Quote:
And no i dont want to call them in template. It works when i call 'em in template. But here is the situation : test/test.php contains : PHP Code:
It also includes call for include("test/test.php") In template "custom_test" i'm rendering data as : {vb:raw ab} Now what i want is : PHP Code:
--------------- Added [DATE]1261483354[/DATE] at [TIME]1261483354[/TIME] --------------- somebody please help --------------- Added [DATE]1261484666[/DATE] at [TIME]1261484666[/TIME] --------------- I just got it sorted out.. Posting solution for future troubles : PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|