Skip to content

Commit

Permalink
I overlooked the correct Post Per Page option. It should be the right…
Browse files Browse the repository at this point in the history
… one now.
  • Loading branch information
JulianD committed Jun 17, 2020
1 parent ae26f63 commit e96b0e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion XF/Sitemap/Thread.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion _output/phrases/option.SEOUtilsIncludeAllPages.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Include all pages in the Sitemap
Include all pages of each thread in the Sitemap
6 changes: 3 additions & 3 deletions addon.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e96b0e1

Please sign in to comment.