Cameron
057cc8e35b
Closes #4702 - Added news_modified field.
2022-03-14 14:03:34 -07: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
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
fe8ae40f30
Robot directive removed from default route.
2021-07-26 16:15:55 -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
Jimako
9452a2986e
#3912 e_ROUTE for non pretty news urls
2021-02-26 18:51:21 +01: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
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
94f772577a
trackback plugin removed.
2020-12-29 10:04:33 -08:00
Cameron
e66d3f32de
Renamed "Site Links" admin area to "Navigation". Navigation shortcode names changed (see debug: 'deprecated' mode to check usage)
2020-12-27 14:28:19 -08:00
Cameron
601df26d51
Code optimization for speed and reduced memory usage.
2020-12-20 11:50:10 -08:00
Cameron
5b82c292b1
Code cleanup
2020-12-18 19:55:12 -08:00
Cameron
42f0e902d4
Issue #4283 - Update deprecated sql method usage. Removed old code.
2020-12-17 05:52:54 -08:00
Cameron
7229aa6c50
Preparations for WebP conversions. e107::title() added to eventually replace defining e_PAGETITLE.
2020-12-08 18:15:08 -08:00
Nick Liu
f20052fa77
Fixed all unchecked usages of possibly undefined constant BOOTSTRAP
2020-11-30 12:55:04 +01:00
Cameron
e1593de8ee
Removed redundant PHP closing tags.
2020-08-10 15:49:44 -07:00
Cameron
0f2ab37d47
Backward compatibility fixes.
2020-05-06 16:15:52 -07:00
Cameron
8ac7f1fdf1
Cache added to newforumposts_menu.php. Fancybox 2.06b added to incompatible plugin list. (it loads an old version of jQuery) . Fix for BC replacement of newforumposts_main not rendering.
2020-05-06 13:33:01 -07:00
Cameron
d51c3e07c6
Closes #4124 , #3686 - News template loading behavior. Added alert-dismissible for BS4.
2020-05-01 13:40:07 -07:00
Cameron
ab925f43cc
Issue #4124 - Avoid legacy globals with v2.x theme templates.
2020-04-20 11:49:19 -07:00
Cameron
5cf54d07d2
Basic per-item search engine robots handling added to News and Pages.
2019-12-02 13:32:21 -08:00
Cameron
6abf7722bb
New SEO fix.
2019-10-10 09:27:38 -07:00
Tijn Kuyper
0922eaca21
#3680 - Tweak messages when comments are disabled or locked on news items
2019-10-02 14:57:25 +02:00
Tijn Kuyper
62f8e91be9
#3680 - Show message on news items when comments disabled while global comments are enabled
2019-10-02 14:39:57 +02:00
Tijn Kuyper
1bf3fcc5e6
#2694 - Correct message when no news items are found on specific day
2019-09-25 11:27:11 +02:00
Cameron
9be7ef275a
SEO robots meta tags added.
2019-09-03 05:10:11 -07:00
Cameron
294d452f9c
Fixes Comments not displaying on news or "Array" being displayed.
2019-07-04 09:48:00 -07:00
Cameron
1c7bc92a65
Tablerender: Use uniqueIds to keep setContent() values intact.
2019-06-16 12:32:55 -07:00
Cameron
346d42bdfb
BC Fallback for breadcrumb() generator. Magix shortcode fix for news-view. Magic shortcodes are defined by the first render with {SETSTYLE=default} or {SETSTYLE=main} encountered in the template.
2019-06-15 16:45:03 -07:00