MyBB Community Forums

Full Version: Google SEO 1.8.4
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
(2023-01-03, 01:42 AM)Mediuz Wrote: [ -> ]i tried it and got a little error redirect.php line 291 because it is using get_magic_quotes_gpc() function which was removed in php version 8.

You can use other ways to achieve the same effect. For example, you can use ini_get() to check if a particular directive is enabled:

if (ini_get('magic_quotes_gpc'))
            {
                // Dear PHP, I don't need magic, thank you very much.
                $mybb->strip_slashes_array($query_target);
                $mybb->strip_slashes_array($query_current);
            }

thanks for help me..

Thanks, fixed it here.
Sorry to be a pain - I'm seeing another error with PHP 8.0.x/8.1.x - /portal.php is throwing a 500 error. This is with Google SEO 1.8.4.
I also just tried the modified pluginlibrary.php mentioned here and no luck fixing it.

Stack trace in PHP error log is this:

[05-Jan-2023 10:48:05 UTC] PHP Fatal error: Uncaught TypeError: Unsupported operand types: null & mysqli_result in /home/ce0d22cva9ud/public_html/inc/plugins/google_seo/url.php:613
Stack trace:
#0 /home/ce0d22cva9ud/public_html/inc/plugins/google_seo/url.php(881): google_seo_url_optimize()
#1 /home/ce0d22cva9ud/public_html/inc/plugins/google_seo/url.php(1412): google_seo_url_cache()
#2 /home/ce0d22cva9ud/public_html/inc/functions.php(6510): google_seo_url_thread()
#3 /home/ce0d22cva9ud/public_html/portal.php(430): get_thread_link()
#4 {main}
thrown in /home/ce0d22cva9ud/public_html/inc/plugins/google_seo/url.php on line 613
(2023-01-03, 12:29 PM)SvePu Wrote: [ -> ]
(2023-01-03, 01:42 AM)Mediuz Wrote: [ -> ]i tried it and got a little error redirect.php line 291 because it is using get_magic_quotes_gpc() function which was removed in php version 8.
You can use other ways to achieve the same effect. For example, you can use ini_get() to check if a particular directive is enabled:
if (ini_get('magic_quotes_gpc'))
            {
                // Dear PHP, I don't need magic, thank you very much.
                $mybb->strip_slashes_array($query_target);
                $mybb->strip_slashes_array($query_current);
            }

thanks for help me..

Thanks, fixed it here.

Will below errors will be fixed too ?


Warning [2] Illegal string offset 'database' - Line: 110 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'encoding' - Line: 110 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'database' - Line: 113 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'encoding' - Line: 113 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'admin_dir' - Line: 153 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
(2023-01-09, 10:50 PM)jkcool Wrote: [ -> ]Will below errors will be fixed too ?


Warning [2] Illegal string offset 'database' - Line: 110 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'encoding' - Line: 110 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'database' - Line: 113 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'encoding' - Line: 113 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)
Warning [2] Illegal string offset 'admin_dir' - Line: 153 - File: inc/plugins/google_seo/plugin.php PHP 7.4.27 (Linux)

Sorry, I can't reproduce this issues on my test board with PHP 8.2....may be you have a problem with reading of config file.
(2016-09-22, 02:50 PM)frostschutz Wrote: [ -> ]The goal of this plugin is to implement Search Engine Optimization (SEO) in MyBB according to the guidelines presented in Google's SEO starter guide to make MyBB more friendly to both users and search engines.

Google SEO is free open source software (LGPL). This means that you can download the plugin for free, modify it to your liking, and you do not have to put any copyright or backlinks on your page.



Download: https://community.mybb.com/mods.php?action=view&pid=789
GitHub: https://github.com/frostschutz/MyBB-Google-SEO
Documentation: https://github.com/frostschutz/MyBB-Goog...README.rst
Bugtracker: https://github.com/frostschutz/MyBB-Google-SEO/issues



Features

The plugin currently supports the following features. All features can be selectively disabled / enabled. For more detailed information, refer to the documentation.
  • Google SEO 404:
    • Error pages return HTTP 404 Not Found (and others) instead of 200 OK
    • Custom 404 error pages
    • Google's 404 widget
  • Google SEO Meta:
    • description meta tags for forums / threads / etc.
    • specify canonical pages
    • nofollow links
  • Google SEO Redirect:
    • redirect old URLs to new URLs (or vice versa)
    • avoid URL breakage and double content
  • Google SEO Sitemap:
    • dynamic generation of XML Sitemaps
    • search engines find your content without crawling
  • Google SEO URL:
    • Keyword URLs (e.g. Thread-Some-Subject instead of showthread.php?tid=12345)
    • UTF-8 in URLs is supported
    • Customizable URL styles



This thread is for the MyBB 1.8 version of Google SEO, for MyBB 1.6 refer to https://community.mybb.com/thread-101262.html
My meta description is not showing can you please give me the fix
Hi,
after updating the main board software from 1.8.30 to 1.8.33 my forums are not working any more.
It seems like they're not addressed using the "nice name", but just as using something like "forum-30.html".
Then I get a "404 Not Found" error message, e.g. https://kaikki.de/forum-30.html

Does anybody have the same problem? How can I fix this?
an image to show
(2023-03-18, 03:13 PM)Mikko Wrote: [ -> ]Hi,
after updating the main board software from 1.8.30 to 1.8.33 my forums are not working any more.
It seems like they're not addressed using the "nice name", but just as using something like "forum-30.html".
Then I get a "404 Not Found" error message, e.g. https://kaikki.de/forum-30.html

Does anybody have the same problem? How can I fix this?

Why don't you updated your theme to latest version?

Here is the latest version:- https://community.mybb.com/mods.php?acti...w&pid=1469
(2023-03-18, 04:36 PM)bv64 Wrote: [ -> ]an image to show

Thank you very much. That indeed solved the issue. Heart
Sorry, that I overlooked that link in the description ... I should read more carefully.
Really cool options, this plugin needs more ability tho. Like adding meta data specifically for the frontpage and individual forums.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25