I have a plugin that uses an include to call a script as described in the
vb manual. The plugin at Hook Location : cron_script_cleanup
The plugin itself simply states:
PHP Code:
include('./includes/plugin_abouttoday.php');
At the top of the plugin_abouttoday.php script I have:
PHP Code:
global $vbulletin, $vbphrase;
$phrasegroups = array('abouttoday', 'posting', 'cpglobal');
require_once('./global.php');
The phrase that I want is part of the "abouttoday" phrases. I know it is there and works in my non-plugin scripts. Any pointers? Thanks!