Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
fistfight
New Member
New Member



Joined: Nov 03, 2008
Posts: 14

PostPosted: Thu Mar 06, 2014 6:06 pm Reply with quote

I'm running a fresh install of RN 2.51 and during testing the site I'm not able to register a new user with email activation successfully.

After registration the email is sent out and this is what I get.

Welcome to $sitename!

You or someone else has used your email account(don@ufclansite.net) to register an account at United Forces

To finish the registration process you should visit the following link in the next 24 hours to activate your user account, otherwise the information will be automatically deleted by the system and you should apply again:
[ Only registered users can see links on this board! Get registered or login! ]

Following is the member information:

-Nickname:Test
-Password:XXXXXXX





After clicking the link the activation fails wit this error...





New User Activation Error

Please be sure all entered information is correct or apply for a new account here.



Any help you can provide would be great!


Thanks



Edit: Oh and I changed the numbers to XXXX. the email didnt come that way. Smile
 
View user's profile Send private message
fistfight







PostPosted: Thu Mar 06, 2014 6:14 pm Reply with quote

I found the problem

If you look at the link in the email [ Only registered users can see links on this board! Get registered or login! ]amp;check_num=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

There is an amp; after the Test& and before the check_num

Test&check_num

I removed the amp; and used that and the registration completed.

I'm going to look through the scripts to see if I can find where that's coming from. If you know please post it.
 
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1548

PostPosted: Fri Mar 07, 2014 9:36 am Reply with quote

It seems you have found a typo-bug in the Recend_Email module because only there is the wrong typed activation link.

open modules/Recend_Email/index.php and find:

php Code:
$finishlink = $nukeurl.'/modules.php?name=Your_Account&op=activate&username='.$username.'&check_num='.$check_num;


change it to:

php Code:
$finishlink = $nukeurl.'/modules.php?name=Your_Account&op=activate&username='.$username.'&check_num='.$check_num;


This issue exist in RavenNuke 2.5.0 and 2.5.1!


In modules/Your_Account/public/new_finish.php is it correct:

php Code:
$message .= _TOFINISHUSER . "\r\n\r\n" . $nukeurl . '/modules.php?name=' . $module_name . '&op=activate&username=' . $ya_username . '&check_num=' . $check_num . "\r\n\r\n";


Wink

_________________
Github: RavenNuke 
View user's profile Send private message
fistfight







PostPosted: Fri Mar 07, 2014 10:15 am Reply with quote

Awesome! Thank you again.
 
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1015
Location: Netherland

PostPosted: Sat Mar 08, 2014 5:24 am Reply with quote

Thank u neralex. I was looking at yesterday night on "Your_Account" module but I coudn't find anything. I never thought it was gonna be in "Resend_Email". Good!

Looking further on line 171:

Code:
$finishlink = '<a href="'.$nukeurl.'/modules.php?name=Your_Account&amp;op=activate&amp;username='."$username".'&amp;check_num='.$check_num.'" target="_blank">'.$nukeurl.'/modules.php?name=Your_Account&amp;op=activate&amp;username='."$username".'&amp;check_num='.$check_num.'</a>';


Should we correct this one as well neralex?
 
View user's profile Send private message Visit poster's website
neralex







PostPosted: Sat Mar 08, 2014 6:33 am Reply with quote

Nope!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©