Quote:
Originally Posted by zmmmzz
this is awesome.
|
Maybe, but...
In vBulletin 3.6.* I had such code in product:
Code:
<plugin active="1" executionorder=5" product="test">
<title>Test - member complete</title>
<hookname>member_complete</hookname>
<phpcode><![CDATA[if (THIS_SCRIPT == 'member')
{
$test = "Hellow!";
if ($vbulletin->options[test_auto])
{
$footer = $test.$footer;
}
}]]></phpcode>
</plugin>
Question: How to add $test to the new tab?
This one doesn't work:
Code:
function prepare_output($id = '', $options = array())
{
$this->block_data['test'] = "$test";
}