Code

Discussion on Xavier - PHP Login Script & User Management Admin Panel

Discussion on Xavier - PHP Login Script & User Management Admin Panel

By
Cart 1,369 sales

Siggles supports this item

Supported

336 comments found.

Any thoughts about adding options for two-factor authentication – such as Google Authentication?

My only worry is that It will bulk out the script. I have always tried to make it lightweight and easy to install / use. I get lots of support requests from people with limited PHP knowledge and they still manage with a bit of guidance. But introducing something else that they have to then strip away is not something I want to do. But if I can find a good way to incorporate it cleanly then I may add it in the future.

Where can i find the forum?

Unfortantely it was hardly used and so I removed it.

Hello, when i install there an error Warning: PDO::prepare(): SQLSTATE00000: No error: PDO constructor was not called in /Applications/XAMPP/xamppfiles/htdocs/sidore/admin/includes/Session.php on line 471

i make sure all config to database is right, can you help me ?

Hi, I replied to your email a couple of days ago. Did you recieve it? Did you manage to fix the issue?

Hi Mate,

I would like to get more insight about your Script. I have send you a private inbox message. Looking for your feedback.

Best!

Ive replied. Thanks

Would it be possible to include the code to check for session and group level inside an include file? So for example, I was thinking about creating a menu template file that I could just include in my main files to draw the menu wherever I need it, but the menu itself uses group levels to determine which items to display. So if I have a file that calls the Login script include, then calls a separate include to draw the menu, would they conflict?

Hi. It’s a bit difficualt to understand exactly what you need BUT yes, you can do what you say. It’s already being done somewhat in the navigation.php file that’s included in the dashboard..

For example..

<?php if ($session->isSuperAdmin()){ ?>

Under this if statement I only show navigstion paths that only the superadmin (and not normal admins) should see. You could do the same with groups.

So in effect (duh on my brain for asking the question while trying to talk on a conference call), don’t include the call to the Controller.php in the menu include file, just the session variable. Yeah, just pretend I didn’t ask this. :)

I just bought the login system yesterday and have been working to get things going. So far nice and easy (even for someone who hasn’t done php or web coding in about 13 years), but I have one hiccup I’m having trouble isolating.

For now, I’m working with a separate login page concept, based on the one in Example. I copied it out to my root folder, put the includes in the proper place and updated all the pointers. Beyond that, the only change I made was passing a ”?path” variable to the login process to redirect to the menu page after login. The idea being any page hit without an active session redirects to the login, and sends to menu after. The problem I’m having is it seems the login fails the first time. After entering user and pass, it comes right back to the login page. If I enter a second time, it works fine and directs to the Menu page as expected. I did test to see if the login is working and there’s just a redirect problem by trying to hit the menu page directly after the first login attempt, but it takes me right back to the login page as if no session is established yet. Has me a bit stumped. Any idea what to check on that?

Hi Moebius_K, thanks for purchasing the script and your comments. The issue you mention could be a number of things unfortunately. Could you send me the files? Contact me via the messaging and I’ll reply and then you can send me the code you are using.

Thanks

Hi there,

can you tell me how to access (display) the user id in admin/index.php or somewhere else on another page?

Hi, it should be…

<?php echo $session->id; ?>

thx a lot and also for your fast reply.

I wish you a relaxed rest of the week,
Steve

Thanks. You too!

Hi there, I am after purchasing this script just for the admin dashboard to manage my own users. Can I tweak the admin dashboard to use my own users, groups and config tables on my database?

Hi milzee,

That shouldnt be a problem. The script/dashboard is MySQL / PHP so if you already have a MySQL database you will be able to use the Datatables etc. Although I wonder if you wouldnt just be better off buying an admin dashboard of which there are many on CodeCanyon and Themeforest. But maybe there is something within my own that you coudl use. Let me know how you get on.

cool, tbh yours is the best dashboard i’ve found. When i install can i just upload the admin dashboard code and tweak that? or do i need the whole job lot loading up?

It’s hard to day to be honest as this is the first time someone has asked to do this. It depends on your skill level I guess. The PHP is intertwineed in the HTML, so you may have to remove bits here and there.

great script. quick question, i see in the doc it mentioned files that i need to make changes too incase if i need to add telephone for the users, what if i want to add an additional login authentication eg. instead of just making the user to enter username and password , i’d like to add AccessNmber so the login page would be Username Access Number, Password . what files would i need to change to accomplish that?

I’m sure it is possible but it would take a little bit of knowledge of PHP to do so. You’d just need to add some extra code in the process.php page and Login.page and maybe an extra field in the database. It’s a bit of a hard question to answer without more info.

Hello,

Can i make user dashboard like admin dashboard ?

thanks

Sure. You can do what you like if you have the HTML/PHP skill to do so.

How can you change the password for Super Admin, when it’s been lost? The other admin id’s cannot do it, I’ve found.

The quickest way is in the process.php page, under the forgotPass function (line 223 ish), change…

if (strcasecmp($user, ADMIN_NAME) 0) {

to

if (strcasecmp($user, ADMIN_NAME) 1) {

temporarily, until the reset is done.

Thanks

I am getting a warning in my error log file:

PHP Notice: Undefined index: session_id in /...manage/includes/Session.php on line 173

Any idea how to resolve this?

Thank you

What theme are you using for this script, would like to check some features and css stuff for it.

It’s my own design/theme.

The only thing this script is missing is the ability to log in as user – how can that be added / I want to purchase, but need that option.

In case you are lost in the english language here … Log in as user – meaning I click a button from admin and it automatically logs me into the users account.

OK that makes more sense now that you have explained. You are right then, that option does not exist. I’ll have as think about how easy that may or may not be to implement, please could you contact me via the CodeCanyon messaging system to discuss.

Messaged you via the support and nothing came back .. what the story!

I see that you require a username. Can the username be removed so that only an email address is used? When I tested the ‘forgot password’, it forced me to enter my username – i just want to enter email. I don’t see a way to change that setting in the admin panel.

In addition, is there a way to import users and have an email sent automatically?

Back to the username/email forgot password… if both are mandatory in order to reset the password, would it be possible to add a ‘forgot username’ and ‘forgot email’ option so that users that can’t remember both items can still reset their password?

Hi. Thanks for your interest. Currently the username is ingrained in the script howvere with a bit of PHP knowledge, it is probaby quite easy to remove. You can however choose to log on with the email address. There is currently no way to import users, however you can use the admin panel to import them one at a time. The email will still be sent.

This is the message I got when logging out of the demo:

Notice: Undefined index: session_id in /home/angry/public_html/xavier-demo/admin/includes/Functions.php on line 825

Warning: session_regenerate_id(): Cannot regenerate session id – headers already sent in /home/angry/public_html/xavier-demo/admin/includes/Session.php on line 555

Warning: Cannot modify header information – headers already sent by (output started at /home/angry/public_html/xavier-demo/admin/includes/Functions.php:825) in /home/angry/public_html/xavier-demo/admin/logout.php on line 32

hi, any update for 2019? yo! :)

Hi,

I am very interested in your script but some question before buying.

1) How to have the date of the day and time in French? Have the solution here, before buying.

Instead of having the date 13.03.2019 – 00:50:33

Have the date of the day and the good French time The exact time I sent the message Wednesday, March 13, 2019 – 03:20:33 13.03.2019 – 03:20:33

2) Do you plan to add other features? When next updated?

Thank you

Hi, until you’ve logged on at the admin login link, that page will not know whether you are an admin or not. Much like any website that you log on to, until you log on, you are not an admin. However the script is created to have both admin users and normal users. Normal users will not be able to log on to the admin panel. There are example folders included that show you how you can have protected pages for normal users, which is ultimately what the script is for.

Hi,

I’m talking about the login form of the administrator makes it invisible to people. Only display the admin login form to admin users with php code or .htaccess? cookie by ip

Do you add a title variable in your php code? for the title tag (in the head).

How to define a base URL for my website and include it in each page? a function base_url?

Is there a way for me to easily change a variable so that it is the base URL of the website, such as <? Php $ baseurl = “http://www.website.com/website/” ; ?>, and include it on every page so that all CSS, JavaScript, images and PHP included follow this $ baseurl?

Thank you

Hi. I’m sure that must be quite easy to achieve but it’s not part of the script. There is a title tag, but dont forget that this is an admin panel, so only for a select number of people, what you do with the rest of your site is of course up to you. There is a base URL which you can change. AT the end of the day, the code is easily moidified. If you know PHP you can edit it to suit your needs.

Hi there, I noticed you have mentioned that other websites and mobile apps can connect through an API? Can you please give me more details such as the security methods, cross origin issues and the usage. Its something i really need for my project in order to function.

Hi, please can you send a direct message from CodeCanyon and I’ll get back to you.

Hello good day,

I purchased your script and tried installing it but the installation was not successful because the process.php was not found inside the admin folder. Below is the error message: “An appropriate representation of the requested resource /login/admin/install/process.php could not be found on this server.”

Kindly provide me the file.

HI, I just replied to your contact form message. The file is included in the download, so most likely something else is going on here. This is the first time I have seen this error message. Please reply to my return email and I’m sure we’ll figure it out. Thanks

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey