XFileSharing Pro - After user registration I've got an error...

Message
Author
MrJones
Posts: 26
Joined: May 28, 2012 4:51 pm

After user registration I've got an error...

#1 Postby MrJones » Jun 07, 2012 6:19 pm

Hello

I made an account to test the registration process and i get this error .Everything is working ok but I want to change the error message
Image

How can i fix it?

Jesse202
Posts: 246
Joined: May 07, 2010 6:24 pm

#2 Postby Jesse202 » Jun 08, 2012 10:35 am

/cgi-bin/Languages/english.lng

line 420 or so. Just CTRL+F

MrJones
Posts: 26
Joined: May 28, 2012 4:51 pm

#3 Postby MrJones » Jun 13, 2012 3:20 pm

I want not to show an error when I make an account..not the message itself.It's weird to have an error message after you successfully created an account

stdio
Posts: 65
Joined: Mar 27, 2012 4:05 pm

#4 Postby stdio » Jun 14, 2012 1:06 am

1: Copy message.html to confirm.html. Change the "Error" message inside to "Success".
2: Open index.cgi and find the following line:

Code: Select all

$ses->message($ses->{lang}->{lang_account_created});

replace it with this:

Code: Select all

$ses->PrintTemplate('confirm.html', msg => $ses->{lang}->{lang_account_created});

That's it. :)

MrJones
Posts: 26
Joined: May 28, 2012 4:51 pm

#5 Postby MrJones » Jun 15, 2012 4:55 pm

stdio wrote:1: Copy message.html to confirm.html. Change the "Error" message inside to "Success".
2: Open index.cgi and find the following line:

Code: Select all

$ses->message($ses->{lang}->{lang_account_created});

replace it with this:

Code: Select all

$ses->PrintTemplate('confirm.html', msg => $ses->{lang}->{lang_account_created});

That's it. :)

thank you


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests