-
Notifications
You must be signed in to change notification settings - Fork 25
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
No is possible define moderators #1725
Comments
Hello. if you want define the moderators by the "Forum Permissions" of forums and subforums, is necessary that alterate table in SQL. BACKUP first of all! First, access the forum_forum_perms and click in SQL Query with this code: Done? Ok, access the file functions.php in includes folder, and open the file. In last line, insert the function:
This function no change or cause crash in your forum. She call the resource if YOU call her. Save your file "function.php" and, access the folder of your theme. This is, the theme that is applied in your forum (Fifteen or Sunrise). In this folder, open the file thread.php in folder views and find by: Ok. Now, you already configure the yours moderator permission. Remember that this resource is to forum permission, and that exist the function native for define the moderators. For me, is good like this, ok? Access the backstage folder in root forum, and open the file "board.php". Find by: I go explain this before of you change informations, ok? How you can define the moderators, you can create a column with the field of type checkbox. And this field is only for members that they are in group moderators (you can see good, if you open your phpyadmin, in forum_groups) with name g_moderators = '1'. Ok, let's go! You go create a new "TH" tag in table. After of: And find by:
Ok, if you save the file and acccess your panel, you can see the function, but, no work still. You can find by this: After of: Find by: find by: find by: ufs! Now find by: You can see that this code INSERT the permissions, right? So... You can add the "can_moderate" in list. The new code is: Save, and you can see one subforum or forum in your panel and change the permission for your moderators group. |
Hello!
I can not define the users as Moderator in Luna. Yes, the user is in group of Moderators, but, in the forums and subforums, the functions of moderator no appears, and when he access the page by URL, the forum says "you not can access this page"!
In the file thread.php, exist this variable:
<?php if ($is_admmod): ?>
Searching in the repository, this variable not exist or return 0 if user no is ADMIN.
The text was updated successfully, but these errors were encountered: