Approve Membership Module
Date: Sunday, August 03 @ 00:58:56 CEST
Topic: Modules


"Approve Membership" is a replacement of the "Your Account" module for PHP-Nuke 6.5. It allows an administrator to approve membership applications. It was written by Ken Arnold and set under the GPL for you to enjoy. You are invited to Download Approve Membership or discuss about it in a dedicated thread to authorizing accounts in PHP-Nuke. No registration required for the download. Click on "more" to see the README file.

The applicant's details are sent to a pendingusers table and a notification email is sent to the administrator. A list of pending applicants is displayed to the administrator, who can delete or approve as he thinks fit. On approval, the normal email is sent to the applicant with the activation link. The option is available to send an email to a rejected applicant. This email is customisable.

To install, keep the directory structure supplied. i.e the contents of the supplied folders go in the same folder in your PHP-Nuke 6.5 application. The original index.php is retained in the Your_Account folder as indexbak.php. The original Language folder is retained as Languagebak.

Replace the entire Your_Account folder with the one supplied.

Run SQL queries using the two sql files. You can use PHPMyAdmin or whatever your host supplies. This will add the tables to the database. Change the rejection message to suit your circumstances.

The sql files for the pendingusers and stdemail tables assume that you have "nuke" as the prefix. If this is not the case, you will have to change the prefix yourself. Any problems....contact me at xxxx@xxxxxxx.

IF you are upgrading from an earlier version, just replace the Your_Account and Approve_Membership folders with the new ones and run the sql file to add the stdemail table. Everything else is the same as before.

This module has been tested on PHP-Nuke 6.5 only and hasnt yet been used with any other versions. If it works with later versions, please let me know.





This article comes from NukeCops
http://www.nukecops.com

The URL for this story is:
http://www.nukecops.com/modules.php?name=News&file=article&sid=435