Once again Thanks,
Dismounted.
As I said that problem is connected with BUG:
http://www.vbulletin.com/forum/proje...?issueid=22069
Now I meet with another strange problem.
I added a check in my code:
HTML Code:
<plugin active="1" executionorder="5" product="test">
<title>Test One (2)</title>
<hookname>postbit_display_complete</hookname>
<phpcode><![CDATA[
if ($vbulletin->options['test_enable_global'])
{
$template_hook[postbit_user_popup] = print "->123<-";
}
else
{
$template_hook[postbit_user_popup] = print "->456<-";
}
]]></phpcode>
</plugin>
But it (check) doesn't want to work!
As I see value
$vbulletin->options['test_enable_global']
is not return to plugin.
I attached
test.xml which is a simle test product with that code.
->123<- or ->456<- are printed on forum/showthread.php page on the top.
Moved attachment here:
https://vborg.vbsupport.ru/showpost....4&postcount=14
Maybe you can help me with this one.
As I realy don't understand if this one connected with that BUG:
issueid=22069