camer0n
019d12b591
Code cleanup
2025-03-18 11:54:55 -07:00
camer0n
9285c24e86
Fixes #5111 - Comments without ajax PHP8 error.
2023-11-22 12:27:25 -08:00
Cameron
55980a29a8
Generated PHPDoc for all classes in e107_handlers where one was missing. toNumber() updated to always return int or float.
2022-04-04 10:54:24 -07:00
Cameron
7fd6fdf478
Fixes #3778 - SEF URL issue on custom page comments. Also introduces pageHelper class with use added to e_related, e_search and e_sitelink.
2022-03-11 12:23:31 -08:00
Moc
484ef69dd3
#3778 - Add SEF URL configuration to 'pages' in comment_menu (WIP)
...
WIP - one URL configuration not working yet. See notes in issue #3778
2021-12-20 21:29:33 +01:00
Cameron
90108eab3c
Checking of remote file-types during import and other cleanup.
2021-12-17 11:31:37 -08:00
Cameron
0d8f3e9086
PHPDoc fixes and code optimization.
2021-12-03 14:58:33 -08:00
Cameron
8ff427cfc4
#Issue #4473 - some merged code.
2021-03-31 12:35:26 -07:00
Cameron
9053e6170f
Fixes #4465 Some nested comments were not displaying. The number of DB queries when nested comments is active has now been dramatically reduced. Comments unit test added.
2021-03-25 13:52:05 -07:00
Jimako
c65b40fe3c
#2898 fix comments offsets for bootstrap4
2021-02-23 22:15:40 +01:00
Cameron
2ca7ec4597
Issue #4332 - Bootstrap 5 styling fixes on comments and news templates.
2021-02-23 09:01:40 -08:00
Cameron
522d71d243
Reduced some memory usage.
2021-01-24 17:00:02 -08:00
Cameron
f055b49d91
PHP8 Plugin code cleanup
2021-01-21 09:38:38 -08:00
Cameron
911d41a402
e107table class moved out of class2.php to e_render_class.php and renamed to e_render. BC fix added.
2021-01-18 08:52:10 -08:00
Cameron
42fbd379d4
Tweaked and tested single shortcodes. Added batch shortcode files fpw_shortcodes and search_shortcodes. {SEARCH} shortcode template was updated to v2 standards.
2021-01-12 14:46:10 -08:00
Cameron
ed0629a976
Issue #4332 - Bootstrap5 fixes.
2021-01-04 13:02:19 -08:00
Cameron
26899dcfbc
Comment template cleanup.
2021-01-04 08:16:21 -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
0e90d4aa66
Code optimization and cleaning
2020-12-17 13:13:29 -08:00
Cameron
44e260b121
Code cleanup and optimization
2020-12-14 16:21:48 -08:00
Nick Liu
f20052fa77
Fixed all unchecked usages of possibly undefined constant BOOTSTRAP
2020-11-30 12:55:04 +01:00
Cameron
ab925f43cc
Issue #4124 - Avoid legacy globals with v2.x theme templates.
2020-04-20 11:49:19 -07:00
Nick Liu
379a963902
New API to detect if social login is enabled site-wide
...
The site-wide social login system is now backwards-compatible with how
the social_login_active core pref worked since commit
3b2d8333b6
.
social_login_active's least significant bit is now treated as a global
bit, so if it's not set, no other bits are allowed to be set. This
un-breaks all existing checks for whether social_login_active is empty.
Except in themes, the social_login_active check has been replaced with
an e_user_provider API to check if social login is enabled site-wide.
2020-02-22 23:55:20 +01:00
Tijn Kuyper
7a665cedba
Code clean up
...
globals, indentation, renaming old Db methods, etc.
2019-10-11 17:19:48 +02:00
Tijn Kuyper
0922eaca21
#3680 - Tweak messages when comments are disabled or locked on news items
2019-10-02 14:57:25 +02:00
Cameron
e087dc52a2
Issue #1944 IMPORTANT: Any reference to #comments-container in the theme must be changed to .comments-container
2019-04-30 12:01:09 -07:00
Cameron
c1e3e8889f
Issue #1944 (Partial fix) Comments use unique IDs.
2019-04-11 15:52:41 -07:00
Cameron
221f12088b
Issue #3216 PHP7 Fixes.
2019-01-17 13:20:56 -08:00
Cameron
38a08376cd
Improved error message and docs.
2018-12-19 11:21:38 -08:00
Cameron
64d821a2d1
Fixes #2425 Fixes #2281 Fixes #2937 Comment navigation issues.
2018-07-28 16:10:23 -07:00
Cameron
b40b1916a3
Issue #2970 btn-default > btn-default btn-secondary
2018-01-10 15:06:40 -08:00
Cameron
9606105e24
Removal of PHP Notices and SEF URL debugging improvements.
2017-09-23 12:52:23 -07:00
Cameron
02e80f50de
Parser cleanup
2017-09-19 16:19:39 -07:00
Cameron
be28d221d6
Fixes #2494 Comment Menu Avatar. eg {CM_AUTHOR_AVATAR: shape=circle}
2017-03-05 08:07:34 -08:00
Cameron
43d0211590
Code cleanup: deprecated include_lan()
2017-01-23 09:41:23 -08:00
Cameron
cc66d6cb36
Fix for FB comment engine.
2017-01-11 18:57:54 -08:00
Cameron
2cb6de6666
New Events: user_page_item_viewed, user_comment_deleted
...
News Comment Count now moving up/down accordingly.
2016-12-22 10:00:37 -08:00
Cameron
0203a56fd2
Issue #2162 - possible fix.
2016-12-18 12:01:48 -08:00
Cameron
6008fe5b68
Fix for PHP Warning in PHP 7.1
2016-12-16 12:57:43 -08:00
Cameron
2e3e980f13
Fix for news-comment moderate button. Use https for generated YouTube thumbnails.
2016-12-13 11:22:07 -08:00
Cameron
3de87776a9
Issue #1406 - Added a more intuitive comment method for plugin developers.
...
Usage:
$text = e107::getComment()->render('myplugin', 3, "My Subject", false);
echo $text;
2016-04-04 12:18:12 -07:00
Cameron
f927e49e22
BC Fix for comment avatar size. Regexp for "makeClickable" now handles ' ' before URL correctly.
2016-03-16 09:21:12 -07:00
Cameron
fa8f25dfc5
Comment fixes. News table comment count was not incrementing. (may be manually corrected in debug mode)
2016-03-13 22:24:28 -07:00
Cameron
8d13c27638
Fix for login/signup message on comment form. Allow login page to load if social signup is active.
2016-03-13 17:57:51 -07:00
Cameron
a469b7ca6e
Deprecated function cleanup
2016-02-15 00:14:45 -08:00
Cameron
fbee0d5d28
Issue #1351 - BC Styling fix for comments.
2016-02-13 10:48:36 -08:00
Lóna Lore
7b77ed14b6
Ajax API - fixed comment next/prev issue.
2016-02-11 13:14:41 +01:00
Lóna Lore
73ab0ceac6
Fixed: comment nextprev, and replaced hardcoded strings with constants.
2016-01-01 14:25:03 +01:00
Lóna Lore
832b70a9d6
Fixed: PHP Fatal error: Cannot redeclare class social_comment... when using e107::getComment()->getCommentData() method.
2015-12-31 14:03:03 +01:00