Osclass Support Forums
Osclass theme support => Epsilon Osclass Theme => Topic started by: rooman 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
-
This is another problem
When editing an ad
and press send without checking recaptcha
is sending
A recaptcha alert message should appear
-
@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.
-
@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.
-
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
-
@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.
-
@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
<script> $("#contactPhone").attr("readonly",true); </script>
So it looks like this copy / paste:
<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>
-
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
-
For me it autofetch from profile.