HazzardWeb supports this item


This author's response time can be up to 1 business day.

419 comments found.

Hello great script ! just have on trouble on reminder.php page, whathever the email i write in the field, I can’t retrieve the password and I obtain the following error “Oops! Something went wrong.” Can you help me please ? :) Thanks a lot

Hi, use the browser console to see the error from the server http://docs.hazzardweb.com/easylogin-pro/1.2/debugging

Make sure you have configured the mail.


tempww Purchased

I’m very interesting. Do you have a plan for yahoo login?

Hi, I’ve tried once but for some reason it didn’t work. I had some problems with their api.


I’m looking for a plugin for my customer ( a lawyer ) Their new clients can make an account. The lawyer can write the progression about their case in their account. The client can login and see this progression.

Is this possible?

Thank you much.



Please could you provide me the login details for the demo (admin and client)

Just click on that alert http://prntscr.com/fdvc45 and it will log you in with admin / admin

Ok, thank you!


tempww Purchased

Does the code uses email to identify user row in database while logging in?. I see the demo have just 1 session variable in cookie after loggedin. Is it possible, if the same user login facebook , google, tweeter using the same email?.

My website currently use username and password to select row in DB and store userid and hash username,password to cookie. Then uses userid to select row in database after loggedin. Any ideas are welcome. I have to integrate the code with my system.


It just uses the user’s id. The cookie you’re seeing in the browser is the PHP cookie for the session.

There will be another cookie if you check Remember Me at login that is a random token stored in the db.


tempww Purchased

What ’s happend if the same email such as 1234@gmail.com has logged in via facebook, tweeter, google. User have to signup new user record or query existing user row using that email.

If a user with the same email as your Facebook/Google etc already exists then you will be asked to enter another email. But you can link your other social accounts and be able to log into the same account with different social networks.

Try it on the demo.

Hi, in the user fields php code I want to add text from the language file but it does not seem to reading the languages

I have tried a lot of different ways of coding it including:

‘content_before’ => ’’._e(‘main.infotext’).’’,

in userfields.php

Any idea?

Thanks, sorry I did not explain myself correctly, this will not work with my code

'content_before' => ' <div class="panel-group" id="accordion"> <div class="panel panel-default"> <div style="class=" panel-heading=""> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapse1" onclick="window.location=\'#myAnchor\'"><strong><span class="fa fa-arrow-down" /> Basic Info (HERE IS WHERE I WANT THE LANGUAGE </strong></a></h4></div><div id="collapse1" class="panel-collapse collapse"><div class="panel-body">', </div></div></div></div>

Just concatenate your html: 'content_before' => 'html' . _e('...') . 'more html',

Thats the first thing I tried, if I do that I just get a blank output

Hi I have a quick question, I added custom fields like the example in http://docs.hazzardweb.com/easylogin-pro/1.2/userfields and the Fields show correct in the backend and register page, the only issue I have and didn’t figure out is why is not showing the data in the settings.php?p=profile I fill up the form but the custom fields just save in DB but after refresh it dont echo the data :( did I miss something, please help and give a quick example or file to edit, thanks.

I found the Issue, was that I use Cap letter, now is working :) great Script my friend, is so easy to add this kind of fields, and best documentation :)

Good script, But I would suggest you to adding an option to disabling/enabling private message. Some users might not need it.


to3o Purchased

I would like to ask for and store usermeta-first_name and usermeta-last_name during signup/registration. I’ve already added the input fields in the front-end form. How could I do store the values by altering the $user = array(...) in /src/Hazzard/Auth/Register.php ? Is it possible since these value are stored in usermeta table based on already created user?


to3o Purchased

Answered my poorly stated question. In order to capture and display First Name and Last Name in the signup form, one simply needs to check and set the “assignment” values in userfields.php such as ‘assignment’ => array(‘signup’‘).

With 2 factor authentication becoming almost a requirement lately, do you plan to add that feature here? Also are the comments site-wide or can they be used multiple times for different pages to have their own comments?

Hi, there are no plans for 2fa at the moment. You can have different comments on each page by using a page identifier.


to3o Purchased

Have you tested GitHub oauth recently? Would you please check and confirm if it’s working on your end because I am getting “Call to a member function getAuthorizationUri() on a non-object” when I try to sign with GitHub. Facebook, Twitter, and Google work flawlessly.

I registered the OAuth application at https://github.com/settings/applications/ and have configured Client ID and Client Secret per your instructions http://docs.hazzardweb.com/easylogin-pro/1.2/social-auth#github but no luck.


to3o Purchased

Any insights?


the plugin looks exactly like what I need, I only have 2 follow-up questions: 1. I need to create a B2B webshop within an authenticated area where I only want authenticated people to see it. Is that possible with your plugin? 2. Are you still updating and supporting this plugin, as the Demo seems to be broken when you select other items?

Thanks and best regards,


Oh and I forgot point #3: I want to create 2 different user roles and they need to get access to different parts of the homepage that the others may not see. Is that possible?

I cant signup users with the form. ajax.php returned me error: { error :{ type : Whoops\\Exception\\ErrorException , message : Interface ‘Swift_Transport’ not found , file : /opt/bitnami/apache2/htdocs/ivri/src/Hazzard/Mail/MailgunTransport.php , line :8}}

{ error :{ type : Whoops\\Exception\\ErrorException , message : Interface ‘Swift_Transport’ not found , file : /opt/bitnami/apache2/htdocs/ivri/src/Hazzard/Mail/MailgunTransport.php , line :8}}

Hi, what PHP version do you have ? What mail driver do you use ?

5.6 through bitnami. i dont want to use any mail. i configured the app to work without mail activation,

Hi. How can I totally disable comments and leave only the p.messages? Thanx

You’ll just have to edit the page and remove the code that renders the comments.


dlhooks Purchased

Hello, I like your login product but I am having a problem with posting avatars. When a user uploads a picture, in varying file formats and in different browsers, it never actually posts the picture. There are no error messages like “Oops Something went wrong”. When I try to inspect the progress bar as it’s uploading this is the error message I get:

jquery.imgpicker.js:338 POST website url/ajax.php?action=avatar 500 (Internal Server Error)

As I understand there are no config items to do for uploading images correct? Any help with this issue would be greatly appreciated. I’m hosting on godaddy with phpmyadmin. It looks like all the other functionality is working except for this. Purchased recently.



dlhooks Purchased

{message Token Mismatch. Reload the page.”,success}

Whoops \ Exception \ ErrorException (E_NOTICE) HELP A non well formed numeric value encountered website url/elp2/easylogin-pro-1.2.11/src/Hazzard/Support/ImagePicker.php

$val = trim($val); $last = strtolower($val[strlen($val)-1]); switch ($last) { case ‘g’: $val *= 1024; case ‘m’: $val *= 1024; case ‘k’: $val *= 1024;


Hi, replace src/Hazzard/Support/ImagePicker.php with this one: https://gist.github.com/cretueusebiu/7972213ee03f70cd984642591e2cde78


dlhooks Purchased

Awesome. Its working now. Thanks for the quick reply.


mrtouz Purchased


Do you have any idea why ?

Uncaught TypeError: $(...).imgPicker is not a function at HTMLDocument.<anonymous> (settings?p=profile:641) at j (jquery-1.11.1.min.js:2) at Object.fireWith [as resolveWith] (jquery-1.11.1.min.js:2) at Function.ready (jquery-1.11.1.min.js:2) at HTMLDocument.J (jquery-1.11.1.min.js:2)

I am trying to implement the “basic” or “basic+ajax” but it is not working.

Also, if i only use (with no templates) the /basic/settings.php (raw html + php) i get a 404 error Image Not Found.


Hi, yes there is a problem with basic/settings.php , you’ll have to add:
<meta name="csrf-token" content="<?php echo csrf_token() ?>">
in the <head> section.

But the basic-ajax/settings.php works fine for me. Do you have it online ? Send me the link.


mrtouz Purchased

Ok thanks, it is working now, not with my theme (i guess there is conflict somewhere but it is working fine)

Thanks a lot man, BTW, what you built is awsome!


mrtouz Purchased

Thanks a lot, i did found the conflict. I’m loading your files after the ones i have and it works fine.

Thanks again

Hi, What payment methods does the script support? Thanks

Hi, this script does not have a payment feature.


mrtouz Purchased


Do you have any information on how to work with the messaging system between users while using the “basic” form of your script.

I see that everything is made by the modal window, data is fetched instantly (new message) and it is great. Also, once the window is opened everything is pretty easy from there as to select a conversation or send a new message…

Problem is, this feature is (correct me if i am wrong) not available with the “basic” version.

What files do i need (css / js) to implement the messaging section ?

Thanks a lot.

Unfortunately the message system doesn’t work if you just use the basic version.


mrtouz Purchased

Oh ok. Fine. I will try to implement but the modal doesnt seem to do it.

If you want to implement the UI and just use the core classes and methods see this section in the docs http://docs.hazzardweb.com/easylogin-pro/1.2/messages


mrtouz Purchased


I know it is not what your are here for but i amhaving an issue with your ajax search exemple:

I keep getting the “CSRF Token Mismatch. Reload the page.” error.

- CSRF is correctly set on meta

- AjaxUrl (ajax.php) is included in document (after meta)

- Function ajax_search() is set above function ajax_login as asked

- I do not have a duplicate or call jQuery twice.


$.ajaxSetup({ headers: {‘X-CSRF-Token’: $(‘meta[name=”csrf-token”]’).attr(‘content’)} });
has been tried (i looked in all 417 comments to search for answer :/) I put it before the
$(document).ready(function() {
    $('#searchQuery').on('input', function () {

- the code i am using is the one you provided at https://gist.github.com/cretueusebiu/74c1d1748452c7b8c1d8

If you have any info ?

Hi, sorry for the late reply. It should work. Have you checked the Network tab in the browser to see if the header is sent to the server ? Can you send me a link to your site so I can check it maybe ?


mrtouz Purchased

Hello, sorry for comming up with so many questions but i believe i am touching something important.

While trying to perform a user search with 3 joins (from the code you provided) i tried a whereBetween search for birthday and i get no results.

I’ll explain, i first created the code and inside the arrays for wherBetween i put numbers like 20, 60. I replaced the birthday values on all my user fields so it shows ages and not birthdays, when the code runs and do get the perfect results.

But, when i change back to birthdays as m/d/Y format and do a search whereBetween no records show.

I do believe it is because the format in database is text and not DATE. i would like to run the code as DATE but it is impossible to store birthdays field as DATE in the admin panel.

The problem is that when you use the custom fields you can’t use the mysql date functions because the fields are text.

You’ll have to add another date column to the users table and use that to save the user birthday. Then you’ll be able to use the whereBetween function.


mrtouz Purchased

great man will try that, you are trully awsome

edit: correct me if i am wrong, i’ll need to make an other join so i could use users tables data?


mrtouz Purchased

Unfortunatelly i tried updating users table but without any luck

Each time i try to process the data i get this error:

Uncaught TypeError: Argument 1 passed to Whoops\Run::handleException() must be an instance of Exception, instance of Error given in /home/nrmlmeppif/www/vendor/filp/whoops/src/Whoops/Run.php:233 Stack trace: #0 [internal function]: Whoops\Run->handleException(Object(Error)) #1 {main} thrown

Tried with: (no data pulled from FORM in case i have an error inside the form) also through this method i have no issues to update with Usermeta::update

if (isset($_POST['submit']) && csfr_filter()) {

$user = User::find(1);
$user->dob = '11/11/1111';


And as mentioned in docs i can also use Models or Queries directly so tried with

        ->where('id', 1)
        ->update(array('dob' => 'foo'));

I guess i am missing something, but i am looking through your code where the updates happen an other than validations i see nothing missing (do not believe validation is necessery as this is no production site).

Note: to create the column for DOB i just created a new one inside phpmyadmin as a DATE format… should i also add it inside the script from somewhere ? I do not believe it is necessera as when i do $user->dob data is pulled from database….

Hmmmm, (scratching my head)

If you have any info… thanks again for the time you spend here.

BTW: i do not mind paying for “extra” support if this is too much hasle as i do not know where the supports starts and end as per user modification of your script.