loshMiS

loshMiS supports this item

Supported

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

494 comments found.

Hi again, I am also receiving error while enabling 2FA. “Whoops, something went wrong”. I added my authy key properly, but I do not know what’s causing the error

Hey,

I’m sorry but I cannot verify if your account has valid support, since I don’t see that you have purchased the script from this account. Please post questions from the same account from which you have purchased the script.

Regards,

Milos

hassajo

hassajo Purchased

HI. I have a problem when i try to upload a profile image.. Nothing happend, and the image is not uploaded.. What should i look for to fix this? Everything else is working fine.

Hey,

Always start from your browser’s console, since if anything unusual is happening, you will be able to see it there. Also make sure that while you debug the application, you switch it to development mode (https://docs.vanguardapp.io/development-mode.html) so you can see all the errors.

Regards,

Milos

hassajo

hassajo Purchased

HI, thanks for the reply.. It was some problems with the permissions in the assets folder.. Now is everything working :)

Hi, I’m looking forward to buy this script. Is there some API which outputs the user details & permissions to integrate the script with other PHP Applications?

Hey,

If you need a REST API, then unfortunately the answer is no. I’m working on implementing the API, but it is still not ready and current version of the script does not have it out of the box.

Regards,

Milos

Hi,

So, I have collected the purchase code, as you’ve stated:

Purchase code – a8f2af33-52c6-4a2b-a645-109c277fa4bc

There have been a series of issues that I’ve face while using your product, brilliant as it is. First off, when I tried to enable 2FA for a particular user, the application displays a “Whoops, something’s wrong page.” I’ve followed the documentation to include the Authy API key in the .env file (and I’ve double checked its validity). Could you please help me out with this?

Thanks, Ehfaz

Hey,

Hmm I’m not sure how your existing system looks like, but make sure that you don’t have class name collision with some of Laravel’s default classes (like Response for example).

Also, which Vanguard’s code exactly have to added to your project on localhost/spruce page?

Regards,

Milos

Hey,

Sorry, I was sick for the past few days, hence the late reply. The code that I’ve placed on the localhost/spruce page is as below:

<?php

// This should be equal to: PATH_TO_VANGUARD_FOLDER/extra/auth.php require_once ’../VG/extra/auth.php’;

// Here we just check if user is not // logged in, and in that case we redirect // the user to vanguard login page. $to = “http://localhost/spruce/admin/dashboard”; if (! Auth::check()) { redirectTo(’../VG/public/login?to=’.$to); }

?>

We are still stuck on the problem, and there doesn’t seem to be any clashing class names. Do you think you could help?

Regards, Ehfaz

Hey Ehfaz,

The Vanguard’s code you have added on top of your page looks ok. I’ve just tested everything again, and it is working without any errors, so it must be something with the PHP code you have on that page after this Vanguard part which check if use is logged in.

If you don’t want to share your code here, you can send me private message via contact form on my CodeCanyon profile page so I can see the whole page you have there.

Also, make sure that you include this Vanguard code at the very top of your page, and then include other code related to your app below it.

Regards,

Milos

hello Milos Nice to see you have removed Entrust and build your own. 3 things I would recommend, and then I would buy again is: 1. Have the option to add permissions to a user, so you can give special permission to one user without creating a role (like this: https://github.com/spatie/laravel-permission) 2. Give the option to give a user more than one role. 3. Make the activity logger translatble so that it also will translate the log view (something like this: https://github.com/Regulus343/ActivityLog)

would this be something you would be able to make?

regards Martin

Hey Martin,

Thanks for your comment. :) Here are the answers to your questions/suggestions:

1) I’ll consider adding this in some of the future versions.

2) Unfortunately the idea of Vanguard is to have users that belong to one group (have one role) only and multiple permissions. This is something that I probably won’t change in the future.

3) Well activity logger is actually translatable, and it writes the log description using the translatable sentences from app.php language file for currently active language (which is english by default). However, once log description is written to db, it is just being displayed like that, no matter if you change the language after.

Regards,

Milos

kenlyle

kenlyle Purchased

My team and I really like your feature set, and would like to use Vanguard in our Laravel project.

However, our Auth core is SAML (keycloak) backed by LDAP. We did a detailed comparison chart of Vanguard vs. keycloak and LDAPAdmin features, if you want to see. We determined that keycloak is very strong, but that PHPLDAPAdmin is pretty weak, and would like to use Vanguard as a PHPLDAPAdmin replacement as much as possible, taking advantage of your UI work, maybe automated tests, dashboard, user activity logs, etc.

Do you have any interest in working with us to extend Vanguard in this way? We have substantial keycloak and LDAP experience on the team. If not, any advice?

Hey,

I’m really glad you like the app, however I don’t have time for such development work now, since I’m working full time on some other projects that I have.

I cannot give you some smart advice here since I don’t know anything about your system, but just make sure that it can be integrated with Vanguard easily even before you start working on it.

Thanks once again for contacting me.

Regards,

Milos

hi, i’m looking for an user management script like this but it needs to work with an oracle database, can someone confirm,that vanguard works with oracle?

Hey,

Unfortunately I cannot confirm that Vanguard will work properly with Oracle database, since it is not tested with it. You will probably need to modify some things in the way it interacts with database to make it work properly with Oracle.

Regards,

Milos

ngmnhat

ngmnhat Purchased

Hello,

Do you provide Git / SVN repository of this package? It’s easier for me to track changes when you update source code.

Thanks

Hey,

Yes, I have it however I prefer not to add my customers to that repo. That’s why I include git patches inside the “documentation/Patches” directory, where you can see all the changes that I’ve done to the app. If you open it with Sublime text (or some similar text editor) you will see it colored (added lines will be green and removed will be red).

Regards,

Milos

mmogah

mmogah Purchased

When i change the session type in env file from database to array or memcached, it doesn’t work. the first one gives token mismatch error while the later one gives error for class not found. How do we fix this?

Hey,

Well “array” sessions are used only for testing purposes, and for memcached driver you must have Memcached PECL package installed on your server, and, of course, memcached itself. This is nothing that is Vanguard specific, and it is how it works with any other Laravel 5.4 application.

To learn more about Laravel sessions check: https://laravel.com/docs/5.4/session

Regards,

Milos

mmogah

mmogah Purchased

how can we return the username of current logged in user for app using global php session? $_SESSION‘vanguard’ does not work.

Hey,

Please check Laravel’s documentation to learn how to use sessions in Laravel: https://laravel.com/docs/5.4/session#retrieving-data

About getting the email for currently authenticated user, you can do it like following:

$email = \Auth::user()->email;

Regards,

Milos

How can I include a new page for users and how to use the session and lot more may i know the clear document for what need to do when we like to insert a new page and apply permission accordingly

Hey,

In order to customize and extend Vanguard, you must be familiar with Laravel PHP framework. If you are familiar with Laravel, then adding new pages, using session and similar stuff is pretty straight-forward.

Don’t forget to check Vanguard’s documentation too: https://docs.vanguardapp.io/

Regards,

Milos

I’m not familiar with laravel then how can i

Hey,

Well in that case, unfortunately, you won’t be able to modify and customize the application. At least some basic knowledge of Laravel PHP framework is required if you want to customize it.

Regards,

Milos

Pre-sale question:

Hi – I would like to use your script to protect some content from unregistered users, but I need to add active users in from my own PHP code. I guess your system doesn’t have an API – but is it easy enough for me to add users directly into the db (when they have successfully completed payment outside of this script)?

Hey,

Well it’s pretty easy to add the users directly, but you will have to use the same algorithm for hashing passwords (bcrypt) so users can then authenticate with Vanguard.

Basically, depending on your project, you should be able to include Vanguard’s classes into your system and create users using Vanguard’s classes and methods. To learn more about how you can integrate Vanguard with your own system and use it’s classes, check https://docs.vanguardapp.io/existing-website.html

Regards,

Milos

mmogah

mmogah Purchased

is there instructions for extending login to other socialite? how do we add steam? https://socialiteproviders.github.io/providers/steam/ seems need to follow different guide to make sure works with vanguard.

Hey,

For Vanguard, and any other Laravel application that use Socialite, you can use default drivers out of the box, and for any other driver (like steam for example) you can use socialite drivers built by community, that are available on the website you provided above.

So, you would first need to follow that guide from link above to add Steam Socialite driver to the application, and then to extend Vanguard to allow authentication with steam. For extending Vanguard and adding new social auth provider, check https://docs.vanguardapp.io/adding-social-auth-provider.html

Regards,

Milos

hi, I found a bug, after composer update, got error page on login. please test it.

Whoops, looks like something went wrong.

2/2 ErrorException in Container.php line 794: array_key_exists() expects parameter 2 to be array, boolean given (View: D:\www\ossv4\resources\views\auth\login.blade.php) in Container.php line 794 at CompilerEngine->handleViewException(object(ErrorException), 1) in PhpEngine.php line 44 at PhpEngine->evaluatePath(‘D:\\www\\ossv4\\storage\\framework\\views/8930ebe7fc7ea329475366fd7ece7d4926c6e498.php’, array(‘__env’ => object(Factory), ‘app’ => object(Application), ‘errors’ => object(ViewErrorBag), ‘socialProviders’ => array(‘facebook’, ‘twitter’, ‘google’))) in CompilerEngine.php line 59 at CompilerEngine->get(‘D:\\www\\ossv4\\resources\\views/auth/login.blade.php’, array(‘__env’ => object(Factory), ‘app’ => object(Application), ‘errors’ => object(ViewErrorBag), ‘socialProviders’ => array(‘facebook’, ‘twitter’, ‘google’))) in View.php line 137 at View->getContents() in View.php line 120 at View->renderContents() in View.php line 85 at View->render() in Response.php line 38 at Response->setContent(object(View)) in Response.php line 225 at Response->__construct(object(View)) in Router.php line 602 at Router->prepareResponse(object(Request), object(View)) in Router.php line 560 at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 30 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in RedirectIfAuthenticated.php line 41 at RedirectIfAuthenticated->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in SubstituteBindings.php line 41 at SubstituteBindings->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 65 at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49 at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64 at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37 at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59 at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 102 at Pipeline->then(object(Closure)) in Router.php line 561 at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 520 at Router->dispatchToRoute(object(Request)) in Router.php line 498 at Router->dispatch(object(Request)) in Kernel.php line 174 at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 30 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in RemoteValidationMiddleware.php line 54 at RemoteValidationMiddleware->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyInstallation.php line 29 at VerifyInstallation->handle(object(Request), object(Closure)) in Pipeline.php line 148 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 102 at Pipeline->then(object(Closure)) in Kernel.php line 149 at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116 at Kernel->handle(object(Request)) in index.php line 54

Hey,

Thanks for letting me know. It looks like the bug was caused by some updates in Laravel version 5.4.19. For now, just update your composer.json file to require Laravel “5.4.18” and run “composer update” and everything will work as usual.

Btw, please extend your support for this item if you need my help for any Vanguard related features and possible bugs like this.

Regards,

Milos

by
by
by
by
by
by