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
7
votes
1 answer

Uploading a file with twig and Slim framework (Version 2) - PHP

I'm using UserFrosting a user management system and I'm having some trouble uploading a file through form post, this is what I tried This is how my twig file looks.
Gerald Hughes
  • 5,771
  • 20
  • 73
  • 131
4
votes
1 answer

How to add a custom MySQL query to userfrosting page which shares a database with Prestashop?

I installed Userfrosting on the same hosting where I have Prestashop installed also. Userfrosting uses the same database as the Prestashop. I want to create a page where the users registered on Userfrosting can review their sales on my ecommerce.…
attila
  • 49
  • 4
3
votes
1 answer

How to bulk import users into userfrosting?

what is the best way to bulk import users into userfrosting? I tried importing CSV into uf_users table with flag_verified and flag_enabled set to 1, with requisite fields (id, user_name, display_name, password) While data shows up in admin…
Spurgeon
  • 148
  • 5
  • 12
3
votes
1 answer

Error redirects for OpenCart with UserFrosting

So I have been working on integrating OpenCart in to UserFrosting (http://www.userfrosting.com/). Basically I am making all the admin dashboard pages load in the UserFrosting dashboard by using .load to inject the pages into a div on my own html…
Winters
  • 53
  • 7
3
votes
2 answers

Google maps Type Error: a is null

I have looked at similar questions and can't seem to find a solution. I am using UserFrosting which is based on TWIG/Slim framework. My code is below, and produces the following error with no map displaying. TypeError: a is null1…
fst104
  • 816
  • 1
  • 10
  • 22
2
votes
3 answers

Direct URLs & delete confirmation forms

I am seeking a best practice advice for implementing delete confirmation forms. The following page, among other options, contains delete button... /website/features/f/123 ...when clicked a simple form gets loaded under following…
Luke G
  • 1,741
  • 6
  • 23
  • 34
2
votes
1 answer

UserFrosting & AWS SDK

I have the following code working as expected outside UserFrosting: "; require_once '../vendor/autoload.php'; use Aws\Common\Aws; $aws = Aws::factory('../aws/aws-config.json'); $client = $aws->get('S3'); $bucket =…
Luke G
  • 1,741
  • 6
  • 23
  • 34
2
votes
0 answers

UserFrosting + QT: Authentication similar to OpenID?

I am currently working on a project involving a Windows desktop client based on QT that needs to be connected to a server hosting an user management software (OpenID) for user authentication before further operations within the client. I am tasked…
darkarn
  • 53
  • 1
  • 3
2
votes
1 answer

Adding users directly from the database [UserFrosting 0.3.1]

I want to add a number of test user accounts and it's a lot faster to do it directly from the Database. There are a couple of fields that I cannot figure out: secret_token: How do I generate this on the fly? Is it necessary? Can I copy it from…
amivag
  • 91
  • 4
2
votes
1 answer

Rendering custom PHP code [UserFrosting/Slim]

[UserFrosting 0.3.1] I want to execute a custom PHP file, bypassing other UserFrosting architecture. Slim's $app->render("myfile.php") does not seem to work. It expects a twig file in the themes directory, it won't execute a PHP script. How do I…
amivag
  • 91
  • 4
2
votes
1 answer

File Upload in Userfrosting

We need to have the user upload an image as a part of sign up process. Had tried accessing $_FILES['filename'] in the controller, which turns out to be undefined under slim. Had seen about Slim's way of file uploading in a couple of articles, which…
Spurgeon
  • 148
  • 5
  • 12
2
votes
1 answer

Userfrosting best practice for helper functions

What would be the best practice to have custom code (library of functions) in a project using userfrosting? As of now, I modify existing userfrosting controllers, which bloats the nice concise code. I guess there is a nice way to keep custom…
Spurgeon
  • 148
  • 5
  • 12
2
votes
0 answers

userfrosting post json with csrf

I am porting a web application to userfrosting I need to post a JSON data object. I am struggling with the csrf token. The following code works fine with CSRF in userfrosting var postdata = { field1: 1, filed2: "data", …
Pandos
  • 21
  • 2
2
votes
2 answers

Trying to embed php within my twig files whilst using userfrosting

I need to include some form of API call within my userfrosting site, however I am finding it difficult to find a way to do this. I have seen that one of the ways to add PHP to twig files is by creating an extension, but this does not seem to be what…
O. Rowley
  • 31
  • 4
2
votes
1 answer

What is the best way to add a parent group to user groups in userfrosting?

I'm new here and this is my first question. First of all I apologize for my poor English. I would like to create an application using userfrosting 0.3.0 where: Anyone not registered can create a super group (eg a company) At that time an…
1
2 3 4 5