The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 1121 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I18N Search for News Manager Posts
#26
Try doing the patch in post #5 on this thread.
Reply
#27
(2019-12-11, 21:24:49)Carlos Wrote: Try doing the patch in post #5 on this thread.

Total genius! - just do as Carlos suggests and News search then works as expected.

Many thanks!
Reply
#28
(2019-08-21, 18:06:21)rjgaur Wrote: Hi there,

I have been using this plugin in for a while but I have now encountered an issue after changing the URL structure. To display language in the URL, a language code is appended at the end, followed by the name of the post such as

www.domain.com/en/news/post/post-name

However when I run search results, the language code is not added to the URL. It display as
www.domain.com/news/post/post-name.

Would be very grateful if a fix could be suggested for this.

This is what worked finally. Change was made in searchresult.php
$link = str_replace("/news/post/","/en/news/post/",$link);
Reply




Users browsing this thread: 1 Guest(s)