Log in

View Full Version : Hook formdata_presave


Steve123
07-12-2006, 04:44 AM
Hi,

I am using hook forumdata_presave to insert a event in the cal when an admin creates a forum thats an event forum (new hack im creating).

My problem is i am trying to use this..

$eventdata->set('event', $vbulletin->options['message']);

It seems $vbulletin is not even set at all.

Does anyone know how to call $vbulletin->options within hook formdata_presave?

Thanks!

FYI:

worked it out

$this->registry->options['message']