Site maintenance: Sun 15 Nov, from 20:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Customization from the Admin / "Go away gooberbrain!"

"Go away gooberbrain!"

Locked

Started by thinknirmal on 10 Mar 2008, 2:35 AM · Views: 2,363

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
10 Mar 2008, 2:35 AM
#1
thinknirmal avatar

thinknirmal

New Zenner

Join Date:
Mar 2008
Posts:
27
Plugin Contributions:
1

"Go away gooberbrain!"

Hi folks,

If you are planning to give your client the access to the Admin area, you may need to consider this.

Assuming you have forgot your admin password, you will click the 'Reset Password' link. Then you will be asked for the admin email address. If you do not type anything here and click 'resend', a message will be displayed "Go away gooberbrain :-P "

Although funny, this may irritate some clients.

The line can be found in the file:
admin\includes\languages\english\password_forgotten.php

Search for the line

define('ERROR_WRONG_EMAIL_NULL', '<p>Go away gooberbrain :-P</p>');

and change to something like

define('ERROR_WRONG_EMAIL_NULL', '<p>Please enter a valid email address.</p>');

That's it!
Happy working! :smile:

10 Mar 2008, 4:17 AM
#2
mamasylvia avatar

mamasylvia

Zen Follower

Join Date:
Feb 2008
Posts:
379
Plugin Contributions:
0

Re: "Go away gooberbrain!"

LOL! Some programmer had had too much Diet Coke that night!

Sylvia
PM at your own risk, I don't check in regularly!
MamaSylvia.com My ZenCart tutorial

10 Mar 2008, 4:23 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: "Go away gooberbrain!"

LOL ... it's been like that for years ... and this is the first time anyone's every mentioned it!

Consider it an easter egg of sorts. It's usually only bots and hackers who trigger it ... in which case the message is fitting!

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.