Questions tagged [zfcuser]

ZfcUser is a module for use with Zend Framework 2 in PHP. It handles user authentication. It is part of the Zend Framework Commons suite of modules.

ZfcUser is a zend framework module for handling User authentication + registration. It work with Zend DB out of Box. It provide following features.

  • Authenticate via username, email, or both
  • Registration
  • CSRF Protection

Their are plugin for this modules for work with Doctrine 2 & Mongo DB ODM

194 questions
0
votes
1 answer

Use ZFCUser in two Modules with different configuration

my Application has two modules. One for the main application (App) and one for backend administration (Admin). For both I need an user management so I'd like to use ZFCUser. But I want to have different entities and database tables for the backend…
anho
  • 21
  • 1
0
votes
2 answers

How to do the ajax + json using zf2?

i am using zf2. i want to load my second drop down by using the ajax call. i have tried with following code. i can get hard coded values. but i dont know how to add database values to a array and load that values to the drop down using ajax. Ajax in…
user3498966
0
votes
1 answer

zf2 how to use 3rd party module in my own specific module (based on route)?

I'm developping a website by ZendFramework 2. I have 2 modules: module for administration called Administration(route defined like www.mysite.com/admin/...) et module public site called Application(route defined like www.mysite.com/...) I…
jinxmanj
  • 1
  • 1
0
votes
1 answer

Can't install zfcuser on Zend Framework 2

I'm starting a new project, so I installed the skeleton zf2 project from github. I followed the instruction provided here https://github.com/ZF-Commons/ZfcUser, to install zfcuser. I used composer to install zfcuser and changed the required…
Ricardo Neves
  • 495
  • 3
  • 11
  • 24
0
votes
1 answer

Automatically authenticate a user who logged in using Facebook (ZF2)

I'm using ZfcUser in a ZF2 application. What I'm trying to do is to allow a person to authenticate using Facebook. The Facebook authentication part works fine: I request a login URL from the Graph API, redirect the user to login and request…
Ruben
  • 5,043
  • 2
  • 25
  • 49
0
votes
3 answers

catching the login event of ZfcUser with Zend framework 2

i am using zfcUser with Zend Framework 2. i want to capture the login event so that i can do something with it and also redirect the user to a different page. i know how to catch the register event. ie i place a onBootstrap in my module.php file…
paul kendal23
  • 171
  • 2
  • 3
  • 14
0
votes
1 answer

extending zfcuser with custom radio fields

i am using ZFcuser with zendframework 2 and want to extend the registration form to enable me to add a radio field. i followed the tutorial here it works ok and i am able to render and obtain the values for imput tags. the problem comes when i…
paul kendal23
  • 171
  • 2
  • 3
  • 14
0
votes
0 answers

Zf2 wont load the layout properly when the url is with the id

my controller is public function loadprojectAction() { $this->layout ( 'layout/layoutin' ); $id = (int) $this->params()->fromRoute('id', 0); echo $id; if (!$id) { return $this->redirect()->toRoute('album', array( …
user3498966
0
votes
1 answer

How to create a upload form using zf2?

am creating a user profile form and i want to add a image upload input.its a update form. this is my form. in this case am trying to store the image file in image folder and i will get the file name and store it in the database.
user3498966
0
votes
1 answer

ZFcuser get information with inner join

I have a user table with a store id column (store) that correspondent with a store table. I'm retrieving this store id with a custom entity object. Application/Entity/User.php namespace Thuiswinkelen\Entity; class User extends…
Royw
  • 599
  • 5
  • 24
0
votes
2 answers

Using Bootstrap Modal for ZfcUser in ZF2?

as i am a complete newbie to Zend Framework this might be a total beginner question: I did some tutorials and now i have a Zend-Framework skeleton-application with ZfcUser (and ZfcBase) up and running. Everything works fine so far, but what i want…
bquarta
  • 559
  • 6
  • 19
0
votes
1 answer

How to increase the idle timeout for zf2 zfc-user bjyauthorize

I built an application using Zend Framework 2 (ZF2). I use zfc-user and bjyauthorize to handle the authentication for the application. Everything works perfectly fine except the "idle timeout" is very short (possibly around 10 minutes). So if a user…
0
votes
1 answer

ZfcUser and custom showAction()

I've got a problem. I'm using zfcuser in my project, and now i want to create profile pages. I'have created the showAction() in UserController, but when i put the url to webbrowser, i will got 404. public function showAction() { $id = (int)…
Franky238
  • 511
  • 5
  • 21
0
votes
1 answer

ZF2 EdpDiscuss module usage

I am new to ZF2. I am trying to use EdpDiscuss module, I've downloaded from here. I put the main file to modules, and added module to application.config.php. When I var_dump active modules $modules =…
Kudlas
  • 659
  • 7
  • 24
0
votes
1 answer

How to add ZfcUser login form to the ZfcUser route if not authorised and show admin panel if authorised?

Firstly, I have ZfcUser, ZfcAdmin (also I have BjyAuthorize) installed. I want to show log in form if client is not authenticated and show admin panel if client is authenticated. I have to do something with default ZfcUser route /user. As I…
Sharikov Vladislav
  • 7,049
  • 9
  • 50
  • 87