From e96b0e1b352d6afd18a503c0564054b908834c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Mu=C3=B1oz?= Date: Wed, 17 Jun 2020 12:29:13 -0500 Subject: [PATCH] I overlooked the correct Post Per Page option. It should be the right one now. --- XF/Sitemap/Thread.php | 2 +- _output/phrases/option.SEOUtilsIncludeAllPages.txt | 2 +- addon.json | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) mode change 100755 => 100644 addon.json diff --git a/XF/Sitemap/Thread.php b/XF/Sitemap/Thread.php index e6ff006..d990a01 100644 --- a/XF/Sitemap/Thread.php +++ b/XF/Sitemap/Thread.php @@ -14,7 +14,7 @@ public function getEntry($record) return $result; } - $perPage = max(1, intval($this->app->options()->discussionsPerPage)); + $perPage = max(1, intval($this->app->options()->messagesPerPage)); $total = max(0, intval($record->reply_count + 1)); $totalPages = ceil($total / $perPage); diff --git a/_output/phrases/option.SEOUtilsIncludeAllPages.txt b/_output/phrases/option.SEOUtilsIncludeAllPages.txt index 5d3b1be..e2f79cc 100644 --- a/_output/phrases/option.SEOUtilsIncludeAllPages.txt +++ b/_output/phrases/option.SEOUtilsIncludeAllPages.txt @@ -1 +1 @@ -Include all pages in the Sitemap \ No newline at end of file +Include all pages of each thread in the Sitemap \ No newline at end of file diff --git a/addon.json b/addon.json old mode 100755 new mode 100644 index 695baf6..9278eb8 --- a/addon.json +++ b/addon.json @@ -2,12 +2,12 @@ "legacy_addon_id": "", "title": "SEO Utilities", "description": "Various options to improve the SEO of your forum", - "version_id": 1000070, - "version_string": "1.0.0", + "version_id": 1000170, + "version_string": "1.0.1", "dev": "JulianD", "dev_url": "https://xenforo.com/community/members/juliand.33/", "faq_url": "", - "support_url": "", + "support_url": "https://xenforo.com/community/resources/seo-utilities.7871/", "extra_urls": [], "require": [], "icon": "fa-chart-line"