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
33d87efd20
Merge pull request #4730 from Jimmi08/master
...
Closes #4659 forum main admin as silent moderator
2022-04-01 10:57:58 -07:00
Cameron
025ff07aab
Fixes #4737 Removal of type="text/javascript" and type="text/css"
2022-03-31 08:24:34 -07:00
Jimmi08
95a6cd2a3b
#4659 forum main admin as silent moderator
...
- without displaying in moderator list (if they are not forum moderators directly)
CLOSES #4659
2022-03-30 22:17:41 +02:00
Cameron
0d8f3e9086
PHPDoc fixes and code optimization.
2021-12-03 14:58:33 -08:00
Cameron
573a8d55af
Issue #4578 - Legacy forum template issue with missing thread subject element.
2021-10-18 14:17:54 -07:00
Cameron
bc84cdc59e
Issue #4578 - possible fix for editing issue.
2021-10-18 11:33:14 -07: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
594cddae6e
Some forum code cleanup
2021-01-21 13:04:54 -08:00
Cameron
f055b49d91
PHP8 Plugin code cleanup
2021-01-21 09:38:38 -08:00
Cameron
f091709847
Issue #4352 - Canonical added for page, forum and download. Replaced some e_PAGETITLE with e107::title()
2021-01-19 09:50:02 -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
e1593de8ee
Removed redundant PHP closing tags.
2020-08-10 15:49:44 -07:00
Tijn Kuyper
eea2a552a3
#1343 - Fix forum notify checkbox functionality
2019-10-02 14:08:46 +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
Cameron
bdb45485ee
Code Cleanup
2019-05-20 14:53:43 -07:00
Cameron
1dbc90143f
Case cleanup toHtml() should be toHTML()
2019-02-26 12:22:36 -08:00
Achim Ennenbach
8d7a0da0dc
fixes #3656 : Make the mediamanager icons available in the forum
2019-02-08 13:01:38 +01:00
Tijn Kuyper
82c5c22e57
Merge pull request #3620 from SimSync/fix_3619
...
issue #3619 : Missing moderator ids on forum move
2019-01-16 21:54:39 +01:00
Achim Ennenbach
ae822adfcc
issue #3619 : switched error message to LAN_NO_PERMISSIONS
2019-01-16 19:09:53 +01:00
Achim Ennenbach
ce4c96d193
issue #3619 : check $this->post for being empty instead of being set
2019-01-16 11:44:11 +01:00
Achim Ennenbach
995702f5c6
issue #3619 : Missing moderator ids on forum move
...
In case the post id is not set use the thread id to look
for the moderator ids
2019-01-14 12:38:01 +01:00
Arun S. Sekher
dfa8ae8ed5
Enrich 'user_forum_post_report' event data set with useful data.
...
Fix a bug which prevented 'user_forum_post_report' notification email being sent successfully by e107 'notify' handler.
2019-01-13 23:39:04 +04:00
phibel
f480064ba4
FIX allow moderators to edit posts from other users
2018-10-13 15:55:31 +02:00
Achim Ennenbach
ddf7eced79
fixes #3377 Enabled "preview" button on forum post edit
...
disabled subject if edited post is not the first post of the thread
2018-08-17 19:12:23 +02:00
Achim Ennenbach
7a616430de
wip #3277 implemented events for:
...
thread created, thread of new user created, thread deleted,
post deleted, post reported
still missing: thread moved, thread split, post created
2018-08-02 22:34:11 +02:00
Cameron
3f5a18fb01
Issue #2980 Tablerender ID - Forum fixes
2018-01-16 13:53:09 -08:00
Cameron
b40b1916a3
Issue #2970 btn-default > btn-default btn-secondary
2018-01-10 15:06:40 -08:00
rica-carv
429386adf5
Update forum_post.php
2017-01-20 20:37:43 +00:00
Gábor
93398f92aa
Update forum_post.php
2017-01-17 12:06:24 +01:00
rica-carv
322a23e4b0
Update forum_post.php
2016-12-13 20:20:17 +00:00
rica-carv
2b181665c4
Update forum_post.php
2016-12-13 20:16:30 +00:00
rica-carv
1ebdfb6783
Update forum_post.php
2016-12-13 19:47:06 +00:00
Cameron
126f89da9f
Code cleanup
2016-12-01 15:38:40 -08:00
Cameron
26bee2b7d5
Issue #2081 - v2.x Shortcode Wrapper now working for Forum Post form.
2016-12-01 13:35:46 -08:00
Cameron
b8cfac8dd7
Issue #2079 Fix for custom forum-post caption.
2016-11-29 12:56:56 -08:00
Cameron
02c7c21223
Merge pull request #2079 from rica-carv/rica-carv-forum_post
...
Enable forum_post custom caption
2016-11-29 12:35:12 -08:00
Cameron
e8ae9bd2c2
Issue #2080 - Use correct template-loading method so wrappers work in v2.x
2016-11-29 12:08:14 -08:00
rica-carv
58009dd3c5
Update forum_post.php
2016-11-29 17:25:15 +00:00
rica-carv
f841c1785b
Enable forum_post custom caption
...
Enable forum_post custom caption
2016-11-29 17:18:18 +00:00
Cameron
73cccc40f1
Issue #2016 - Extra debug info added.
2016-11-17 16:27:36 -08:00
Gábor
1c03863016
Update forum_post.php
...
Add new pharses
2016-09-15 10:17:39 +02:00
Cameron
b05785dd01
Forum: Added missing breadcrumbs to report and move pages.
2016-05-04 09:25:44 -07:00
Cameron
1ad918eb65
Forum: Fix wrapper styling. More work on experimental 'split' function.
2016-05-04 09:13:46 -07:00
Cameron
8dbe69c291
Forum: Experimental topic/thread split feature added. (requires e_DEVELOPER to be true in e107_config.php)
2016-05-03 20:52:46 -07:00
Cameron
dc1c46acc1
Forum Post BC-Fixes. Renamed forum-post shortcodes to avoid name conflicts.
2016-04-27 14:37:43 -07:00
Michael Waskosky
c11d587243
Fix to bot's boolean misperceptions
2016-04-24 18:07:11 -06:00
Michael Waskosky
611ba19838
New method to post forum attachment related data directly (cleaned)
...
Allows posting new forum attachment file data directly with the $_POST request so that uploads and attachment data can be handled before the post is submitted. Alternate types of attachments also become possible then when overriding the forum attachment shortcodes. Data is posted with JSON instead of PHP Array to avoid the chance of eval() related security issues.
2016-04-24 16:56:06 -06:00
Michael Waskosky
a14b3baff7
New method to post attachment related data directly
...
Allows posting new attachment file data directly with the $_POST request so that uploads and attachment data can be handled before the post is submitted. Alternate types of attachments also become possible then when overriding the forum attachment shortcodes. Data is posted with JSON instead of PHP Array to avoid the chance of eval() related security issues.
2016-04-24 16:08:57 -06:00