x00
MVPx00 MVP
Reactions
-
Re: CombineAssets on nginx
Just tried it an works fine. Combine assets should be in /cache/css if not you haven't set permissions correctly, you may need to create this folder. that will also be the problem with consolidate. (View Post)1 -
Re: CombineAssets on nginx
this works by chance the second line won't be reached. location / {try_files $uri $uri/ /index.php?p=$uri&$args;rewrite ^/(.+)$ /index.php?p=$1 last;} replace with location / { try_files $uri $ur… (View Post)1 -
Re: CombineAssets on nginx
you don't have to use an alias, but say for instance the folder is in a subdomian, you are not using the whole $uri&$args;. The rewrite ^/(.+)$ /index.php?p=$1 last; isn't reached anyway. args wo… (View Post)3 -
Re: Can I set permissions for plugins by user role? (Vanilla 2.1 stable) SOLVED
In plugin you can set new permissions in the RegisterPermissions part of the $PluginInfo, then you can use Gdn::Session()->CheckPermission('YourPermission') or even just CheckPermission('YourPermi… (View Post)3 -
Re: Can I set permissions for plugins by user role? (Vanilla 2.1 stable) SOLVED
This is backwards. Roles are assigned permissions. Permissions determine access not roles. Roles are how you assign different sets of permissions to different users. Yes you can do it, it but is is n… (View Post)2
