*

oscman

  • ****
  • 227 posts
Remove user name,email and phone on contact item
« on: March 13, 2017, 06:05:09 AM »
How can we remove the forms for username email and phone on item contact? i tried removing the code but it was saying error, those fields are missing.
Currently any registered user can type wherever name email and phone comes to his mind and send message to seller.
Wouldn't it much better if those fields was filled in from loged in user account?

*

MB Themes

Re: Remove user name,email and phone on contact item
« Reply #1 on: March 13, 2017, 07:47:58 AM »
@oscman
It depends in what way you use IM plugin.
If you have replaced contact seller functionality, theme should prepare those fields.
It can be set as required via JavaScript.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oscman

  • ****
  • 227 posts
Re: Remove user name,email and phone on contact item
« Reply #2 on: March 13, 2017, 05:32:31 PM »
I didn't hook it, i am using the default contact form that is in veronika theme.
i have only registered users posting listings and contacting, if its required to be loged in there is no point on name and email fields to be there as it will take them from user profile anyway

*

oscman

  • ****
  • 227 posts
Re: Remove user name,email and phone on contact item
« Reply #3 on: March 13, 2017, 05:38:45 PM »
Also there is a bug in this form, if i scroll down in listing to contact and add attachment it is not sending, only the message gets to the seller

*

MB Themes

Re: Remove user name,email and phone on contact item
« Reply #4 on: March 13, 2017, 07:17:37 PM »
@oscman
This is managed by osclass core. Last time I have tested it, it worked.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

oscman

  • ****
  • 227 posts
Re: Remove user name,email and phone on contact item
« Reply #5 on: March 14, 2017, 04:48:26 AM »
it uses messenger contact form, the message is send to user inbox but not the attachment try it on demo.

Quote
i have only registered users posting listings and contacting, if its required to be loged in there is no point on name and email fields to be there as it will take them from user profile anyway
How can i remove those fields for loged in users or make them not editable?

*

MB Themes

Re: Remove user name,email and phone on contact item
« Reply #6 on: March 14, 2017, 07:48:16 AM »
@oscman
You can do it in item.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots