WPIntell

Source evidence

Convert HTML entities

Notification for Telegram · support · 2024-02-04T09:58:00+00:00

mixedsentiment
highseverity
0.94relevance
12replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 34 rows with source links

14.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
specon resolved
Hello, please convert HTML Entities to normal view. In woocommerce i recieve normal view: —— ITEMS —— 1 x Kharkiv – Stuttgart – 159.9 USD But in Telegram i recieve that with code – https://c2n.me/4kg1uCt Hi i created a product with your same name Kharkiv – Stuttgart try to order and the message i got back is well formatted no HTML .. https://ibb.co/zxt5SWm did you have the last version of the plugin ? in the first page of plugin options check : ( in my test its turned off ) Strip Html Tags in all notification messages if the switch is active, all notification messages will keep any HTML tags if present. if turned off (default and suggested) all html tags will be removed in the masseges. ( Telegram can’t render HTML ) This setting affects globally Let me know if you fix the problem !! Yes, version is latest, HTML tags turned off too 🙁 I can’t emulate the bug so i can’t help you from my side but if you can access by ftp your plugin directory you can go to /wp-content/plugins/notification-for-telegram/include/tnfunction.php and try to add at line 360 ( before the ” foreach ($users as $user) ” LOOP) this new line: $messaggio = html_entity_decode($messaggio, ENT_QUOTES, ‘UTF-8’); save the file to the server do your test and let me know if it works !! There has been a critical error on this website. Please check your site admin email inbox for instructions. Global error on site after i do that ))) I removed the string and site will works ok I dont knwo you php skills anyway did you copy all the line including th3 “;” at the end of the line : $messaggio = html_entity_decode($messaggio, ENT_QUOTES, ‘UTF-8’); I added the line i suggest you for testing with no Global errors https://c2n.me/4kgWpn0 There has been a critical error on this website. Error after i do this. After removing – site works OK. This reply was modified 2 years, 5 months ago by specon . Can you please give me the log of the error ” critical error ” its not enough for me to debug thx Heh, i enabled debug and see problem $messaggio = html_entity_decode($messaggio, ENT_QUOTES, ‘UTF-8’); ‘UTF-8’ your brackets are different $messaggio = html_entity_decode($messaggio, ENT_QUOTES, ‘UTF-8’); Correct and work. What now? And a couple of future problems are still visible: [17-Feb-2024 07:15:37 UTC] PHP Deprecated: Creation of dynamic property nftb_TelegramNotify::$telegram_notify_option is deprecated in /home/admin/web/multibus24.com/public_html/wp-content/plugins/notification-for-telegram/include/nftb_optionpage.php on line 35 [17-Feb-2024 07:15:37 UTC] PHP Deprecated: Creation of dynamic property nftb_TelegramNotify::$telegram_notify_option is deprecated in /home/admin/web/multibus24.com/public_html/wp-content/plugins/notification-for-telegram/include/nftb_optionpage.php on line 35 Disable Debug … to hide de warnings … they are not errors just warnings !! So please confirm WE fix the Convert HTML entities problem with The line: $messaggio = html_entity_decode($messaggio, ENT_QUOTES, ‘UTF-8’); I insert the $messaggio = html_entity_decode($messaggio, ENT_QUOTES, ‘UTF-8’); in the last update 3.3.1 Im tested and now all is ok, thank you!

Comments

12 shown
rainafarai 2024-02-05T16:25:00+00:00

Hi i created a product with your same name Kharkiv – Stuttgart try to order and the message i got back is well formatted no HTML .. https://ibb.co/zxt5SWm did you have the last version of the plugin ? in the first page of plugin options check : ( in my test its turned off ) Strip Html Tags in all notification messages if the switch is active, all notification messages will keep any HTML tags if present. if turned off (default and suggested) all html tags will be removed in the masseges. ( Telegram can’t render HTML ) This setting affects globally Let me know if you fix the problem !!

specon 2024-02-05T20:33:00+00:00

Yes, version is latest, HTML tags turned off too 🙁

rainafarai 2024-02-05T21:13:00+00:00

I can’t emulate the bug so i can’t help you from my side but if you can access by ftp your plugin directory you can go to /wp-content/plugins/notification-for-telegram/include/tnfunction.php and try to add at line 360 ( before the ” foreach ($users as $user) ” LOOP) this new line: $messaggio = html_entity_decode($messaggio, ENT_QUOTES, ‘UTF-8’); save the file to the server do your test and let me know if it works !!

specon 2024-02-06T07:44:00+00:00

There has been a critical error on this website. Please check your site admin email inbox for instructions. Global error on site after i do that ))) I removed the string and site will works ok

rainafarai 2024-02-06T10:43:00+00:00

I dont knwo you php skills anyway did you copy all the line including th3 “;” at the end of the line : $messaggio = html_entity_decode($messaggio, ENT_QUOTES, ‘UTF-8’); I added the line i suggest you for testing with no Global errors

specon 2024-02-06T12:34:00+00:00

https://c2n.me/4kgWpn0 There has been a critical error on this website. Error after i do this. After removing – site works OK. This reply was modified 2 years, 5 months ago by specon .

rainafarai 2024-02-16T16:34:00+00:00

Can you please give me the log of the error ” critical error ” its not enough for me to debug thx

specon 2024-02-17T07:18:00+00:00

Heh, i enabled debug and see problem $messaggio = html_entity_decode($messaggio, ENT_QUOTES, ‘UTF-8’); ‘UTF-8’ your brackets are different

specon 2024-02-17T07:20:00+00:00

$messaggio = html_entity_decode($messaggio, ENT_QUOTES, ‘UTF-8’); Correct and work. What now? And a couple of future problems are still visible: [17-Feb-2024 07:15:37 UTC] PHP Deprecated: Creation of dynamic property nftb_TelegramNotify::$telegram_notify_option is deprecated in /home/admin/web/multibus24.com/public_html/wp-content/plugins/notification-for-telegram/include/nftb_optionpage.php on line 35 [17-Feb-2024 07:15:37 UTC] PHP Deprecated: Creation of dynamic property nftb_TelegramNotify::$telegram_notify_option is deprecated in /home/admin/web/multibus24.com/public_html/wp-content/plugins/notification-for-telegram/include/nftb_optionpage.php on line 35

rainafarai 2024-02-19T14:19:00+00:00

Disable Debug … to hide de warnings … they are not errors just warnings !! So please confirm WE fix the Convert HTML entities problem with The line: $messaggio = html_entity_decode($messaggio, ENT_QUOTES, ‘UTF-8’);

rainafarai 2024-02-22T12:06:00+00:00

I insert the $messaggio = html_entity_decode($messaggio, ENT_QUOTES, ‘UTF-8’); in the last update 3.3.1

specon 2024-02-27T21:00:00+00:00

Im tested and now all is ok, thank you!