-
-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving forum post blank page #3619
Comments
Just making some notes while trying to figure this out. May be related to userclass permissions issue: Clean install:
|
@phibel You did a lot of work on this specific area (https://github.com/e107inc/e107/commits?author=phibel). Could you look into why a Main Site Administrator is not able to move forum posts on a clean install? |
Query gets no results because $postID = 0. I think this: e107/e107_plugins/forum/forum_post.php Line 70 in 4becf60
needs changing to: $moderatorUserIds = $forum->getModeratorUserIdsByPostId($this->id); |
Did a quick look into it and the methods to move the thread always look for a constant named MODERATOR being set. If not, moving is not allowed. |
|
In case the post id is not set use the thread id to look for the moderator ids
All my test users were a member of the moderator class of the thread/forum, so I think thats why I did not run into this problem. I will try to look at it until Wednesday @Moc. |
Are you saying that i have to create a group called MODERATOR? |
Welp, that didn't work... |
So from seeing this, I can't have different groups managing specific forums. That kinda defeats the point of having forum permissions, no? |
@BigBoiJefe no, just hang on a little longer. There is a bug in the core code which causes this issue. |
I think my last commit should fix this issue. PR #3620 is submitted. |
The solution from @SimSync looks good to me, I tested it in my installation. |
Once the LANs are fixed, I'll merge in the fix. |
issue #3619: Missing moderator ids on forum move
@BigBoiJefe You can try and test now with the latest files. The issue should be fixed. |
@Moc confirmed working. Thanks! |
When I try and move a forum thread the page that I get redirected to is blank. Any idea what's causing this? I am running the most current github branch. Thanks!
The text was updated successfully, but these errors were encountered: