Questions tagged [cakedc]

CakeDC refers to a series of open source plugins for the CakePHP framework such as CakeDC Users, CakeDC Search, CakeDC Ratings, CakeDC Tags, CakeDC Migrations, CakeDC Imagine, CakeDC Comments and more

CakeDC refers to a series of open source plugins for the CakePHP framework developed by Cake Development Corporation include:

GitHub: https://github.com/CakeDC?tab=repositories

159 questions
0
votes
1 answer

CakeDC Users create a custom login url or extend the default with url paramter

First thanks for reading my question. I'm working on a website based on CakePHP 4 with CakeDC users installed. By default this plugin is using the url website/login to allow user to login. Because I want to change the redirect based on a parameter I…
0
votes
1 answer

CakeDC Users appears to be unable to load custom Controller

I have a CakePHP application running on Cake PHP 3.8.13, CakeDC Users 8.5.1 and PHP 7.4. I am attempting to use a custom controller so that I can adjust the behaviour of the LoginTrait and PasswordChangeTrait. I have been following the documentation…
Andrew Gill
  • 361
  • 1
  • 14
0
votes
1 answer

CakePHP DC Users 8.5.1 customising to use email

I have a CakePHP application running on Cake PHP 3.8.13 and CakeDC Users 8.5.1. I am currently able to log on using the username field, but I would like to use the email field for authentication. I have followed the instructions on…
Andrew Gill
  • 361
  • 1
  • 14
0
votes
0 answers

How to use CakeDc\Auth with unanthenticated allowed actions?

With CakePHP 4.0 and CakeDc\Auth 6.0, I tried to setup a RBAC-based permissions app using middleware implementation (instead of Components). Everything works okay, besides actions which should be accessible without authentication (like /login,…
0
votes
0 answers

CakePHP4 / CakeDC keeps asking to login

I'm using CakePHP 4.0.4 and the latest CakeDC plugin. My configuration: Application.php class Application extends BaseApplication { public function bootstrap(): void { ... standard CakePHP code ... …
GreyRoofPigeon
  • 17,833
  • 4
  • 36
  • 59
0
votes
1 answer

How to make redirection work properly for google login on CakeDC's user plugin?

I'm using cakeDC's users plugin (8.5.1) to restrict my CakePHP (3.89) site to only members of my organization and have followed these…
pg.
  • 2,503
  • 4
  • 42
  • 67
0
votes
2 answers

Cakephp 3.8 - The "default" transport configuration does not exist

I have: set up a cakephp 3.8 application. installed cakedc.users 8.4 succesfully configured the facebook login integration You can ignore the points 2 and 3 because my problem is on the registration email sending. When i try to sign up a user, the…
Disu
  • 113
  • 10
0
votes
0 answers

cakephp/ cakedc routes and urls

I'm using CakePHP3 with CakeDC, and setup my routes like this: /* config/routes.php */ Router::prefix('Customers', function($routes) { $routes->connect('/', ['controller' => 'Dashboard', 'action' => 'index']); …
GreyRoofPigeon
  • 17,833
  • 4
  • 36
  • 59
0
votes
1 answer

How to have different dashboards based on roles with cakedc plugins / users & acl

I am using CakeDC Users & ACL plugins in my CakePhp app. I have different roles for my users in my app and I would like to have different dashboards based on roles after login. I extend the plugin with my own table and controller based on the…
Amélie
  • 17
  • 7
0
votes
1 answer

CakeDC register page redirect when clicking anywhere on the page

This is utterly bizarre behavior and I haven't found anything like it anywhere online. I've installed Cake DC with the Register page active. When I click anywhere on the register page, it immediately gives me a "You are not authorized" Flash message…
bemoore
  • 84
  • 7
0
votes
2 answers

Beginner: cakephp 3.6 installing cakedc/users

I am trying to set up CakeDC/users on a freshly set up App. I have changed app.php config file to point to correct database (works) From CMD I have done the following: cd c:\xampp\htdocs php composer.phar create-project --prefer-dist cakephp/app…
Paul Snell
  • 33
  • 2
  • 8
0
votes
1 answer

CakeDC's Forum plugin with a prefix

We're using CakePHP 3.5.17 and would like to use the forum plugin from CakeDC: https://github.com/CakeDC/cakephp-forum We installed it with Composer, and added this line in the app's bootstrap.php : Plugin::load('CakeDC/Forum', ['bootstrap' => true,…
Ecorce
  • 123
  • 2
  • 11
0
votes
1 answer

The page isn’t redirecting properly error with plugin CakeDC/Users creating new user no superuser

I did a fresh installation. CakePHP 3.6 and CakeDC/Users everything following the docs. I have created custom UsersController.php with the traits for users administration under the admin prefix and after logged in with superuser (created from…
lightbyte
  • 566
  • 4
  • 10
0
votes
1 answer

CakeDC Users - Custom Configuration issues

I've added a permission to my permissions.php file: Users.Username.displayed = true/false so that I can decide whether or not I want to use usernames, or just stick to email + real names depending on my application. I've got this all set up and…
Sanfly
  • 1,021
  • 1
  • 11
  • 19
0
votes
4 answers

CakePHP 3 Plugin reference JS in a Template file

I have my register.ctp Template file in my Users plugin that I want to reference a js file that is also within my plugin vendor/cakedc/users/webroot/js/password-compare.js How do I reference this js file in my Template file? I've tried
Sanfly
  • 1,021
  • 1
  • 11
  • 19