faumeier on "[Plugin: Asgaros Forum] Roles"

ساخت وبلاگ

Tommyfoxy2
Member
Posted 3 months ago #

Will there be roles added like "Moderators" for example?
And with that, is there any plans for forum settings like only certain roles allowed in a forum etc?

https://wordpress.org/plugins/asgaros-forum/

I think I could implement a moderator feature in a later version but I am not sure yet on how to implement it in a good way. I think it would be nice to use the existing role-functionality of WordPress because I want to avoid that each plugin has its own user-control/access-management.

... is there any plans for forum settings like only certain roles allowed in a forum etc?

I wrote a little plugin for this because I am already using the User Groups plugin from Katz Web Services (https://wordpress.org/plugins/user-groups/) on one of my sites. So I thought it would be nice to use the existing user groups settings of this plugin and integrate them in Asgaros Forum. You can find a development version of this user-groups/asgaros-forum integration plugin on my GitHub site:

Asgaros Forum User Groups

Maybe it can be useful for you. But be aware that there is a bug in the actual User Groups plugin v1.1.3 which breaks some functionality with WordPress 4.4. You can find a workaround here https://wordpress.org/support/topic/admin-is-not-allowed-to-manage-these-items?replies=3#post-7759330 as long as there is not a bugfix release from the creator of the User Groups plugin.

FYI: Moderator functionality has been added to the dev-version and will be available in version 1.0.8:
https://github.com/Asgaros/asgaros-forum/commit/cf5ff9e285688de3ff1d3470011ad4e3431be586

Tommyfoxy2
Member
Posted 2 months ago #

Awesome, thanks

Hi, I want to reproduce this setup. Where do I put the files from Github? I downloaded the zip file and put it in the plugins Folder, but it does not show up as a plugin.

thanks!

1. Install https://wordpress.org/plugins/user-groups/
2. Download https://github.com/Asgaros/asgaros-forum-user-groups
3. Copy content so its looking like wp-content/plugins/asgaros-forum-user-groups/asgaros-forum-user-groups.php
4. Create usergroups in Users -> Usergroups
5. Add users to usergroups in Users
6. Edit Forum -> Categories for usergroups

But I havent tested it for the latest version.

1) Done Version 1.3.1 is installed.
2) Done
3) Checked, the folder. It had a "master" in it. Removed that and now it's looking like your example.
4) Done, two groups "inte 1" and "inte 2"
5) Done each group has one user in it

6) That's where I am stopped now. Should the groups be selectable in the "Access" drop down list?

WordPress is version 4.5 and Asgaros Forum is version 1.0.14.

And thanks for the quick answer!

6) No, there should be a "Limit access" selection where you can select user-groups.

No, it does not show up.

Is there a way to test this any further? I only know a bit about php, I am not a programmer.

Do you see your created usergroups on that page? It is working fine for me:
http://fs5.directupload.net/images/160420/qb7mhc7f.png

No, I don't see this. And I don't see the plugin in the plugins list either.

I think the folder structure is not correct. You have to upload it so it is looking like this:
wp-content/plugins/asgaros-forum-user-groups/asgaros-forum-user-groups.php

Make sure that there is not another subfolder in wp-content/plugins/asgaros-forum-user-groups. And make sure that the name of the folder is correct.

faumeier
Member
Posted 3 minutes ago #

Hi, I found the problem. The permissions on the folder were incorrect. After I set them correctly (just like the permissions of the other plugin folders) it works fine.

Thanks for your help!

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 104 تاريخ : يکشنبه 5 ارديبهشت 1395 ساعت: 20:47