Insert new field


I have a problem with the customitazion of my schedule.

I want to insert user_id into the table “events”, but i can’t find the function that i need to edit. Please help me…i have this problem 2 weeks ago.

Thanks!! :slight_smile:

Do you mean the standalone scheduler or plugin for WP|Joomla?

In first case you only need to add few extra lines to the connector’s init

function mycode($action){ $action->add_field("user_id", $_SESSION["user_id"]); } $sch->event->attach("beforeProcessing", mycode)