sinapars
Forum Replies Created
-
Hi @dpinson,
Thanks for following up on this
This problem has nothing to do with the email service provider
Internet is needed to connect to any mail server. Now imagine that our server does not have direct Internet and uses an HTTP proxy to connect to the Internet, and your plugin does not recognize that it must use the settings we put in the wp-config file for the Internet.
https://developer.wordpress.org/reference/classes/wp_http_proxy/BR
Hi @dpinson,
thanks for response
I’m using Other SMTP
Everything was working fine before the internet server went down, but after we enabled the proxy for internet access and put it in the wp-config file, all emails stopped sending, probably because the plugin You do not use the proxy defined in wp-config to connect to the Internet.BR
Hi Again,
We currently have no blacklists or whitelists for different addresses on the proxy and all internet networks are accessible.
When I want to manually update the firewall rules, it doesn’t work, and I think it’s because your plugin doesn’t support the proxy, and the traffic doesn’t pass through the proxy.BR
FYI:
I was able to solve the problem by making the following changes:
In This File:
betterdocs/includes/FrontEnd/TemplateTags.php > Line 317 and 318
Replace:$heading_name = preg_replace('/<[^<]+?>/', '', $matches[0]);With:
$heading_name = strip_tags($matches[0]);And Replace:
$heading_name = ! empty( $heading_name ) ? strtolower( str_replace( " ", '-', preg_replace('/<[^>]+>|[^a-zA-Z\s\d]+/', "", html_entity_decode( $heading_name ) ) ) ) : '';With:
$heading_name = !empty($heading_name) ? strtolower(str_replace(" ", '-', preg_replace('/[^\p{L}\p{N}\s]+/u', "", html_entity_decode($heading_name)))) : '';and In This File and directory:
betterdocs/includes/Shortcodes/ToC.php > Line 97 and 98Replece:
$heading_name = preg_replace( '/<[^<]+?>/', '', $current_title );with:
$heading_name = strip_tags('', $current_title );and replece:
$heading_name = ! empty( $heading_name ) ? strtolower( str_replace( " ", '-', preg_replace('/<[^>]+>|[^a-zA-Z\s\d]+/', "", html_entity_decode( $heading_name ) ) ) ) : '';with:
$heading_name = !empty($heading_name) ? strtolower(str_replace(" ", '-', preg_replace('/[^\p{L}\p{N}\s]+/u', "", html_entity_decode($heading_name)))) : '';Definitely, these changes in the final version need a more detailed technical review by your development and QC team
I tried my best to help you and solve this problem and I hope this information will help youBR
Hi Again @amitbarai013,
I hope you are doing well.With a more detailed investigation, I realized when exactly this problem occurs:
When the Show TOC Title in Anchor Links option is enabled!
If this option is off, everything works fine
screencast:
https://drive.google.com/file/d/1etcNr-WlNBwShIBMMDHoxXh77EWmlWmu/view?usp=drive_linkBR
Hi Again @amitbarai013
The problem has not been solved, but honestly, the reason why I did not take action through the link you sent was that I had nothing more to offer, and whatever it was, I raised it in this thread.
And the most important thing is that I have carefully checked the movies that you sent, even in those versions, the problem has not been solvedBR
Hi @amitbarai013,
The copy option is active and if you pay attention, the links are copied in the first video, but maybe you mean the second video. Yes, in the second video, there is this problem with the default theme (2024).
BR
Hi @amitbarai013,
Unfortunately, the problem was not solved
At the beginning of the video, I showed a part of the code that was changed to make sure that the version you sent is active and installed.
https://drive.google.com/file/d/1u7z3MpfHVHg6aBGD8oXjlXrJu4592auk/view?usp=drive_link
Just to make sure everything is correct, did you send me the correct copy? Because the version you sent me is 3.1.0 and the latest version is 3.2.0
And as I mentioned before and according to the video below, this feature is completely disabled in the default theme. Is it possible that these problems are related to me?default theme:
https://drive.google.com/file/d/1_Lpk0y2LLC5RAhlNPe9kxNArTKWe-k4x/view?usp=sharingBR
Hi @amitbarai013
First of all, I want to thank you for the professional and good support of your team
The problem of the print button was not very important and I said it only for your information and I am happy that it has been fixed in the next version
But unfortunately, the main problem was not solved 🙁
According to my review and comparison, I found that the following piece of code in the path below has been rewritten to solve this problem:betterdocs/includes/FrontEnd/TemplateTags.php > Line 333
get_permalink() Change to : urldecode(get_permalink())
but unfortunately, the problem was not solved either by replacing this piece of code or by replacing the entire plugin folder.BR
- This reply was modified 2 years, 7 months ago by sinapars.
And the next thing, which may not be bad, I will mention here
The print button is always displayed in the default theme (2024), even if it is disabled in the settingsHi @amitbarai013,
Thanks for response and send screen recorderi am not using WPML and create the Persian docs by default
please check this screen recorder:
https://drive.google.com/file/d/13p1_utgQaIq5RMHninT22NwEoaNiN3rP/view?usp=sharingIf you pay attention, the second title (سر تیتر دوم) didn’t work properly because its URL was similar to the first one
And the next point, when I change the themes to the default (2024), this function is completely disabled and even the copy button is not displayed:
https://drive.google.com/file/d/1_Lpk0y2LLC5RAhlNPe9kxNArTKWe-k4x/view?usp=sharingI disabled all the plugins I had and saved the Permalinks settings once, but the problem was not solved
BR
Hi Again @amin7,
Thanks for response
Can I add new items in this thread? Or should I open a separate topic for each?
It will be useful if you consider the addition of these items:
1.Add shortcodes for display:
The most viewed articles (by specifying the time, for example, the last 7 days or 1 month, etc)
Latest (Recent) articles (based on publication date)
last modified articles (based on the date of the last date)
Most popular articles (based on likes and by specifying the time, for example, the last 7 days or 1 month, etc)
And in all cases, we can manage the number of displayed articles2.In your plugin, under the search box, there is an option to display popular words searches by users
But the problem is that after years or months, most of the words will be repeated and not changes
I think it would be great if it was possible to specify a time period for displaying these words
For example, the most popular searches (in the last week or last month or…)Of course, we should still have the current option of displaying the popular words searched by users based on the number of searches, because it will be useful for sites with low traffic.
BR
Hi again @sadmansakibnadvi
I hope you are great
I reopened this topic for this reason because I realized that this problem still exists on the search for Instant Answer feature, and I also checked the code changes as if no changes were applied to the search for the Instant Answer feature.
Thank you for a more detailed reviewBR