phibel
37d086c418
MNT remove debug print
2018-10-13 15:55:31 +02:00
phibel
9ca28b8fa4
FIX user can transfer his moderator permissions from one forum to an other forum
...
I am working further on the moderator permissions and discovered that my previous commit
692509f is a bad solution. Because the moderator submits the threadId and postID for the post
who he wants to delete. This threadId was used to check the moderator permissions of the postId.
So if a moderator has only permissions for one forum, he could change the transmitted threadId
in an other forum to get there also moderator permisssions...
Sorry that I did not noticed this glitch before I made the previous commit. :-/
2018-10-13 15:55:31 +02:00
phibel
98213ec03c
FIX check if user has moderator permissions for the thread/forum
...
Without admin permissions (member of user class 254) it was not possible
to delete a post in the forum. This fix add the threadId to the ajax query
and fetchs the forum-moderator for the thread which will then checked
against the user permissions/classes.
I added also an additional error message, if something goes wrong.
2018-09-30 23:21:43 +02:00
Cameron
c317515847
Merge pull request #3387 from SimSync/fix_3377
...
fixes #3377 Enabled "preview" button on forum post edit
2018-08-22 18:16:02 -07:00
Cameron
7058aa322d
Merge pull request #3378 from SimSync/fix_1412
...
fixes #1412 implemented a forum image/icon which is displayed in front of the forum name
2018-08-22 18:15:46 -07: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
7ddb9a44db
fixes #1412 implemented a forum image/icon which is displayed in front
...
of the forum name. Displaysize of the image can be defined in the
templates.
2018-08-14 13:52:39 +02:00
Cameron
64b4f9a2a1
Merge pull request #3376 from SimSync/fix_3192
...
fixes #3192 strip bbcode/html in meta description
2018-08-13 13:28:11 -07:00
Cameron
2429f9058e
Merge pull request #3363 from SimSync/fix_3337
...
fixes #3337 usage of old v1 table names
2018-08-13 11:27:27 -07:00
Achim Ennenbach
4a313ccadf
fixes #3192 strip bbcode/html in meta description
2018-08-13 20:23:29 +02:00
Cameron
5df7313606
Merge pull request #3370 from SimSync/fix_3245
...
fixes #3245 eHelper::title2sef() now strips any html or bbcode
2018-08-10 14:19:56 -07:00
Achim Ennenbach
169acdaba3
fixes #3245 eHelper::title2sef() now strips any html or bbcode
...
forum_admin.php: make sure to strip bbcode and html from forum_name
forum_admin.php: make sure forum_sef doesn't contain bbcode or html and is properly formatted
English_admin.php: Added FORLAN_223 = forum_name help text
2018-08-10 21:01:04 +02:00
Cameron
7403d9f59a
Merge pull request #3365 from SimSync/fix_3317
...
fixes #3317 added bbcode template "forum"
2018-08-10 11:15:15 -07:00
Achim Ennenbach
7ff118921d
fixes #3227 changed route to a "clean" sef route
2018-08-10 18:11:41 +02:00
Achim Ennenbach
c1bec2b6d7
fixes #3317 moved the forum template from core to plugin
2018-08-10 11:49:58 +02:00
Cameron
22dc8b8669
Merge pull request #3366 from SimSync/fix_3269
...
fixes #3269 switched v1 tables to v2
2018-08-09 15:39:14 -07:00
Achim Ennenbach
f2b3e1014b
fixes #3171 moved query param p to the options/query parameter of url()
...
Implemented a fiy for accidentally double ampersand in the query part of the url
2018-08-09 21:05:43 +02:00
Achim Ennenbach
0afb9e67bf
fixes #3269 switched v1 tables to v2
...
Fixed issue with null values in table (on duplicate)
2018-08-09 14:52:17 +02:00
Achim Ennenbach
a3dae1ecfd
fixes #3337 usage of old v1 table names
...
new route /forum/?new to display new posts
2018-08-08 20:27:04 +02:00
Achim Ennenbach
181149665d
fixes #3338 fixed typo and e_SELF calling itself (infinite loop)
2018-08-07 12:27:24 +02:00
Cameron
f1a3e207db
Merge pull request #3342 from SimSync/fix_3277_notify
...
Fixes #3277 Forum notification
2018-08-06 13:47:41 -07:00
Achim Ennenbach
d838a825c8
fixes #3059 updated lans (removed html)
...
Renamed lan vars
Cleanup code in e_notify.php
Fixed wrong event name in forum_class.php
2018-08-06 21:50:25 +02:00
Achim Ennenbach
259b2321c4
Moved links from LANs to e_notify.
...
Added toHTML() to parse the post messages.
2018-08-04 20:04:51 +02:00
Achim Ennenbach
480ccc20bc
fixes #3277 implemented events for:
...
thread moved, thread updated, post created, post updated
deactivated: thread split
2018-08-03 20:49:16 +02:00
Cameron
367498b598
Merge pull request #3333 from SimSync/wysiwyg2
...
A new approach to choose wysiwyg editor
2018-08-02 14:07:54 -07: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
Achim Ennenbach
b8dd430458
wip #1
2018-08-02 16:05:53 +02:00
Gábor
112c2a09ef
Update English_admin.php
2018-08-02 09:24:28 +02:00
Gábor
b2785535ef
Update English_admin.php
2018-07-30 09:56:30 +02:00
Gábor
771f04702b
Update forum_admin.php
2018-07-30 09:54:50 +02:00
Achim Ennenbach
e692eecebe
choose wysiwyg editor
...
Now it is possible to have TinyMCE in the backend and SimpleMDE on the forum pages.
wysiwyg() got a new parameter $returnEditor to return the name of the editor.
wysiwyg() now checks if the choosen editor is installed.
wysiwyg() setting a value is not systemwide anymore (static var instead of registry)
Use the bbarea() $options array to define the editor to use e.g. $options['wysiwyg'] = 'tinymce4';
Updated forum_admin.php to support SimpleMDE.
Updated tinymce4/e_footer.php to support the new return value (editor name)
2018-07-29 15:11:40 +02:00
Cameron
e5af746153
Closes #3330 #3318
2018-07-28 13:41:44 -07:00
Achim Ennenbach
26022e4507
choose editor in forum and quick reply
...
New prefs for forum: editor & quickreply
editor makes it possible to choose between bbcode or tinymce (if installed and html enabled)
quickreply gives the option to choose between the standard textarea or the choosen editor (from pref editor)
2018-07-25 22:48:14 +02:00
Achim Ennenbach
5f0ee53c00
fixes #3244 "&" in url definition was broken during parse_str()
2018-07-21 11:44:42 +02:00
Cameron
ce765316dd
Merge pull request #3279 from rica-carv/rica-carv-patch-2
...
Fixes #3260 Incorrect calculation
2018-07-14 12:54:08 -07:00
rica-carv
590245c487
#3260 bug fix...
...
#3260 bug fix...
2018-07-13 19:54:20 +01:00
Achim Ennenbach
be4faf81bb
Fixes #3264 Switched url generation to v2 method
2018-07-12 12:55:24 +02:00
Cameron
31e16310e7
Merge pull request #3237 from Jimmi08/patch-2
...
partial fix #3235
2018-07-04 17:50:50 -07:00
Cameron
f3393f9d7e
Merge pull request #3236 from Jimmi08/patch-1
...
partial fix #3235
2018-07-04 17:50:41 -07:00
Achim Ennenbach
ed17213698
fixes #3087 Missing forum id prevented pagination
2018-07-03 15:41:01 +02:00
Jimako
9b8cc13019
partial fix for problem with breadcrumbs in forum_viewforum.php
...
https://github.com/e107inc/e107/issues/3235
2018-06-30 13:30:18 +02:00
Jimako
5b4cc2f11c
partial fix for problem with breadcrumbs in forum_viewforum.php
...
https://github.com/e107inc/e107/issues/3235
2018-06-30 13:28:06 +02:00
Tijn Kuyper
89e3716c3f
Closes #3040 - NFP template update
2018-06-27 11:40:56 +02:00
Tijn Kuyper
9ce050b995
Newforumposts menu template update
2018-06-27 11:39:38 +02:00
Achim Ennenbach
bd02bd26f7
Fixes #3132 Fixes issue with new forum posts menu not displaying
...
title and post excerpt properly
Added menu config default values, in case some are not properly defined
Added default values to the new forum posts config menu
2018-06-26 21:20:33 +02:00
Achim Ennenbach
d1a90cb0e8
Fixes #3132 after adding the menu to the menu area, the wrong
...
query was executed because no layout was defined. Setting "default"
as default layout if nothing is defined.
2018-06-24 20:11:59 +02:00
Nick Liu
32b844dad3
Grammar correction near previous commit
...
Also cleaned up comments made in previous commit
2018-06-21 23:33:46 -05:00
Achim Ennenbach
94cb469862
Removed the orphaned debug message
...
concerning "legacy forum menu prefs detected. Upgrading ..." as it
actually doesn't detect or upgrade anything.
2018-06-21 23:31:15 -05:00
Tijn Kuyper
a56ffe0e58
Allow for copying forum categories in admin area
2018-06-13 14:48:36 +02:00
rica-carv
6413157b5e
#3123 patch
...
#3123 patch
2018-05-12 13:13:13 +01:00