Questions tagged [userfrosting]

UserFrosting is a user management system for PHP that works out of the box and builds on top of modern components and standards.

UserFrosting is a user management framework and fully-extendable application for PHP.

It is built on top of the Slim micro-framework, the Twig templating engine, and Laravel's Eloquent ORM.

Features

  • User registration and login
  • Self-serve password reset and account email verification
  • User account settings
  • Groups and roles
  • Fine-grained access control with access conditions
  • Admin user creation and management
  • Sleek, responsive frontend interface

Primary Objectives

  • Create a fully-functioning user management script that can be set up in just a few minutes
  • Make it easy for users to quickly adapt the code for their needs
  • Introduce novice developers to best practices such as separation of concerns and DRY programming
  • Introduce novice developers to modern constructs such as front-end controllers, RESTful URLs, namespacing, and object-oriented modeling
  • Build on existing, widely used server- and client-side components
  • Clean, consistent, and well-documented code
75 questions
1
vote
1 answer

How to install asset manager for UserFrosting login system?

I use userFrosting for my login system, i have problem to include css files. I used this code {% block stylesheets %} {{ parent() }} {% endblock %} or this one; {% block stylesheets…
zex_rectooor
  • 692
  • 7
  • 26
1
vote
1 answer

Userfrosting: How to make user login automatically soon after registration

In our usecase, we need to login the user automatically soon after successful registration for enabling, rather forcing the user to: Change password. Upload a file. How to achieve this programmatically, in AccountController's register…
Spurgeon
  • 148
  • 5
  • 12
1
vote
0 answers

Slim get HTTP POST Data

All, something similar seems to have been posted before, however, slim and twig are still very new to me so apologies. A little back ground, I have an application which posts data to http://dev.website.com/post.php Data1="My Date" Data2="More…
Nerden
  • 41
  • 1
  • 6
1
vote
1 answer

Different pages for admins and users [userfrosting 0.3.1]

I want to create different pages for users and admins. It seems that: $app->user->checkAccess('uri_my-whatever-access-rights') does not work for admins, it always validates to true. I don't want the admin to have the same options as a regular…
amivag
  • 91
  • 4
1
vote
1 answer

Userfrosting: Passing Params, Async Data Fetching

I'm quite new to UF and I'm developing a web tool based on the included tooling. I already read all the tutorials carefully and also mostly understand the basic workflows between PHP, Twig, Slim and JQuery. Even though I'm not a professional in all…
thex
  • 590
  • 2
  • 12
1
vote
1 answer

Enabling logwriter in Userfrosting

I'm trying to use the built-in Slim logwriter, but not successful so far. This is what I'm trying, but I get an error. Change to config_userfrosting.php: /*Create a log writer */ $logWriter = new…
accord_guy
  • 314
  • 2
  • 11
1
vote
1 answer

Userfrosting remove /account/ in url

I am using UserFrosting to build my website, and wondered if i was able to remove the /account/ from the url of the login and sign up page?
alex141097
  • 19
  • 3
1
vote
2 answers

Userfrosting: Get working, but not Post

When calling a url with a 'Get' request, I'm able to get a response just fine. However, when I'm calling the same url with a 'Post' request, I get a 'bad request'. Any suggestions/ideas on why this may be happening? Code in the index.php file: //GET…
accord_guy
  • 314
  • 2
  • 11
1
vote
1 answer

UserFrosting: Creating various dashboard widgets that have access to data

[UserFrosting: 0.3.1] Hello, I am currently exploring the UserFrosting environment and architecture. I am trying to create 'widgets' on the main dashboard (dashboard.twig) which need access to various data. e.g. A widget to display a simple list of…
amivag
  • 91
  • 4
1
vote
2 answers

Using maatwebsite excel with userfrosting

I am trying to do an export of custom data which gets fed into DataTables in userfrosting. I have loaded the maatwebsite excel library using composer and the autoload_classmap.php was updated. In the controller I tried using the…
JoeM
  • 21
  • 7
1
vote
1 answer

UserFrosting installation - pages showing with no CSS

I have just installed UserFrosting onto my project on Cloud 9 (c9.io). Everything has gone well apart from the fact that the pages appear with no CSS. Pages appear as plain text. I have registered the master account (that registration page had CSS…
Louis C.
  • 31
  • 5
1
vote
2 answers

Open a file in the browser served from PHP

Simple question, probably been asked a million times but I've searched and am no closer to getting this to work. I have a PHP script within the UserFrosting framework that serves a file to the user via their browser. I would like the file to open…
nockieboy
  • 347
  • 1
  • 3
  • 14
1
vote
2 answers

Why won't datepicker work in a twig in userfrosting?

Bit of a beginner here and this issue has been causing me a headache for over a day. I'm using userfrosting as a framework, with the usual twig files for the web pages. I'm trying to include a datepicker (bootstrap-datepicker.js hasn't worked,…
nockieboy
  • 347
  • 1
  • 3
  • 14
1
vote
4 answers

Posting large form to php file

I have a form that has about 100 inputs on it that I am sending to a php file to submit the data. I am trying to find the best way to code the submit file, where I would not have to code each post value.
1
vote
1 answer

Confused in slim framework and javascript ajax combination

I'm traying to make an ajax action in my project which is developed by Userfrosting system (A system that uses slim framework and twig). There are 2 html select tags in sections.php called country and city. When country is chosen, cities in that…