It sounds like you went way beyond this, but did you know that there
*IS* an E-mail notification sent by the system already?
The "User Email Contact" in the "User Administration" -> "Settings"
screen will automatically be sent a notification anytime a new approval
is waiting in the system.
As I said, though, it sounds like you went way beyond that anyway, but I
just wanted to make sure you knew.
Greg
On Fri, 2005-04-01 at 21:44 -0500, Tony Miller wrote:
> I love phpwebsite, but in the past couple of years I have been annoyed by=
=20
> one problem in the implementation of the approval module. You never know=
=20
> when an approval is pending.
>=20
> I had created a small crontabbed program to send an e-mail once a day whe=
n=20
> an approval was needed but I thought there must be a better way. I=20
> finally got off my duff and hacked the functionality into the user module=
.
>=20
> What my "fix" does is place a link on the menu that is displayed after yo=
u=20
> log in that says: "Approvals Pending" and links to the approval module=20
> when:
>=20
> 1. A new setting in the user manager saying "show pending approvals" is=20
> checked.
>=20
> 2. You have authority to do approvals.
>=20
> 3. There are approvals pending.
>=20
> The patch has been uploaded to the patch manager on sourceforge (against=20
> 0.10.1) at:
>=20
> http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1175176&grou=
p_id=3D15539&atid=3D315539
>=20
> (Watch the wrap).
>=20
> The only thing to look out for is the version numbers I had to change to=20
> test it, both in boost.php and upgrade.php.
>=20
> -Tony
>=20
|