Code

Discussion on Vanguard - Advanced PHP Login and User Management

loshMiS

loshMiS supports this item

Supported

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

905 comments found.

When update has bootsrap 4. Bootstrap 3 and very old.

The site where I insert your user panel, has template made with bootstrap 4

I need to know urgently how many days, do this update.

Hey,

I already started working on it, but it is still not ready to be released. Unfortunately I cannot tell you the exact date but it should be ready in about a week or so.

Btw, for any further questions please use my new official help desk available at https://milos.support-hub.io/ since sometimes I might miss the comments you post here.

Regards,

Milos

i just put it into my proyect directory and a run it according with the instructions and i get:

Parse error: syntax error, unexpected ’?’ in C:\xampp\htdocs\servindustrial.com\si-admin\login\vendor\laravel\framework\src\Illuminate\Foundation\helpers.php on line 233

last message you told me just install it and so and so

wot am i doing wrong?

Hey,

You most likely don’t have the appropriate PHP version required for running Vanguard. Make sure that you have at lest PHP 7.1.3 or higher.

Btw, for any future questions please submit a ticket at https://milos.support-hub.io

Regards,

Milos

For the /active-users page we create through documentation, I can follow along and remove Active Users from sidebar (if not a member of users.manage), what can I do in the ActiveUsersController to require a member of users.manage in order to display page? For example if someone enters URL manually www.vanguard.com/active-users => Forbidden is the result I want. Thanks

Hey,

Please check the following article: https://milos.support-hub.io/articles/working-with-vanguard-permissions

It explains how you can use permissions and apply it via middleware on route or controller level.

Btw, for any future questions please submit a ticket at https://milos.support-hub.io

Regards,

Milos

Hello i have a laravel website with registration and login authentication but i want to block a withdrawal page on my site for unverified users. I want users to upload an ID before they can make withdrawals. So each time a user clicks on withdraw, a popup should appear to fill a little id form and upload document. After i check and verify the user, he can then access withdrawal page. Can your script do this? And each time a user is verified, there should be a verified icon on the user account page.

Hey,

Well out of the box Vanguard does not come with such feature. However, if you are familiar with Laravel PHP Framework, you can use it as a base and customize it to fit your needs. It will handle a lot of user managing staff for you out of the box.

Regards,

Milos

hello, when is the update on bootstrap4 ready? Regards Peter

Hey,

Bootstrap 4 update is ready and it will be released in few days, as soon as I complete the documentation and stuff. But, if you want to get it earlier, just submit a private ticket at https://milos.support-hub.io and I’ll send you the latest version.

Regards,

Milos

bararto

bararto Purchased

What version of bootstrap has? do it has v4? it is possible to add a mailer to this? (single or mass mail to users/members/roles etc..)

Hey,

It has bootstrap 3 and bootstrap 4 version will be released soon.

It’s possible to add the mailer to the application but, of course, you need to be familiar with Laravel PHP framework to be able to implement that since it does not come out of the box.

Regards,

Milos

any plans on implementing session management so something like 1 session per user etc? I know it can be done with customization, but was wondering if this is planned for a future update? If so any eta?

Hey,

Yeah, that feature is on the list of things that I’ll add in the future. Unfortunately, it won’t be implemented in next few months for sure, since I have few other features that I will implement first.

Regards,

Milos

We loved your framework and we are considering buying it, but for our system we need multiple roles per user. Will you be able to add this functionality in the near future? I would also like to know why did you decide to write your own components instead of basing your developments on existing framework, like for example Sentinel?

Hey,

I’m glad you like it! :)

Unfortunately, adding multiple roles per user won’t be implemented in near future. The idea is to use permissions when you want to allow a user to do multiple things and to make him have only one user role at the time.

I decided to wrote my own components because Sentry, for example, will introduce unnecessary complexity for simple checks if user has specific role or permission. It also comes with authentication part which is already built into the Laravel core. So, the main reasons for implementing it on my own is complexity and ability to control the development process.

Regards,

Milos

Do you know what this error means? PHP Version 7.0.30 can’t install + the .htaccess file doesn’t allow the page to load at all

Parse error: syntax error, unexpected ’?’ in /home/usernamehere/public_html/vanguard/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 242

Deleted and re-uploaded, making sure /storage folder and all inside are 777 + the settings.json file but same error. It appears my server has all the required software but I can’t even get to the installation page. I bought this last year but didn’t have php7, now I do and it sill is not working and my support time ran out :(

ok sorry the error means php7 is not installed as I thought, back to Easy Apache thanks

Is there a way to download previous versions? For example Version 2.1.1 since we would like to stay with Laravel 5.5 for now.

Hey,

Unfortunately no, it’s not possible to do download previous version from CodeCanyon. If you need version 2.1.1, you can create a ticket at https://milos.support-hub.io and I’ll send it to you as an attachment.

However, keep in mind that I cannot provide support for old Vanguard versions.

Regards,

Milos

Hi Milos,

Just sent a ticket. No problem in not getting support for old versions, I understand.

One more question though, is it okay to update and old version like (Version 2.0.0 – Laravel 5.4) to the latest one (Version 3.0.0 – Laravel 5.6) directly, skipping multiple versions? Or do I need to do each upgrade until I reach the latest version? It doesn’t mention in the upgrade guide for situations like this.

Thank for the reply!

Regards

Hey,

I’ve just replied to the ticket.

Unfortunately you cannot skip versions while doing the upgrade and you need to do each upgrade until you reach the latest version.

Regards,

Milos

pecky

pecky Purchased

Hi I know my support has expired so not asking for any as I’m working through the issues myself, but thought I’d point out the issues I’ve had installing a fresh copy of the new version.

1. Install script failed: (errno: 121 “Duplicate key on write or update”) (SQL: alter table `permission_role` add constraint `permission_role_permission_id_foreign` foreign key (`permission_id`) references `permissions` (`id`) on delete cascade on update cascade)

2. Assets folder needs to be in root folder rather than public as the path is not being picked up. When you log into the dashboard there is no styling until assets folder moved.

3. It works until I follow Changing Application’s Public Directory in the install instructions it fails to load with The Mix manifest does not exist.

I have updated the APP_URL= in the .env file

It may just be my server setup, but have been using this for some time and had no issues with earlier versions.

Hey,

1. You should remove all old database tables before you try to install the application again. From the error you are getting it looks like there is already some data inside the “permission_role” table…

2. You should not move the assets folder at all. All you need to do is to wrap the all mix('...') calls with url(mix('...')) in resources/views/layouts/app.blade.php file. This is already fixed and I’ll upload the update soon.

3. The error you are getting is most likely there because you moved the assets folder.

Regards,

Milos

pecky

pecky Purchased

Hi,

I’d already identified the url(mix(’...’)) change from looking at laravel mix manifest issues on google

I’d tried copying and duplicating the Assets folder whilst testing and even with the update above, renaming the public folder to anything else, or trying to Change the Application Public Folder results in Mix Manifest not found.

Will delete everything and start again just in case I changed something else whilst working through it yesterday.

Hey bro :)

I already own your other login script. I was wondering what you mean by “more robust” talkin about Vanguard ? I already integrated it in my PHP script and it’s working fine. Can you please tell what Vanguard has more ?

By the way, i never tested it, but does my script have session expire and if yes, where can i change the value ? Thanks!

Hey Dan,

There is absolutely no need to redo it with Vanguard. AS is safe as well and you can go with Vangaurd only if you need those extra features like permissions, JSON API etc.

Regards,

Milos

Great bro.

I must say you really have done a great job on those two scripts. As a coder of advanced PHP and JS myself, i created 3 API interconnected platforms (encrypted social media site, file encryption site and encrypted video streaming site). AS, which i slightly tuned for my own needs, protects my SM site perfectly.

Thanks for that :)

Hey,

Thank you very much for your kind words. I’m glad that you like them! :)

Regards,

Milos

Yes there is something wrong with the installation, each time a different amount of tables are being created and the install fails—can you please tell me where the .sql file would be so I can just import? thanks

Hey,

If installation fails it means that there is some other issue and most likely not related to the installer. Each time you try to install the app you need to remove all previous database tables created by Vanguard and to start fresh. If installation fails, all the details can be found in the log files.

There is no SQL file that you can just import since Vanguard utilizes Laravel’s database migrations to create necessary tables.

Btw, you support for this item has expired. If you have any questions please extend your support and create a ticket at https://milos.support-hub.io

Regards,

Milos

Thanks I finally got it re installed, my custom pages were causing errors, all fixed now, was a pain getting this working with my site but was worth the work, really nice script thanks again

Hello;

I wanted to test registration operation, gave my email, username and password, but it doesn’t work, I did not receive confirmation mail, my email has been stored in your database because I could not register again with my email (mesage tell that the email already exist)

Hello,

Thanks for your response, yes naturally but no mail received, Registration page displayed an error message (fail message I mean) after clicking registration button, Effectively, I connected as admin and saw that my username/email exist , the problem is confirmation mail only,

Thank you again,

Hey,

I’ve switched the app to use different service for sending emails. You can log in as admin, delete your account and try to register again. :)

Regards,

Milos

Hello,

I logged in as admin, but when I wanted to change member status (from unconfirmed to active), I had to fill in the date of birth, I think it would be better to remove this condition,

Thanks again,

Hello loshMiS,

Is it possible to prevent birth date field to display N/A when there is no date ? When birth date field contains N/A, it blocks the click on “Update Details” button. So we are forced to clear the field or then entering any date in order to update details.

Thanks very much !

Hey,

Of course! That will be updated in the next release of the application.

If you decide to buy it and you have questions about it, feel free to submit a support ticket on https://milos.support-hub.io

Regards,

Milos

LnwCode

LnwCode Purchased

Whoops! There was something wrong during the installation!

Please check your log located inside storage/logs directory to see what’s going on.

Hey,

So, as the message says, you should check the log file to see what the issue is. It’s most likely something related to the permissions on your server, or something similar.

If you are unable to figure out what the log file says, feel free to create a ticket at https://milos.support-hub.io and attach the log file too, and I’ll get back to you as soon as possible.

Regards,

Milos

Paid membership still not there?

Hey,

Unfortunately no, Vanguard does not have the paid membership feature yet.

Regards,

Milos

Vito227

Vito227 Purchased

When is your next major release/update?

Hey,

Next major update won’t be released in next 2-3 months for sure.

As you know, the major update was released a few weeks ago and in the next couple of months I will release only smaller updates with some new features but it will still be the version 3.x.

Regards,

Milos

Hi bro any plan to add crud?

Hey,

Unfortunately, there are no plans to add CRUD in the near future.

Regards,

Milos

I get the error below while trying to register with new user

[2018-06-22 19:04:40] production.ERROR: Expected response code 220 but got code ””, with message ”” {exception] (Swift_TransportException(code: 0): Expected response code 220 but got code \”\”, with message \”\” at /home/deltafx1/public_html/crm/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:419)

Hey,

The error you get means that there is something wrong with the email sending configuration. Make sure that your email configuration is correct so Vanguard can send the confirmation email after the new user is registered.

Btw, for any future requests please submit a ticket on https://milos.support-hub.io

Kind regards,

Milos

by
by
by
by
by
by