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
Cameron
bdb45485ee
Code Cleanup
2019-05-20 14:53:43 -07:00
Cameron
6a2fdab074
Fixes #3809 - broken links
2019-05-20 14:18:06 -07:00
Tijn Kuyper
a7b0c92769
#2969 - Forum template BS4 fixes for 'caret' class (dropdown buttons)
2019-05-20 15:35:21 +02:00
Cameron
de5142f4d7
Fixes #3806 Incorrect class on radio container
2019-05-16 11:06:01 -07:00
Tijn Kuyper
08d2ea8fff
#2969 - Forum template BS4 fixes for 'caret' class (dropdown buttons)
2019-05-10 15:41:36 +02:00
Tijn Kuyper
5ff2c80bae
#2969 - Forum template BS4 fixes for 'caret' class (dropdown buttons)
...
And right floating of the options in the postoptions shortcode.
2019-05-10 12:40:03 +02:00
Tijn Kuyper
e6c154f47d
Forum - {JOINED} SC - updated example docs
2019-05-09 12:53:12 +02:00
Tijn Kuyper
0f8589efcd
Forum - allow setting dateformat of {JOINED} SC
2019-05-09 12:51:24 +02:00
Tijn Kuyper
6fd1aef610
Forum - Allow styling of button in { SEARCH}
...
#3584
2019-04-03 12:53:59 +02:00
Tijn Kuyper
7ea518e4fa
Added {FORUMDESCRIPTION} to forum_viewforum.php
2019-04-03 12:31:21 +02:00
Tijn Kuyper
87010ec6d2
Fix forum pagination on viewforum page
2019-04-03 12:25:35 +02:00
Tijn Kuyper
83574f2e4f
#2060 - Make sc_search() shortcode consistent
2019-04-03 12:08:18 +02:00
Tijn Kuyper
ff47a5e84b
Fix Forum {LASTPOSTDATE} SC with "Just now"
2019-04-03 11:12:55 +02:00
Tijn Kuyper
6fad0649fa
Correct Forum VIEWSX SC tweak
2019-04-03 11:11:50 +02:00
Tijn Kuyper
73c93449a6
Update forum SC (VIEWSX and REPLIESX) styling
2019-04-03 10:17:37 +02:00
Deltik
1f824faa69
Renormalized all text file line endings
2019-03-29 19:13:32 -05:00
Tijn Kuyper
e88f22ee2a
#3605 - Fix "Just now" not showing in forum topic relative timestamp
...
Related to 4f90105419
2019-03-22 11:10:37 +01:00
Tijn Kuyper
6df07c3f78
Tweak forum shortcode styling (see previous commit)
2019-03-21 10:17:07 +01:00
Tijn Kuyper
06d4b31fbe
Allow for more styling of forum SC - FORUMNAME, REPLIESX and THREADSX
...
Perhaps related to #2060
2019-03-20 11:42:24 +01:00
Cameron
30c5553dbd
Bootstrap 4 fixes.
2019-03-02 07:47:37 -08:00
Tijn Kuyper
1897fc8f42
Tweak bootstrap check
...
(also take into account BS4)
2019-02-28 14:51:04 +01:00
Cameron
5dc45298f6
Issue #3559 , Fixes #3589 , Issue #2982 , Issue #2927 Replace all glyphicons with FontAwesome.
2019-02-22 14:56:47 -08:00
Cameron
6719a3d491
Merge pull request #3671 from SimSync/fix_3656
...
Issue #3656 : Tinymce shows Mediamanager icons on quick-reply
2019-02-14 14:06:52 -08:00
Cameron
b2e4ce2562
Issue #3587 - thumb image (untested)
2019-02-08 11:11:36 -08:00
Achim Ennenbach
8d7a0da0dc
fixes #3656 : Make the mediamanager icons available in the forum
2019-02-08 13:01:38 +01:00
Jimako
c87220bcc0
partfix #3607 forum dropdowns
2019-01-11 11:03:56 +01:00
phibel
3848560752
ENH allow user to delete his own post, if it is the last post in the thread
2018-10-13 15:55:31 +02:00
phibel
c644a8b9d2
FIX check moderator permissions for thread-operations
...
Without admin permissions (member of user class 254) it was not possible to modify threads in
the forum. This fix get the forum-moderator permissions by the threadId to modify this thread.
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