"Activation expired...
 
Notifications
Clear all

"Activation expired" message

5 Posts
2 Users
0 Reactions
892 Views
(@hsilva)
Posts: 22
Eminent Member
Topic starter
 

Hi!

When registering a new account and clicking on the activation link, the message that appears in the browser is: "Activation expired", despite which the registration is activated successfully. What can I do to make the message appear correct ("the account has been activated" or something). (stiill Combu 2).

Thank you in advance!

 
Posted : 09/06/2017 8:41 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

The very first time you click the link and the activation code is valid and account was successfully updated then it's displayed "Your account has been activated, you can now login", if the activation code was not correct or the account update failed then it returns "Activation failed or expired".

If you click the link any more time after the first successful visit then it returns "Activation expired" because the activation code was automatically removed from the account record after the first update success.

I tried right now and it seems to work like this, that is as intended.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 10/06/2017 1:02 am
(@hsilva)
Posts: 22
Eminent Member
Topic starter
 

Thanks for your answer.

If I want to change these messages (change to another language, for example) which file should I edit?

 
Posted : 10/06/2017 1:23 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

activation.php it's fewer than 20 lines of code and you'll see the messages there as strings.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 10/06/2017 3:44 am
(@hsilva)
Posts: 22
Eminent Member
Topic starter
 

I was able to change the messages without problem. Thank you!

 
Posted : 10/06/2017 5:04 am
Share: