loshMiS

loshMiS supports this item

Supported

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

859 comments found.

Vito227

Vito227 Purchased

When will your next major update be available?

Hey,

Next major update will be released in about 1-2 months.

Regards,

Milos

Do I need to install Laravel on my server before attempting to run? I have a CentOS server running WHM and cPanel. What to do?

Hey,

You don’t need to install Laravel separately. Vanguard already comes with Laravel inside the zip file you have downloaded from CodeCanyon and, if your server meets the requirements you just need to follow the installation documentation: https://docs.vanguardapp.io/installation.html

Regards,

Milos

Hi my friend,

Is it possible to updates the following? Occupation, and family access group to be able to access their children records. which means each family will have their children register under their account. Please let me know how much will it cost.

Hey,

Unfortunately, it’s not possible to do something like this out of the box. You will need to customize it for such behavior.

I’m sorry but I’m not available for any custom work at the moment.

Regards,

Milos

Hi, i’m on a old version old Version on Vanguard, and i try to use api rest, but when i have create a test route on api:

Route::group([‘middleware’ => [‘auth:api’]], function () { Route::get(’/test’, function (Request $request) { return response()->json([‘name’ => ‘test’]); });

Route::get('/user', 'TestController@test');

});

The procedure return me the error:

ReflectionException in Container.php line 681: Class throttle does not exist.

i have created the controller, and it was build when i call the rest. In the call i send also the token and the user autentication was returned true. .env file add EXPOSE_API=true

What i forget to set???

Hey,

I’m sorry but I don’t see that you have purchased Vanguard in the past. Please use the same account for posting the comment that you used for purchasing, so I can verify if you still have valid support.

But, anyways, I would recommend you to upgrade to the latest version since there are a lot of changes in between, especially related to the API.

Regards,

Milos

Hi Josh, once again I need some support… I tried several things, but found no solution. Which directory is protected against access without permission? Means where can I place files for the users (e.g. for to download) so that those files only are accessible for logged in users?

I tried many folders, but always the files were accessible directly via http://domain.tld/path/to/the/file.pdf

What would you recommend?

Thank you verry much in advance, Thomas

Hey Thomas,

It’s not possible to protect a directory (directory means a folder that exists on your server) with Vanguard.

If you want to have some section where users can download the files, then you need to create a new page and add necessary models, controllers, and views for it. Then, through that page, you can utilize the “download responses” (check https://laravel.com/docs/5.6/responses#file-downloads for details) to serve the files to the users.

Of course, those files should then be placed in some directory that is not accessible via HTTP. A “storage/app” directory is a good place for keeping those files for example.

Regards,

Milos

Hello, is there an update on Bootstrap4 in the near future?

Regards

Peter

Hey Peter,

Yes, bootstrap 4 update will be released in 4-6 weeks.

Regards,

Milos

hello, comes with the next update also a functipn that the user can select his language? Regards Peter

hi, i need your login system with laravel 5.1. it’s included?

Hey,

Vanguard comes with Laravel 5.6 and it is already inside the zip package you can download after you purchase the item. It won’t work with older versions of Laravel.

Regards,

Milos

Hello, there is a simple example to be able to connect to a new table and display it like in country selection in a select field. I would be grateful for a little help.

Regards

Peter

Hey Peter,

Well, I don’t have such example, but it should be basic Laravel task and there is nothing Vanguard specific there.

In general,

1) You will need to create a migration for that new table. Check https://docs.vanguardapp.io/registration-form.html#database for a bit more info.

2) You then need to create a model for that database table.

3) Add/modify a controller where you will pull the data from DB and pass it to the view.

4) Create/modify a view (blade.php file) and render that select field.

Regards,

Milos

hello, I need a few extra adjustments, do you also do that for money? Regards Peter

Hey,

I’m sorry but I’m not available for any custom work at the moment.

Regards,

Milos

Maybe you can advise on something that driving me insane!, Somewhere in your classes is burried a setting forcing the datepacker to use mm/dd/yyyy instead of dd/mm/yyyy can you advise where youve set it? all overrides inline with bootstrap/jquiry ui such as format=”dd/mm/yyyy” are getting overridden id be greatful if you can advise

Hey,

The default datepicker format for birthday is “YYYY-MM-DD” and it is set inside the `public/assets/js/as/profile.js` file.

Regards,

Milos

nope tried that I’m afraid its still locking general date Inputs as mm/dd/yyyy even with format=’‘dd/mm/yyyy” being set ….

Hey,

I guess you are talking about date input field and not the datepicker jQuery plugin… The datepicker format is set inside the profile.js file I mentioned above and it is being used for birthday input field on profile page.

The format for text input field is determined by your browser’s locale and, from what I know, you cannot customize it manually. I recommend you to use standard text input with datepicker plugin instead of date input field, since it is much easier to customize.

Regards,

Milos

i get blank screen when first trying to install , only blank screen

Hello again , we have a question concerning the users , what we want to achieve is that we have like an agency and each agency has its own agents , so an agent will be in one agency , and agency can have multiple agents , is this possible to achieve using your script ? if so what can you advise us to do , else what can we do to achieve this structure ? best regards

Hey,

Unfortunately, it’s not possible to achieve such structure with Vanguard out of the box. If I understood you correctly then what you want to achieve is commonly known as multi-tenant architecture and you can maybe organize your app like following:

1) Modify the database structure and add one more table to keep agency info.

2) Assign an agency id to a user by adding “agency_id” field in users table.

3) During the login, you will need to figure out the way on how users can select the agency they want to log in. You can do it via custom subdomains for example, or maybe by adding one more field (something like an agency number) to the login form. I would advice you to read more about multi-tenant architecture and learn how you can do what you want to. :)

I hope that this will help you a bit. :)

Regards,

Milos

Thank you very much for the help, but we r not looking for multi tenant , we just want the same dashboard for all agencies , but we want a way to see to wich agency agant is related ,

I need to know where I can install the script.

what hosting is recommended, which does not cost much

And obligatory, a vps ?

Hey,

You can install the application on any server that meets the following requirements: https://docs.vanguardapp.io/#server-requirements

It doesn’t have to be a VPS since the app also works on shared hosting, but it is recommended to use VPS because you have much more control over what needs to be installed and enabled on the server.

If you are familiar with managing linux servers, then I would recommend Digital Ocean. If not, you can go with any hosting provider that you are familiar with.

Regards,

Milos

Hello, I want to buy your login system to integrate it with my Android app. But I need more details:

1. Can I set custom permissions for facebook login (except public_profile) and other providers?

2. Can I retrieve all the data as if I use the official sdk of every provider? (like profile pictures and so on)

3. Can I install it in the same database my system use or I will need a seperate database only for vanguard?

4. What if a user first time login with facebook and another time login with google or register again with email and password? How the system will handle this situation?

Thank you in advance for your answers. Spyros

Hey Spyros,

The answers to your questions are provided below:

1) You can modify the application however you want, including the permissions you want to require from Facebook. However, this means that you will need to customize the app itself to actually utilize the additional data received from Facebook.

2) Vanguard uses Laravel Socialite under the hood, which means that you can retrieve anything you want by making additional API calls to the provider’s API. To learn more about Laravel Socialite, please check the official documentation: https://laravel.com/docs/5.6/socialite

3) You can use the same database and, if you want, you can specify a custom prefix for all vanguard tables during the installation.

4) If a user logs in with Facebook for the first time, Vanguard will automatically create an account for that user and associate it with his email address. Next time, if you log in with any social auth provider which uses the same email address, you will be automatically logged in under the same account and Vanguard won’t create any new accounts for you.

However, if you try to register manually with the same email address, you’ll get the message that email is already taken and you won’t be able to proceed.

Regards,

Milos

tBeza

tBeza Purchased

Hi,

The following code doest work:

class AddForeignKeys extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
       Schema::table('users', function (Blueprint $table) {
            $table->foreign('country_id')->references('id')->on('countries')->onDelete('set null');
            $table->foreign('role_id')->references('id')->on('roles');
        });

        Schema::table('social_logins', function (Blueprint $table) {
            $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('users', function (Blueprint $table) {
            $table->dropForeign('users_country_id_foreign');
            $table->dropForeign('users_role_id_foreign');
        });

        Schema::table('social_logins', function (Blueprint $table) {
            $table->dropForeign('social_logins_user_id_foreign');
        });
    }
}

it yields this error

In Connection.php line 664:

  SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'users_users_country_id_foreign_foreign'; check that column/key exists (SQL: alter table `users` drop foreign key `users_users_country_id_foreign_foreign`)  

In Connection.php line 458:

  SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'users_users_country_id_foreign_foreign'; check that column/key exists  

on running

php artisan migrate:refresh
tBeza

tBeza Purchased

Greetings,

Thank you. Yes, i have done a fresh install from file on codecanyon still the same error!

tBeza

tBeza Purchased

Hey i am still waiting for your fix on this issue

Hey,

I’ve tested this on multiple servers with different PHP and MySQL versions and everything is working as it should. Of course, I did the tests with the version available on CodeCanyon.

So, I guess there is something wrong with your DB or server setup which is related to creating and naming indexes. As you can see the error says that it cannot drop the “users_users_country_id_foreign_foreign” index, and it is because that index does not exist at all. The index name is “users_country_id_foreign”, as you can see from the migration file…

I would recommend you to either update the database or PHP version or to use php artisan migrate:fresh command instead. Since you have issues only when you want to rollback the migrations, it won’t affect your application in any way.

Regards,

Milos

Hi I have some questions in regards to your system before purchasing, I am building a web application for a hair salon and am looking for a login system.

I also have integrated a booking system and I require the users details from the login system to auto fill the booking systems details such as there name, birthday, address and contact details when they are logged in?

Will this be possible with this system?

Hey,

It really depends on your current system.

In general, you can do something like that with Vanguard. However, since Vanguard is built on top of Laravel PHP Framework, you must be familiar with Laravel to be able to customize and integrate Vanguard into your existing project.

Regards,

Milos

Can you provide older version of this plugin?

Hey,

I can send you the older version from the archive after purchase, but I only provide support for the latest version available on CodeCanyon.

Regards,

Milos

gamadev

gamadev Purchased

hi loshMiS

I have a problem when I try to connect by api http://groupecorsma.net/test/public/api/users/1 http://groupecorsma.net/test/public/api/users

i get this message ” Unauthorized”

please how to fixit

the content of .env file is :

APP_ENV=production APP_DEBUG=false APP_KEY=base64:xxxxxxxxxxxxxxxxxxxxxxx APP_URL=http://vanguard.dev

DB_HOST=localhost DB_DATABASE=xxxxxxxxxxx DB_USERNAME=xxxxxxxxxxx DB_PASSWORD=xxxxxxxxx DB_PREFIX=

CACHE_DRIVER=file SESSION_DRIVER=database QUEUE_DRIVER=sync

MAIL_DRIVER=mail MAIL_FROM_NAME=Vanguard MAIL_FROM_ADDRESS=vanguard@test.dev

JWT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxx

EXPOSE_API=true

Hey,

Please check the API documentation. You need to be authorized to make those requests which means that you need to send the Authorization Bearer token via request headers.

Btw your support for this item has expired. Please extend the support if you have any similar questions.

Regards,

Milos

Hello, great script.

I want to buy it for our internal use, we will add the users ourselves, but I would need to add 3 new fields to the profile and be able to add every time the user physically visits our company thru admin.

Is it possible and easy to do?

Thank you

Hey,

Thanks, I’m glad you like it! :)

Yes, you can easily customize the app and add those fields. However, don’t forget that Vanguard is built on top of Laravel PHP framework, so you must be familiar with Laravel to be able to customize and extend the app.

Regards,

Milos

Hi Milos, pre-sales question. (Amazing job btw). I’d like to integrate Vanguard with a file management system. I don’t have any specific app in mind. Do you have any recommendations or know of any “document management systems” that Vanguard has been integrated with by purchasers of your software. Since Vanguard is PHP based, obviously any PHP library would be implemented, but I wondered what would be relatively simple to achieve. Any insight would be helpful and I’ll probably purchase either way.

Hey,

I’m glad you like the app! :)

Unfortunately I don’t know if any of my customers has used it for something like that. But, since Vanguard is built on top of Laravel, I’m pretty sure that there are some cool packages that you can use to implement a file/document management system. Maybe something like this will help: https://github.com/UniSharp/laravel-filemanager

Regards,

Milos

by
by
by
by
by
by