You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 553 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Approve Membership Module
Moduleschris writes ""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."
Posted on Sunday, August 03 @ 00:58:56 CEST by [RETIRED]Raven
 
Related Links
· More about Modules
· News by [RETIRED]Raven


Most read story about Modules:
MS-Analysis v1.1 Released

Article Rating
Average Score: 5
Votes: 1


Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


Options

 Printer Friendly Page  Printer Friendly Page

 Send to a Friend  Send to a Friend

Threshold
The comments are owned by the poster. We aren't responsible for their content.

No Comments Allowed for Anonymous, please register

Re: Approve Membership Module (Score: 1)
by TA2001 on Tuesday, August 05 @ 13:58:15 CEST
(User Info | Send a Message)
I was able to get this to work with a few mods for
nuke 6.7

had problems with the sql script : here is my answer


# phpMyAdmin MySQL-Dump
# version 2.3.0-rc4
# http://phpwizard.net/phpMyAdmin/
# http://www.phpmyadmin.net/ (download page)
#
# Host: localhost
# Generation Time: Aug 05, 2003 at 12:53 PM
# Server version: 3.22.32
# PHP Version: 4.2.3
# Database : nuke67
# --------------------------------------------------------

#
# Table structure for table nuke_pendingusers
#

CREATE TABLE nuke_pendingusers (
user_id int(10) DEFAULT '0' NOT NULL auto_increment,
username char(25) NOT NULL,
user_email char(255) NOT NULL,
user_password char(40) NOT NULL,
user_regdate char(20) NOT NULL,
check_num char(50) NOT NULL,
usertime char(14) NOT NULL,
PRIMARY KEY (user_id)
);


a change to exsiting table




# Table structure for table nuke_users_temp
#

CREATE TABLE nuke_users_temp (
user_id int(10) DEFAULT '0' NOT NULL auto_increment,
username varchar(25) NOT NULL,
user_email varchar(255) NOT NULL,
user_password varchar(40) NOT NULL,
user_regdate varchar(20) NOT NULL,
check_num varchar(50) NOT NULL,
usertime varchar(14) NOT NULL,
PRIMARY KEY (user_id)
);


in the Approval code I changed anything using the field time
to usertime to match the database code..
( lookfor db inserts )..

Thanks for the help..
Regards
Tmoore







Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.100 Seconds - 196 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::