![]() |
How do I make it so respondants can't change their email? When you respond to a seller's ad, the email address field is pre-populated, but can be changed. Is it possible to make that so you can't change it? |
You could make the change in bold here in contact.tmpl Code: Content visible to verified customers only. |
Thanks for the quick reply but, that did not change anything :( |
1 Attachment(s) In case it helps, I have attached a pic showing the area I am referencing. |
Hey snowbird, Which 'contact.tmpl' file are you editing? public_html/templates/contact.tmpl or public_html/templates/vb3enhanced/contact.tmpl If you have the latter I believe that is the one you should be editing with the change Chuck suggested. Give it a try...:) |
1 Attachment(s) Progress :) Thanks blankoboy But there is a problem in that it no creates a blank spot that will likely confuse users. (See attachment) I would like to have it displayed but so the user can not change it (sort of "hard coded"). If that is not possible, maybe I should just remove the "Your email address" alltogether? My motivation in doing this is that when I previously ran a classified ads script in this domain there were lots of scammers that tried to rip-off users. Giving the ability to change their email like that is only going to invite trouble. |
My pleasure..glad to be of some help! Try removing (or commenting out) this from the contact.tmpl. Quote:
|
Hmm. It seems that can't be commented out. If you do, and then try to contact seller, you get "You have entered an invalid email address, message not sent." So I am *guessing* that after commenting that block out you would have to insert the input tag somewhere outside the comment tags, but using hidden for type. |
You can not comment it out as its a value that needs to be passed. You can print $friendemail in there again just to show it. Try this Code: Content visible to verified customers only. |
Yes, I commented out what you suggested blankoboy, then I inserted the following code just after the commented out part, and it works. Thanks both of you. Quote:
|
I was typing at the same time as you Chuck. All's good. Thanks again. |
Slightly off topic..... I just noticed with all this testing that the email Subject Line that gets sent says "A message about your ad on". Is there a place to change that either in the cp or a template. I would like to change that to "A message about your ad posted at The Name Of The Site" |
change the string in your emails.php language file in the languages english directory ;) |
That string does not exist in my emails.php file. :confused: |
english.php in the languages directory then |
Yes, there it is. I see the line that says Code: Content visible to verified customers only. |
| All times are GMT -5. The time now is 11:49 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0