1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-28 08:39:57 +02:00

133 Commits

Author SHA1 Message Date
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
Jimako
e514a43e54 Fix for Forum permissions for creating topics
FIX #3974
2022-03-27 20:44:19 +02: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
5fd8fdc92b Fixed e107 v1 to v2 forum migration adding check for deprecated files. Fixed breadcrumb subforum visibility and URL when SEFURL is disabled. 2021-09-26 10:43:33 -07:00
Nick Liu
f6d6d1b185 Deprecate e_parse::toJS()
`e_parse::toJS()`, documented with the description

> Convert text blocks which are to be embedded within JS

, does not protect strings from injections, which appears to be its
primary use.  Additionally, it performs multiple unrelated string
modifications:

* Replace Windows line breaks with a literal `\\n` (which would later be
  parsed as `\n` in JavaScript/JSON)
* Does not modify Unix line breaks (`\n`), which is inconsistent with
  the Windows line break behavior
* Removes HTML tags
* Replaces HTML entities as `htmlentities()` does

This method cannot be fixed because its usages are inconsistent.  Most
notably, some usages surround the method's output in single quotes while
others surround it with double quotes.  Strings cannot be JSON-encoded
without confounding quotation mark styles.

All core usages of `e_parse::toJS()` have been replaced with
alternatives, which are also documented in the method's DocBlock.

Fixes: #4546
2021-08-31 00:11:14 +02:00
Cameron
76af210666 Issue #4332 - Bootstrap 5 styling fixes. 2021-02-23 11:11:35 -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
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
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
2ea454d2b9 Closes #718 - Add confirmation dialog when deleting forum topic or post 2019-10-02 12:20:31 +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
eb6401385e Code cleanup 2019-05-26 17:05:29 -07:00
Tijn Kuyper
4a255ebe07 Make forum page navigation consistent with topic nextprev 2019-04-03 12:41:01 +02:00
Tijn Kuyper
7ea518e4fa Added {FORUMDESCRIPTION} to forum_viewforum.php 2019-04-03 12:31:21 +02:00
Cameron
5dc45298f6 Issue #3559, Fixes #3589, Issue #2982, Issue #2927 Replace all glyphicons with FontAwesome. 2019-02-22 14:56:47 -08:00
Jimako
87d02d86e7 partfix #3607 forum dropdown fix 2019-01-11 11:12:10 +01: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
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
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
Achim Ennenbach
4a313ccadf fixes #3192 strip bbcode/html in meta description 2018-08-13 20:23:29 +02: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
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
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
Cameron
1173e3967f Styling for the future. 2017-12-17 11:12:30 -08:00
Cameron
ae4c58c8fb BC Forum topic header fix. 2017-12-17 09:14:27 -08:00
Cameron
7e33124335 More BC Fixes on forum templates. 2017-12-12 15:03:23 -08:00
Arun S. Sekher
55c2291ac2 [html] - Fix invalid html for 'Delete' and 'Move' list items in forum 'Admin Options' dropdown menu.
Cleanup unclosed 'li' tag, unclosed 'a' tag, remove stray 'i' end tags in 'Delete' and 'Move' list items in the drop down menu.
2017-05-23 11:46:59 +04:00
Eduardo Carísio
863e1afee0 Patch for the issue #2506 2017-03-18 23:51:07 -03:00
Cameron
503ac6a54d Issue: #2366 Possible fix for forum css class issue. 2017-02-02 12:28:10 -08:00
Cameron
33d033536c Forum now utilizes THEME_LEGACY check for template loading. 2017-01-15 09:08:50 -08:00
Cameron
a347a450ad Fix SQL query. 2016-12-05 21:29:59 -08:00
Cameron
e22eb860f1 Code cleanup 2016-12-02 12:04:08 -08:00
rica-carv
223f868859 Update forum_viewforum.php
Bootstrap warning output format when no topics in forum...
2016-12-01 22:07:20 +00:00
rica-carv
0a34939fd7 Update forum_viewforum.php
Permisions check should be on post, not thread.
With thread, the "create new topic" is displayed in the dropdown, and it shouldn't if user is not allowed to create posts....
2016-11-21 18:35:52 +00:00
Cameron
555c9a65d6 Merge pull request #2047 from rica-carv/rica-carv-viewforum_head_shortcodes
Allow viewforum top head row to have shortcodes...
2016-11-19 13:35:40 -08:00
rica-carv
dd130074ca Update forum_viewforum.php 2016-11-19 13:44:29 +00:00
rica-carv
369afbcb78 Allow viewforum top head row to have shortcodes...
Allow viewforum top head row to have shortcodes...
2016-11-19 13:25:01 +00:00
rica-carv
e763b90237 Enable templating of viewforum caption
Enable templating of viewforum caption
2016-11-16 20:43:18 +00:00
Gábor
b31340c54c Update forum_viewforum.php
Some correction
2016-09-15 09:06:04 +02:00
rica-carv
fe54bd0377 Forum $fVar, $tVar removal
Forum $fVar, $tVar removal

Added also some code clean up for previous submit #1677 (forum.php & forum_shortcodes.php)
2016-06-14 13:34:52 +01:00
Cameron
0b96543a1a Forum SEF Url fixes 2016-05-24 12:39:45 -07:00