Requires with plugin
<font color="darkgreen">I am trying to add additional content to the postbit template conditionally and pulling in a template bit with the php code in a requires statement in the plugin.
Usually not a problem but Im getting errors when I try to call a "$db->query_read( blah, blah " statement. Says object null or required.
Even with a single line of code in my requires php page I get the $db is null. What could be the issue?
Im using showthread_postbit_create or postbit_start hook location(s) as either will generate the same error.
Thanks</font>
|