I've always been skeptical to insert extra fields into my DB, I refuse to do it because I don't want the headache of upgrading and having to worry about customizations.
I've literally modified all plugins to use defines instead of SQL entries. It just avoids complications and allows me to sleep at night.
That being said
I noticed that Customers Nick field is, completely useless to me in its original usage, and I'd like to put it to some good use. I want to use the Nick field for customers to be able to put more information about their business. GST Number for example, P.O. Box, Company registration details - anything they want that should appear on the invoice.
The customers nick, being a 96-character field is looking especially handsome - I want to use it.
Has anyone managed this? Looking at the code there are some serious issues from what I can see.
Firstly, it's a required field.
Secondly, it's tied to MyBB being enabled, which is easily by-passable by simply editing out some if statements here and there.
My thoughts are, if I was to leave PHP linkage disabled, and then comment out: if ($phpBB->phpBB['installed'] == true) { ### }
in tpl_modules_create_account.php - would I have to worry about anything being executed on behalf of the nick? I don't want it to execute any of the code pertaining to phpbb - so I assume leaving it disabled would avoid it executing things such as: if ($phpBB && $phpBB->phpBB['installed'] == true) { ### } that's in modules/create_account.php.
Obviously, I would have to start coding into the order/invoice sections code to echo the nick in a manner I would like.
And I have no intention of allowing them to edit this information by themselves once they've signed up with it, once they've put it in, it's done. Only I can change it, only I will change it manually, at their request.
Perhaps there is some other way. I noticed the cc_type, cc_owner and cc_number fields that are practically unique to each order, could perhaps be better than using the nick field. A customer could for example have different companies, giving them the opportunity to re-enter these fields for each order placed. And I understand cc_type,name,number are practically useless now what with PAS and so on? To be honest, I would prefer the customer being able to enter these every time, it would be practical and less of a headache in the long-run.
Any info would be awesome thanks :)
Bookmarks