skarra Posted July 12, 2003 Share Posted July 12, 2003 This module will allow administrators to approve members before they have access to the shopping cart facilities. Customers will follow the usual signup routine, whereby on completion the site administrator receives an e-mail notifying that a new customer has signed up. The customer can then be approved or declined through the Administration panel. http://www.oscommerce.com/community/contri...ons,1339/page,4 A thanks to Steve Kemp who supplied me with the basis of this code a while ago. I have been knocking this together most of the afternoon so I am hoping there no mistakes in my haste to get something up. :lol: Dave Quote Link to comment Share on other sites More sharing options...
skarra Posted July 13, 2003 Author Share Posted July 13, 2003 The administration area for the customers awaiting approval now has the function to either approve/delete or e-mail the customer. :D Dave Quote Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2003 Share Posted August 6, 2003 This looks like a great contribution. Is it supposed to work with MS2? It looks like there are some differences. (if it doesnt, any hints?) Thanks, Walt Quote Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2003 Share Posted August 6, 2003 Someone help, please. Ive installed this contribution onto 2.2MS2. But there appears to be no create_account_process.php file in the new version of OSC. So, where the instructions said to modify create_account_process.php, I found similar code in create_account.php and made the modifications there. This doesnt appear to have worked. :) The following is the error I'm getting: A larger copy is located at http://www.mindfieldmedia.com/error/osc_error.jpg, just in case you cant read the above. It reads "Fatal error: Call to undefined function: tep_array_merge() in /home/***/public_html/catalog/admin/members.php on line 88 Does anything come to mind when looking at this? I can post the modified code, section by section if need be. There appears to be only two or three problem areas, but I'm not a great programmer (yet!) so I cant be sure. There may also be an issue with the login.php file, but one thing at a time. Thanks for any help! Walt[/url] Quote Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2003 Share Posted August 6, 2003 Hey, I found a post in the forums that the file tep_array_merge was renamed to 'array_merge'. So I went into members.php and changed two instances of the file to the new file name. Its too early to say everything is fixed, but Im no longer getting the error posted above. Now to play around with this and try to break it again. Walt Quote Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2003 Share Posted August 6, 2003 I can create accounts and activate them through the admin. Works great! However, right after signing up, I think this is supposed to return me to the main page, but not log me in. Right? The problem is that it doesnt do this. Im logged in when I first sign up and I can order stuff. Everything else seems to be functioning. Once you log OUT, you cant log back in with your password until its approved through the admin. Ideas? (or am I just talking to myself?) Walt Quote Link to comment Share on other sites More sharing options...
Nefermet Posted February 15, 2005 Share Posted February 15, 2005 Hi all, I'm using the member approval mod by David beck, but I'm having a mare of a time trying to get it working. Basically followed the instructions to the letter, but when a new user tries to sign up they just get a blank page instead of the signup form. The rest of the mod works fine. I've done something wrong here, I just can't figure it out! As well as the approval mod, I also have the login code on all relevant pages, so people can't view any products unless they login. Please help!! Quote Link to comment Share on other sites More sharing options...
dollyhudnall Posted June 23, 2006 Share Posted June 23, 2006 I have tried adding this mod (Member Approval 1.5). Followed instructions to the T and now can even log in to the admin area. Not sure where to go from here. Can someone help with fix? Warning: main(includes/classes/navigation_history.php): failed to open stream: No such file or directory in /home/****/public_html/catalog/admin/includes/application_top.php on line 126 Warning: main(includes/classes/navigation_history.php): failed to open stream: No such file or directory in /home/****/public_html/catalog/admin/includes/application_top.php on line 126 Warning: main(includes/classes/navigation_history.php): failed to open stream: No such file or directory in /home/****/public_html/catalog/admin/includes/application_top.php on line 126 Fatal error: main(): Failed opening required 'includes/classes/navigation_history.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/******/public_html/catalog/admin/includes/application_top.php on line 126 The file is there. I checked! my luck it will probably something really stupid easy to fix! :-" none of the file changes have anything to do with navigation_history.php Ask any questions that may help. Thanks in advance dolly Quote Link to comment Share on other sites More sharing options...
dollyhudnall Posted June 23, 2006 Share Posted June 23, 2006 I removed the member approval hack and I am still getting the error. :angry: I used winmerge to compare the application top file with another from a site with the same program. There was a big difference. I told you it would be something simple stupid. :-" I uploaded the catalog/includes/application_top.php file over the catalog/admin/includes/application_top.php all better now!!! :lol: thanks anyway! :thumbsup: Quote Link to comment Share on other sites More sharing options...
perplex Posted April 8, 2007 Share Posted April 8, 2007 Great Contribution !!! Thank you. The only thing missing is perhaps something to deactivate there account. :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.