yes i m using more plugin and the variables are all in the footer and in the same hook ; i tried to put preregistration in the same plugin like the variable declaration and assignment, as you suggested, but it did not work
ty
well i realized it's a problem of variable scope; i'm assigning to a variable the value of $forumid.... if i set in the plugin global_start as hook the variable exists and it assumes the right value... if i use global_bootstrap_init_start ashook the variable is not set or visible and is NULL.
i used global_bootstrap_complete as hook, defined the var forumid global, and put the preregister in the same plugin and nowit works but that' s really an ugly workaround. if i use global_start all works perfectly without needs of global or preregister in the same plugin; with global_bootstrap_intit_start no way to make it work whatever i tried.
there isan equivalent hook for global_start cause the one suggested is not workingat all...........
Ty