Cameron
a5f790dab1
Merge pull request #5340 from rica-carv/rica-carv-newforumpostsmenu
...
Fixes #4322 and closes #5337 New forum posts menu.
2025-01-10 10:39:18 -08:00
rica-carv
8d2e28c5e7
Update forum_shortcodes.php
...
Bug correction. e_BASE gives the path to the full plugin folder from where it's used. Switching to e_HTTP, since online.php is on the root...
2024-10-06 16:42:59 +01:00
rica-carv
416997604e
Update view_shortcodes.php
2024-09-22 19:59:18 +01:00
Nick Liu
566cde0f4c
#4929 : Fix type mismatch in usage of e107forum::getForumClassMembers()
...
Also, `e107forum::getForumClassMembers()` is now documented and
deprecated because it has unintuitive return values.
Fixes: https://github.com/e107inc/e107/issues/4929
2022-12-25 11:58:46 +01:00
Cameron
d960829532
Issue #4918 - Undefined constants cleanup.
2022-12-10 07:06:47 -08:00
Cameron
9529e85a75
Fixes #4726 - BS5 modal in forum was failing. Patch by @Jimmi08
2022-04-07 13:16:44 -07:00
Jimmi08
6d54d74918
#4245 stay on correct page after editing paginated topic
...
CLOSES #4245
Tested with PHP 8.1
Description:
When you edit a post on the next page (with the paginated topic), after saving you are redirected to the first page and you don't see that edited message then.
Changes
added p parameter to edit URL in post options and edit image shortcodes
used this parameter when redirecting after reply is updated
it is not needed when updating the thread because you are always on the first page
added check if it is the first page, then the parameter is not used (to have the same behavior as with thread).
Tested
PHP 7.4. + PHP 8
core bootstrap5 theme and custom theme with custom forum templates
Important Note::
Updating/Fixing postoptions are/will be separated issues (more than one). It needs some changes but they are not related to this issue. So now just changed links, nothing more.
Enhancement Note: $_GET['p'] could be replaced by saving the actual page in post data (like thread works - that information should be available) but it is too complicated now for me and there is a bigger risk that something will not work. Free do it this way if you have time.
2022-04-02 18:00:19 +02:00
Cameron
025ff07aab
Fixes #4737 Removal of type="text/javascript" and type="text/css"
2022-03-31 08:24:34 -07:00
Jimako
ec8108338b
correct display of Last Post info
...
#FIX 4715
2022-03-29 10:47:58 +02:00
Jimako
71764ba7db
fix for access / check for access to forum type in forum post
...
fix #4658
2022-03-27 20:36:46 +02:00
Jimako
d8c57390ca
forum - use the same markup (bootstrap) for pagination in forum and topic (Issue #4713 )
2022-03-22 18:23:24 +01:00
Cameron
d9d606f615
Fixes #4583 - filetype values missing from forum attachment tooltip message.
2021-12-02 10:22:52 -08:00
Cameron
cf5459620c
Fix forum post PHP error.
2021-10-18 16:41:51 -07:00
Cameron
573a8d55af
Issue #4578 - Legacy forum template issue with missing thread subject element.
2021-10-18 14:17:54 -07:00
Cameron
acff5c699e
Bootstrap5 fix for dropdown dividers
2021-10-18 11:19:57 -07:00
Cameron
ce70a5944a
Bootstrap5 forum dropdown styling fix.
2021-10-18 10:18:24 -07:00
Cameron
da219c31ae
Fix forum replies/topic count styling on sub forums.
2021-10-10 09:15:16 -07:00
Cameron
5e83895c8f
Fixes #4544 - SubForum missing global value. LAN shortcode now parsed correctly.
2021-10-10 08:55:16 -07:00
Cameron
f30caaf18b
Removed some LAN constant usage from core templates.
2021-02-23 12:58:51 -08:00
Cameron
76af210666
Issue #4332 - Bootstrap 5 styling fixes.
2021-02-23 11:11:35 -08:00
Cameron
e03f7a34e2
Issue #4359 - Forum dropdown-menu fixes for Bootstrap 4/5.
2021-02-19 16:09:47 -08:00
Cameron
eee039b616
PHP8/Bootstrap5 Fixes
2021-01-29 20:11:49 -08:00
Cameron
835e477147
Bootstrap 5 styling. (data-bs-toggle)
...
Signup shortcodes now automatically load the required template.
2021-01-26 15:08:58 -08:00
Cameron
4a9cf379a6
PHP8 Forum code cleanup
2021-01-22 06:31:23 -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
3d217bc49b
Forum and User-extended shortcode improvements and test tweaks.
2021-01-11 08:45:08 -08:00
Cameron
d86d8d999f
Replaced global $menu_pref usage. Updated tests.
2021-01-08 13:50:32 -08:00
Cameron
3f5d3786b2
PHP8 fixes and shortcode tests for forum, gallery, hero and login_menu. admin-shortcode time fix.
2021-01-07 13:24:55 -08:00
Cameron
a908ce82b6
Clear libxml errors in toRSS test. Forum shortcode fix.
2021-01-07 09:47:30 -08:00
Cameron
3d19db894b
PHP8 Fixes and shortcode tests for chatbox_menu, download, faqs, forum and forum-post
2021-01-07 09:42:19 -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
Cameron
afaac88003
PHP8 Compatibility and code cleanup.
2020-12-08 12:21:12 -08:00
Cameron
09fb747374
Code cleanup
2020-12-05 14:13:18 -08:00
Nick Liu
645e162253
Reduce NPath complexity in plugin_forum_viewforum_shortcodes
...
Method plugin_forum_viewforum_shortcodes::sc_newthreadbuttonx()
2020-11-30 12:55:04 +01: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
Tijn Kuyper
6dd2c7810a
Revert "Use 'Anonymous' as username when no name was entered in anonymous forum post"
...
This reverts commit 05bf1ad645
.
2019-10-24 16:46:11 +02:00
Tijn Kuyper
05bf1ad645
Use 'Anonymous' as username when no name was entered in anonymous forum post
2019-10-24 16:44:43 +02:00
Tijn Kuyper
eea2a552a3
#1343 - Fix forum notify checkbox functionality
2019-10-02 14:08:46 +02:00
Tijn Kuyper
2ea454d2b9
Closes #718 - Add confirmation dialog when deleting forum topic or post
2019-10-02 12:20:31 +02:00
Tijn Kuyper
e67cf48c84
Forum plugin - Fixed notification option not showing up
2019-10-02 11:07:00 +02:00
Tijn Kuyper
c098ea6ae4
Fixes #3827 - forum ranks - avoid showing empty badge
2019-09-17 13:13:03 +02:00
leo
dc639e9fec
Update view_shortcodes.php
...
LAN number change due to particular textual use (button text for QUICK reply (post command) )
LAN 2006 is general for Post a reply..
2019-08-25 13:58:07 +02:00
Tijn Kuyper
8e331152e0
#3827 - check for rankInfo to prevent unwanted HTML output
2019-07-02 09:54:50 +02:00
Cameron
26ff074ee5
Issue #2970 Bootstrap 3 pull-left/right combined with Bootstrap 4 float-left/right. News Email/Print icon default styles added.
2019-06-17 12:27:53 -07:00
Tijn Kuyper
c24ade3b9c
#3733 - Added new 'Forum icon' field
...
- Renamed forum image to "Image" (LAN_IMAGE instead of LAN_ICON)
- Added new field forum_icon (LAN_ICON)
- Icon can be used / rendered using {FORUMICON} shortcode in template
- database update requires
- v1 to v2 update needs testing (will do shortly)
2019-06-06 16:02:46 +02:00
Cameron
1d4f1afc25
Removed $forum global .
2019-05-28 12:04:25 -07:00
Cameron
eb6401385e
Code cleanup
2019-05-26 17:05:29 -07:00
Tijn Kuyper
6664e9d7ef
Forum {SEARCH} updated to include placeholder
2019-05-21 12:32:02 +02:00