Home arrow Forum
Member Aproval
  Welcome, Guest. Please login or register.
December 03, 2008, 06:37:49 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Integration 1.2.0 Support  |  Topic: Member Aproval « previous next »
Pages: [1] Go Down Print
Author Topic: Member Aproval  (Read 3756 times)
Stray
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Member Aproval
« on: April 06, 2005, 10:40:59 AM »

Hey Folks, I'm having trouble figuring out how to do Member Aproval, I have set it as required in SMF, is there something I need to do to set it in Mambo?

I'm recovering from a hacked phpBB board and so I want to make sure I have direct control over deciding on new members.

Thanks in advance..

SMF Version: 1.0.3
SMF-Mambo Integration 1.20b3
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Member Aproval
« Reply #1 on: April 07, 2005, 12:00:38 AM »

Can you try going to Global config, then set "Use New Account Activation:" to No.

If that works, set SMF registration to No. And make sure that noone can go directly to the main SMF url.
Logged
Stray
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Member Aproval
« Reply #2 on: April 07, 2005, 12:51:44 AM »

Can you try going to Global config, then set "Use New Account Activation:" to No.

If that works, set SMF registration to No. And make sure that noone can go directly to the main SMF url.

I'm not sure I follow you by making sure that no one can go directly to the main SMF url. How would I block it and drive them through registration.  My goal is just to moderate registrations for a little while and then go back to activation mode.  I was able to set "Use New Account Activation:" to No.  Thanks for the response!
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Member Aproval
« Reply #3 on: April 07, 2005, 01:22:42 AM »

Now i'm not sure if this is exaclty what's gonna happen. When a member register, they will be added to Mambo and you would need to approve them from Mambo only. If SMF registration is turned off, the members are added there too and it will be automatically activated. So you need to redirect members to your frontpage if they will directly go to your SMF url (e.g.: yoursite.com/forum). This will prevent them logging in to SMF. You need to test this though.

To redirect them to your frontpage... put this in the beginning of your SMF index.php.

Code:
<?php
if (strpos($_SERVER['QUERY_STRING'], 'dlattach') === false) {
    
defined('_VALID_MOS') or header("Location: http://www.yoursite.com");
}
?>
Logged
lawman
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 25


View Profile
Re: Member Aproval
« Reply #4 on: April 08, 2005, 07:51:37 AM »

I'm not sure I follow you by making sure that no one can go directly to the main SMF url. How would I block it and drive them through registration.

Add the code as admin said or if you have CPANELl as your admin panel for your site just click on the redirect button and fill in the info.
Logged
Pages: [1] Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Integration 1.2.0 Support  |  Topic: Member Aproval « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved.
TERMS OF USE