Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Latest Addons
Xbox Leaderboards 7
Cookiebar Panel 72
AD Gallery 151
SyntaxHighlighte... 63
Newsletters v4.03 168
Facebook Like Box 204
Newsletters v4.02 79
Metro 236
Facebook Connect 215
Shoutbox Panel 185
Redactor for PHP... 127
MI Floating Side... 132
Facebook Login/R... 180
Avatar Studio v2.03 215
Relationship Sta... 123
Popular Addons
iTheme2 5910
Arise 5871
User Control v1.23 4682
Event Calendar 4133
Photowidget panel 3923
Radio-Theme red2... 3395
Highslide Gallery 3361
CSS/JavaScript D... 3277
Facebook Connect... 3056
Dynamic Menu 2947
Slideshow Lightb... 2770
L-AMANT 2689
Enigma 2671
2Dark 2625
Black 2619
View Thread
Who is here? 1 guest(s)
 Print Thread
Registering
Gary Littlemore
Hi

If when registering the user doesn't click the validation link in the email and deletes it, is there anythere where system administartors can pick these accounts up to approve or reject. Am I able to even see what's awaiting to be verified be the user?

Gary
 
SiteMaster
try this http://basti2web....hp?did=145
Edited by SiteMaster on 03-04-2010 11:08
If i have touched it, it's W3C Valid
 
www.sitemaster.dk
Gary Littlemore
You are the Man, give yourself a huge pat on the back. Thanks
 
SiteMaster
no problem

remember if no action is taken within 24 hours they will be automatically deleted
If i have touched it, it's W3C Valid
 
www.sitemaster.dk
offenbach
You could also use this code in a element.

if (checkrights("M")) {
if (defined("iAUTH") && isset($_GET['aid']) && $_GET['aid'] == iAUTH) {
if (!isset($_GET['step'])) { $_GET['step'] = ""; }
if ($_GET['step'] == "activate") {
$result = dbquery("UPDATE ".DB_USERS." SET user_status = '0' WHERE user_status='2' AND user_id='".$_GET['user_id']."'");
redirect("index.php");
} else {
if ($_GET['step'] == "delete") {
$result = dbquery("DELETE FROM ".DB_USERS." WHERE user_id='".$_GET['user_id']."'");
redirect("index.php");
}
}
}

$result = dbquery("SELECT * FROM ".DB_USERS." WHERE user_status='2'");
if (dbrows($result)) {
openside($locale['global_015']);
$tab="<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
$tab .= "<tr><td align='left'>";
$tab .= "<div title='E-mail: ".$data['user_email']."'>".$data['user_name']."</div>";
$tab .= "</td><td align='right'>";

$tab .= "<a href='http://www.db.ripe.net/whois?form_type=simple&amp;full_query_string=&amp;searchtext=".$data['user_ip']."' target='_space'>";
$tab .= "<img src='".IMAGES."/icons/star.png' border='0' alt='Check Users IP Adress ".$data['user_ip']."' title='Check Users IP Adress ".$data['user_ip']."' /></a>";

$tab .= "&nbsp<a href='".BASEDIR.$settings['opening_page'].$aidlink."&amp;step=activate&amp;user_id=".$data['user_id']."'>";
$tab .= "<img src='".IMAGES."/icons/greentick.png' border='0' alt='Activate User' title='Activate User' /></a>";

$tab .= "&nbsp<a href='".BASEDIR.$settings['opening_page'].$aidlink."&amp;step=delete&amp;user_id=".$data['user_id']."'>";
$tab .= "<img src='".IMAGES."/icons/trashcan.png' border='0' alt='Delete User' title='Delete User' /></a>";

$tab .= "</td></tr>";
}
$tab .= "</table>";
echo $tab;
closeside();
}
}


The panel are only visibel when new user has to be activated and only for admins

Get the icons for this element HERE

original code
http://phpfusion....d_id=16410
phpfusion-freak.dk
Host: Servage
750GB Web Space + 75 GB extra if you click HERE
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
prohibit email domain from registering Ideas for Modifications and Requests 8 19-09-2012 19:13
Profile.php, when registering writing not correct captcha Panels and Infusions 2 05-06-2012 23:35
Registering by (UTF-8) ? System Administration 9 21-11-2010 10:34
Registering Installation Issues 6 22-03-2010 17:53
Registering, forum and photoalbum"problem" System Administration 1 01-08-2009 09:26
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel byVenue