Jump to content

Okay, 1 more and hopefully last problem...(sorry)


Brudus

Recommended Posts

Okay, still having problems with the final activation for newly registered users.. the email link is either taking them to the wrong activation site or something else is wrong. Frosty kindly pointed me in the right direction with telling me to find where op=activate, i did that, looked at it, not sure what im missing.. also, im not quite certain that phpnuke is pointing the verification code in the right direction.. not sure how to get into the phpnuke settings, i looked all over  :-\  any help would be awesome.

 

You can see where op=activate on the 6th line down.

 

mt_srand ((double)microtime()*1000000);
	$maxran = 1000000;
	$check_num = mt_rand(0, $maxran);
	$check_num = md5($check_num);
	$time = time();
	$finishlink = "$nukeurl/modules.php?name=$module_name&op=activate&username=$username&check_num=$check_num";
	$new_password = md5($user_password);
	$username = check_html($username, nohtml);
	$user_email = check_html($user_email, nohtml);
	$result = $db->sql_query("INSERT INTO ".$user_prefix."_users_temp (user_id, username, user_email, user_password, user_regdate, check_num, time) VALUES (NULL, '$username', '$user_email', '$new_password', '$user_regdate', '$check_num', '$time')");
	if(!$result) {

no, nukeurl wasnt to where i wanted it.. i basically edited that one file to point where i want until i can figure out where i can set nukeurl to be what i want it to be across all the files.. Thanks frost, it helped alot! I got the activation to work at least, now to find where nukeurl main change is at.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.