On Thu, 24 Aug 2000, you wrote:
> No, there is no submit button, that's the point. The process is not
> interactive it just runs the first time the user logges in (using
> $just_logged_in in an if statement). I us the hook do_hook
> I've used the guts of the plugin as a patch in the right_main.php after
> that hook and it works just fine.
Sounds to me like you have found a situation for which the plugin architecture
can't be used. Unless the vars you are trying to pass are stored in SESSIONID
or some other globally available var or array you won't be able to retrieve
them unless you specifically pass them. That is why it works when you put them
in the page. The vars are already there and set.
Right now the only vars stored in the SESSIONID are message related I think.
Stuff like subject, to, message. Stuff like that. I could be wrong but the fact
still remains that unless some code is put in the source to help you out your
not going to be able to do what you want. Is there any way to attach your
plugin to wherever the other if statments sends the user to? The situation for
redirection or whatever should be the same right? Maybe the vars your looking
for will be there?
Probably hasn't be helpfull, but hey, at least you got to watch that newmail
plugin go off again!
4309 Maple St.
Abilene, TX 79602