Cameron
c889d666b9
Use separate SEF value.
2022-03-03 18:23:05 -08:00
Cameron
7254c87a04
Experimental: Dynamically generated news sitemap.
2022-03-03 18:13:50 -08:00
Cameron
0d8f3e9086
PHPDoc fixes and code optimization.
2021-12-03 14:58:33 -08:00
Cameron
9d6a9611e2
PHP 8.1 fixes.
2021-11-25 10:18:53 -08:00
Cameron
4aa66c1732
strftime() added to php_compatibility_handler.php and all references updated. README updated. dateAlternativeTest updated to pass on Windows. (TBD)
2021-11-25 08:51:32 -08:00
Cameron
6d5b4f5c3a
Moved experimental e_ROUTE constant to registry.
2021-11-01 15:46:39 -07:00
Cameron
f7a65ebb3c
Prevent duplicate twitter:image meta tags.
2021-10-27 18:39:27 -07:00
Cameron
1351435a7c
Added some missing canonical values.
2021-10-04 11:56:30 -07:00
Cameron
e06069459f
Add og:title by default. Set open-graph data for frontpage.
2021-10-01 08:35:54 -07:00
Cameron
e5b139e91a
Set og:url and twitter:url when e107::canonical is called. Twitter card meta added to news posts and pages.
2021-09-29 18:43:20 -07:00
Cameron
f42ac5a8e8
Replaced e_PAGETITLE with e107::title();
2021-09-28 13:15:53 -07:00
Cameron
69d5b49525
Fixed news tag query
2021-09-25 11:43:19 -07:00
Cameron
5cf3f9d57b
Fix for news tag links containing spaces.
2021-09-25 10:25:04 -07:00
Cameron
af0b5dcb84
More rel="noopener" and og: changes.
2021-09-25 09:57:18 -07:00
Cameron
3a241727f8
Keep FB scraper up-to-date with changes.
2021-09-24 13:19:06 -07:00
Cameron
c7be6a57e8
Open-graph improvements in news.
2021-09-24 13:08:45 -07:00
Cameron
9c2d7ec2d6
Prevent news item data being overwritten within latestnews_menu
2021-09-22 13:31:37 -07:00
Nick Liu
20882920a0
Fix all PHP 8.1 test failures
...
* `strftime()` has been replaced with a polyfill based on `DateTime`.
* Explicit type casts/assertions added where required by PHP 8.1
* `filter_var(…, FILTER_SANITIZE_STRING)` replaced with `strip_tags()`
or HTML entity encoding of quotation marks, depending on a guess of
what the intended "sanitization" was
* `http_build_query()` usage type mismatches fixed
* Removed usages of the `FILE_TEXT` constant
* To avoid breaking PHP 5.6 compatibility (function return types),
`e_session_db` no longer implements `SessionHandlerInterface`.
Instead, the alternative non-OOP invocation of
`session_set_save_handler()` is used instead to apply the session
handler.
* The shim for `strptime()` still calls the native function if available
but now suppresses the deprecation warning.
* `e_db_pdo` explicitly asks for `PDO::ATTR_STRINGIFY_FETCHES` to
maintain consistent behavior with past versions of PHP.
* `e_db_mysql` explicitly sets `mysqli_report(MYSQLI_REPORT_OFF)` to
maintain consistent behavior with past versions of PHP.
* Removed pointless random number generator seed from `banner` plugin
* Workaround for `COUNT(*)` SQL query in
`validatorClass::dbValidateArray()` without a proper API for avoiding
SQL injection
2021-09-04 15:06:19 +02:00
Cameron
7973e10dea
Debug code removal. Rel prev/next added.
2021-08-13 11:53:21 -07:00
Cameron
fe8ae40f30
Robot directive removed from default route.
2021-07-26 16:15:55 -07:00
Cameron
95fab15c02
Gsitemap: Display link visibility status while importing.
2021-07-22 13:51:35 -07:00
Cameron
c941e5b98d
Issue #4024 - Pagination url option added to News preferences. Select between 'record' (legacy format eg. page=20, page=40 etc) or 'page' numbers (page=1, page=2 etc). Experimental - requires more testing.
2021-07-06 17:53:55 -07:00
Cameron
a1e7d29661
Optional {NEWS_PAGINATION} shortcode added.
2021-06-14 14:42:17 -07:00
Cameron
aa6e449aee
New shortcode added on News view page: {NEWS_AUTHOR_REALNAME}
...
Tagcloud menu can now be sorted via shortcode parms. eg. {MENU: path=tagcloud&order=tag,asc&limit=20}
Animate.css library loading example added to bootstrap5/theme.xml
2021-06-12 16:18:51 -07:00
Cameron
6674beaf82
Added a button to allow closing of "Developer Mode" alert message. Fixed default button styling of some news buttons under Bootstrap 5.
2021-05-08 12:39:17 -07:00
Cameron
c33b91ee5c
Issue #4368 Fixed hardcoded string for 'related' content. Now uses tablerender(). Shortcode processing of {---CAPTION---} added.
2021-03-22 11:26:51 -07:00
Jimako
9452a2986e
#3912 e_ROUTE for non pretty news urls
2021-02-26 18:51:21 +01:00
Cameron
58f129799b
New feature: Previous/Next News item navigation.
2021-02-24 15:26:01 -08:00
Cameron
f30caaf18b
Removed some LAN constant usage from core templates.
2021-02-23 12:58:51 -08:00
Cameron
2ca7ec4597
Issue #4332 - Bootstrap 5 styling fixes on comments and news templates.
2021-02-23 09:01:40 -08:00
Cameron
c03e0ab066
'styleCount' info added to all theme tablestyle() calls. 'styleCount' keeps count of the number of times the current style has been rendered. Usage example added to the bootstrap3 theme. Core news view template updated to use tablestyle caption correctly.
2021-02-19 07:33:05 -08:00
Cameron
dfec2a46f8
Closes #4404 Added missing global news language file.
2021-02-19 07:20:45 -08:00
Cameron
ba6344bb28
Removed deprecated PAGE_NAME from News.
2021-02-16 09:23:41 -08:00
Moc
4fd4a6ed57
#3680 - Refine previous commit, check for e_DEBUG
2021-02-02 20:28:57 +01:00
Moc
4345df5340
Closes #3680 - Change comments disabled message to admin debug message
2021-02-02 19:58:39 +01:00
Cameron
f5352be768
Closes #4044 - News e_related URL fix. Thanks to @Serios
2021-01-22 17:33:29 -08:00
Cameron
f055b49d91
PHP8 Plugin code cleanup
2021-01-21 09:38:38 -08:00
Cameron
b19f9ffbc3
Frontend scripts tests. (may break some things)
2021-01-19 18:52:56 -08:00
Cameron
76144e6b4f
Issue #4352 e107::canonical() method added.
...
Use define('e_DEBUG_CANONICAL', true); in e107_config.php to test usage.
2021-01-19 07:54:13 -08:00
Cameron
06888f1fcf
Issue #4348 Always using tablestyle in news on a v2.3 theme spec.
2021-01-17 06:37:18 -08:00
Cameron
aa3c267ef6
Issue #4345 - Fixes {NEWS_BODY=extended}
2021-01-14 07:54:16 -08:00
Cameron
96827c6180
PHP8 fixes
2021-01-06 11:54:51 -08:00
Cameron
2c81d51dd9
Template cleanup
2021-01-04 09:15:11 -08:00
Cameron
dd184a024c
Issue #4332 Bootstrap 5 Fixes
2021-01-02 12:06:46 -08:00
Cameron
833d3f6133
Issue #4332 Bootstrap 5 Menu styling: news, login, online menus.
2021-01-02 10:34:23 -08:00
Cameron
a7d8b1d41f
Styling Rules Menus: btn-sm and btn-primary for primary buttons. btn-sm btn-secondary for additional buttons.
2021-01-02 09:43:54 -08:00
Cameron
1a510cb897
Bootstrap 4 fixes. USERTHEME fix.
2021-01-01 12:29:43 -08:00
Cameron
14862f0463
PHP8 Warning removal.
2021-01-01 10:45:26 -08:00
Cameron
81634d5f5a
Issue #4332 Carousel fixes. Newsfeed now uses json to store data.
2021-01-01 09:33:51 -08:00
Cameron
15488f1c7e
Closes #4311 - gSitemap select-all option.
2020-12-29 10:30:05 -08:00