Brudus Posted March 23, 2007 Share Posted March 23, 2007 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) { Link to comment https://forums.phpfreaks.com/topic/43983-okay-1-more-and-hopefully-last-problemsorry/ Share on other sites More sharing options...
per1os Posted March 23, 2007 Share Posted March 23, 2007 Can you post an example email, and are you sure the $nukeurl is pointing to your server? Link to comment https://forums.phpfreaks.com/topic/43983-okay-1-more-and-hopefully-last-problemsorry/#findComment-213540 Share on other sites More sharing options...
Brudus Posted March 23, 2007 Author Share Posted March 23, 2007 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. Link to comment https://forums.phpfreaks.com/topic/43983-okay-1-more-and-hopefully-last-problemsorry/#findComment-213585 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.