1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 03:10:50 +02:00
Commit Graph

175 Commits

Author SHA1 Message Date
Cameron
1e6bf9df94 Added Forum breadcrumbs to {---BREADCRUMB---} 2019-06-15 10:20:32 -07:00
Cameron
eb6401385e Code cleanup 2019-05-26 17:05:29 -07:00
Tijn Kuyper
a82c278598 Fix forum query - parent_sef now displaying correctly 2019-04-12 14:21:01 +02:00
Achim Ennenbach
e30d901259 issue #3277: fixed conditional for user_forum_topic_created_probationary event 2019-01-16 11:58:26 +01:00
Jimako
3b158218cf Fix #3338 - marked more than one forum as read
Because $currentUser['user_plugin_forum_viewed'] is not refreshed after adding one thread,  it's still the same and only last thread is changed
2019-01-06 13:48:56 +01:00
phibel
e2789872a5 FIX the database was not updated when a post was deleted
Looks like someone was interrupted during work and than it was merged into the repo?
Anyway, the needed information are stored in $postInfo[] and not in $row[].
2018-10-13 15:55:31 +02: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
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
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
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
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
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
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
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
65f840d5b3 #2287 - Fix for LAN loading in forum plugin 2017-01-17 00:42:28 +01:00
Cameron
126f89da9f Code cleanup 2016-12-01 15:38:40 -08:00
Cameron
a9c40a8f00 Issue #2053 - Forum missing SEF URL debug info added. 2016-11-21 17:21:07 -08:00
Cameron
e5d9b896ca Issue #2016 Fix for forum "New Post" indicator icon. 2016-11-17 16:14:25 -08:00
Gábor
e0b2248662 Update forum_class.php
Add lang codes
2016-09-15 10:55:12 +02:00
rica-carv
96235b5f08 Pull errors fix
Pull errors fix
2016-06-15 10:08:20 +01: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
00c640626d Forum #295 Preparations for thread/topic filtering. 2016-05-22 11:58:27 -07: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
699257e3c3 Forum triggerData fix. 2016-04-22 09:01:18 -07:00
Cameron
798d1d4c91 Corrected Forum event data. 2016-04-22 08:45:11 -07:00
Cameron
3c2def3a31 Issue #1493 : Allow tracking of topics via tracking page only (no emails). (work in progress) 2016-04-05 11:21:53 -07:00
Cameron
2dedb86ba8 Viewable By shortcode added. Forum deleted template corrected. 2016-03-26 15:17:11 -07:00
Cameron
e401e4b4ac Correction to last commit. 2016-03-26 12:54:08 -07:00
Cameron
74f0e2f3d9 Forum: Fix for SEF Url on Redirect to post. 2016-03-26 12:29:32 -07:00
Cameron
a4583a4f52 Forum: Fix for forum creation access rights. 2016-03-24 20:14:56 -07:00
Cameron
cd57f1aef8 Forum notice fixes and bootstrap3 poll styling. 2016-03-23 20:13:26 -07:00
Cameron
825ab74984 Custom Forum title now respected throughout. 2016-03-23 17:25:21 -07:00
Cameron
bf2db49dd1 Forum now allows for multiple attachments in a single user selection. For update thread/count should now working with PDO. 2016-03-21 14:32:02 -07:00
Cameron
bda0d9d2a3 Fixes #1433 - Forum Attachments/Image data would become corrupted while editing. 2016-03-20 18:35:14 -07:00
Cameron
77ae461fc6 Remove error message when 0 records returned. 2016-03-03 15:24:59 -08:00
Cameron
12da3187b5 Fixes #1395 - Moderator: Array issue. Fixes some BC breadcrumb links. 2016-02-28 13:08:43 -08:00
Cameron
486f3d4961 Issue #1356 - PHP7 Fixes. 2016-02-14 12:15:55 -08:00
Cameron
550968d78a Issue #1336 and Forum menu prefs upgrade and newforumpost_menu fix. e_menu.php pending. 2016-02-10 19:51:32 -08:00
Cameron
cff27bf17a Issue #1298 Forum Query Fix and general cleanup. News Image Dimensions added where possible. 2016-02-07 22:25:12 -08:00
Lóna Lore
391f7c2148 Fixed: bug when you use "Quick Reply" twice (in forum). 2016-02-01 11:43:03 +01:00
Cameron
ee32537db4 Issue #784 - Track overview page rewrite. Forum template upgrades. 2016-01-31 21:44:11 -08:00
Cameron
cad4e9d869 Fixes #784 - Forum Tracking rewritten. Requires additional testing. 2016-01-31 19:26:08 -08:00