| Author |
Message |
christianb Worker


Joined: Nov 24, 2004 Posts: 131 Location: Batesville, AR
|
Posted:
Fri Jul 01, 2005 6:27 pm |
|
|
|
 |
CurtisH Life Cycles Becoming CPU Cycles

Joined: Mar 15, 2004 Posts: 638 Location: West Branch, MI
|
Posted:
Fri Jul 01, 2005 7:07 pm |
|
Ok I modded the file for you. |
|
|
|
 |
christianb Worker


Joined: Nov 24, 2004 Posts: 131 Location: Batesville, AR
|
Posted:
Fri Jul 01, 2005 7:58 pm |
|
The first part (edit user) works great.
The second part - that was changed - takes me to a white page and says "Done" lol |
|
|
|
 |
CurtisH Life Cycles Becoming CPU Cycles

Joined: Mar 15, 2004 Posts: 638 Location: West Branch, MI
|
Posted:
Fri Jul 01, 2005 8:01 pm |
|
Like I said, it doesn't work on some of the newer versions. Sorry.  |
|
|
|
 |
christianb Worker


Joined: Nov 24, 2004 Posts: 131 Location: Batesville, AR
|
Posted:
Fri Jul 01, 2005 8:10 pm |
|
I've got an idea - gonna play with it.
Here's where I'm going with it:
| Code: | case "new_user":
if (is_user($user)) {
mmain($user);
} else {
if ($ya_config['allowuserreg']==0) {
if ($ya_config['coppa'] == intval(1)) {
if($_POST['coppa_yes']!= intval(1)) {
include("modules/$module_name/public/ya_coppa.php");
exit;
}
}
if ($ya_config['tos'] == intval(1)) {
if($_POST['tos_yes'] != intval(1)) {
include("modules/$module_name/public/ya_tos.php");
exit;
}
}
if ($ya_config['coppa'] !== intval(1) OR $ya_config['coppa'] == intval(1) AND $_POST['coppa_yes'] = intval(1)){
if ($ya_config['tos'] !== intval(1) OR $ya_config['tos'] == intval(1) AND $_POST['tos_yes']=intval(1)){
if ($ya_config['requireadmin'] == 1) {
include("modules/$module_name/public/new_user1.php");
} elseif ($ya_config['requireadmin'] == 0 AND $ya_config['useactivate'] == 0) {
//Header("url=forums.html&file=profile&mode=register");
include("modules/$module_name/public/new_user2.php");
} elseif ($ya_config['requireadmin'] == 0 AND $ya_config['useactivate'] == 1) {
include("modules/$module_name/public/new_user3.php");
}
}
}
}else {
disabled();
}
}
break; |
|
|
|
|
 |
christianb Worker


Joined: Nov 24, 2004 Posts: 131 Location: Batesville, AR
|
Posted:
Fri Jul 01, 2005 8:41 pm |
|
I believe I fixed the issue. Instead of using the //Header (removing the //), I changed the new_user2.php to new_user3.php. All I need to do is edit a couple of lines and it is practically what I am after in the first place. Thanks for your help. |
|
|
|
 |
|
|
|
|