From: Tony M. <to...@ht...> - 2005-04-02 02:45:16
|
I love phpwebsite, but in the past couple of years I have been annoyed by one problem in the implementation of the approval module. You never know when an approval is pending. I had created a small crontabbed program to send an e-mail once a day when an approval was needed but I thought there must be a better way. I finally got off my duff and hacked the functionality into the user module. What my "fix" does is place a link on the menu that is displayed after you log in that says: "Approvals Pending" and links to the approval module when: 1. A new setting in the user manager saying "show pending approvals" is checked. 2. You have authority to do approvals. 3. There are approvals pending. The patch has been uploaded to the patch manager on sourceforge (against 0.10.1) at: http://sourceforge.net/tracker/index.php?func=detail&aid=1175176&group_id=15539&atid=315539 (Watch the wrap). The only thing to look out for is the version numbers I had to change to test it, both in boost.php and upgrade.php. -Tony -- Hometown Enterprises Internet Services Professional, affordable web design and hosting. http://www.hteis.com/ |