Manual removal of email field/suggestion #63
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/tinyib#63
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi, i was just trying to make the form a bit simpler, so i removed the email field. It works in flatfile mode. My question is, would it be possible to ad the option in settings.php to remove the name, email, subject or password fields safely? What i mean by safe is that i removed it and it works in flatfile mode but im not sure if it would mess up database mode.
here is exactly what i i removed-
///////////////////////////////////////////////////////////////////////////////////
1)html.php lines 214, 215, 216, 217 218, 219 and 220 removed
E-mail
post['email'] = cleanString(str_replace('"', '"', substr(
_POST['email'], 0, 75)));///////////////////////////////////////////////////////////////////////////////////////////////////
So i wonder if that would screw up database mode or anything? It seems to work in flatfile as far as i can tell without causing errors. Just an ideal, even if you do not want to ad the option to remove the fields in
settings.php, you could put it in the readme, like the text above on how i removed the email field. I do not know if it is safe to remove the lines that i did though, i dont want to cause server errors or end up crashing the server. If you think it could cause memory issues or whatever removing the email field, please let me know and i will just stop messing with it. Thank you very much!
Thanks for the suggestion, I've added two new settings:
TINYIB_HIDEFIELDSOP
andTINYIB_HIDEFIELDS
.closed