[geeklog-devtalk] Adding a couple plugin functions

Turias geeklog at sebastiancelis.com
Fri Jun 25 20:48:07 EDT 2004


Hey everyone,

I recently began working on a plugin that needs to set and delete
cookies when the user logs in and out of GeekLog. Unfortunately, this
does not seem possible with the current GL code. I would like to
propose the following be added to the core:

1) The addition of the following plugin functions:

plugin_login_<plugin name>

and

plugin_logout_<plugin name>

These functions would return nothing.


2) A modification to users.php which would call the aforementioned
functions when a user logs in or out of the system.


I could code this up, as it would be pretty easy to do. What does
everyone think? Do people see any utility in this?

- Turias




More information about the geeklog-devtalk mailing list