*

rooman

  • ****
  • 223 posts
The problem of showing the advertiser's number in the ad
« on: July 10, 2022, 07:39:30 PM »
The problem of showing the advertiser's number in the ad
It is supposed to be on the Add Ad or Edit Ad page
The contact number cannot be edited from this page
It is supposed to be like an email, visible and not editable
Except from the profile page
The strange thing is that the contact number is written
Which connection is it mobile or phone?
Also when writing another number in the same correctness as adding or editing an advertisement
This number is added, but it is different from the contact or mobile number on the profile page
Even sometimes, despite the presence of a call and activating the addition of the contact number to the advertisement
Not shown (no contact number)
To avoid these problems, it is preferable that the contact number be the mobile only and can only be modified from the profile
Thank you
« Last Edit: July 10, 2022, 07:54:25 PM by rooman »

*

rooman

  • ****
  • 223 posts
Re: The problem of showing the advertiser's number in the ad
« Reply #1 on: July 10, 2022, 07:50:23 PM »
This is another problem
When editing an ad
and press send without checking recaptcha
is sending
A recaptcha alert message should appear

*

mwindey

  • *****
  • 467 posts
Re: The problem of showing the advertiser's number in the ad
« Reply #2 on: July 11, 2022, 12:07:33 AM »
@rooman

What is the use of recaptcha for already logged users with an account editing a listing??  :-\ I'm not using it because it only makes users bored from using your website with only clicking here and there.

*

bemtele

  • ***
  • 97 posts
Re: The problem of showing the advertiser's number in the ad
« Reply #3 on: July 11, 2022, 01:32:47 AM »
@rooman

What is the use of recaptcha for already logged users with an account editing a listing??  :-\ I'm not using it because it only makes users bored from using your website with only clicking here and there.

Yes, what you said is true. On my site, only login users can post Ad therefore I see no reason to enable ReCaptcha for users posting Ads.

*

rooman

  • ****
  • 223 posts
Re: The problem of showing the advertiser's number in the ad
« Reply #4 on: July 11, 2022, 07:20:43 AM »
The problem of showing the advertiser's number in the ad
It is supposed to be on the Add Ad or Edit Ad page
The contact number cannot be edited from this page
It is supposed to be like an email, visible and not editable
Except from the profile page
The strange thing is that the contact number is written
Which connection is it mobile or phone?
Also when writing another number in the same correctness as adding or editing an advertisement
This number is added, but it is different from the contact or mobile number on the profile page
Even sometimes, despite the presence of a call and activating the addition of the contact number to the advertisement
Not shown (no contact number)
To avoid these problems, it is preferable that the contact number be the mobile only and can only be modified from the profile
Thank you

Each time an ad is added from the same user
You can enter a different number, this is a problem
The mobile number is supposed to be fixed for all ads
The difference is showing the number or not showing it
So that there is no manipulation by users

*

MB Themes

Re: The problem of showing the advertiser's number in the ad
« Reply #5 on: July 11, 2022, 11:05:12 AM »
@rooman
It is not problem, but feature.
If I am adding Listing A for myself and then my wife ask me to insert Listing B on behalf of her, I do not want to be bothered by people calling me and asking on wife stuffs, so I will put there her phone number.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 467 posts
Re: The problem of showing the advertiser's number in the ad
« Reply #6 on: July 11, 2022, 11:53:09 AM »
@rooman

Same thoughts as MB Themes here.... If my father wants to sell his car but doesn't know how to use the computer because he is already 80 years old and ask me to put it on the internet with his phone number because i don't want to answer all his potential buyers.
Anyway if you want to make the field readonly you can do it by adding in item-post.php

Code: [Select]
                  <script> $("#contactPhone").attr("readonly",true); </script>

So it looks like this copy / paste:

Code: [Select]
              <div class="row phone">
                <label for="phone"><?php _e('Phone Number''epsilon'); ?><?php if(strpos($required_fields'phone') !== false) { ?><span class="req">*</span><?php ?></label>
                <div class="input-box">
                  <?php if(method_exists('ItemForm''contact_phone_text')) { ?>
                    <?php ItemForm::contact_phone_text($prepare); ?>
                  <?php } else { ?>
                    <input type="tel" id="sPhone" name="sPhone" value="<?php echo $prepare['s_phone']; ?>" />
                  <?php ?>
                  <script> $("#contactPhone").attr("readonly",true); </script>
                </div>



*

rooman

  • ****
  • 223 posts
Re: The problem of showing the advertiser's number in the ad
« Reply #7 on: July 11, 2022, 12:49:09 PM »
thank you all
Yes, the method works
  But what I mean I want to fetch the caller's number from the profile
And add it automatically to the contact number to show it inside the ad
The problem is in the profile page mobile number
In the form of adding or modifying the phone number announcement
Here is the difference
The button to add the number inside the advertisement page only works with the phone number
With the mobile number on the profile
A message appears on the ad page, there is no number

*

MB Themes

Re: The problem of showing the advertiser's number in the ad
« Reply #8 on: July 11, 2022, 02:21:55 PM »
For me it autofetch from profile.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots