Comments (27)
you have to write new function for that. if you can wait two more weeks.i will help you out. i am currently working on multi level user management system. Thank you.
from warehouse-inventory-system.
Thanks for prompt reply. waiting for solution .
Thanks
from warehouse-inventory-system.
Ey, this is good topic. I'm camping here.
from warehouse-inventory-system.
I hope product pictures and user pictures could be added in this system too. That would be like so awesome.
from warehouse-inventory-system.
you have to add a new column in user table
user_level INT(11) NOT NULL
Then put this function in sql.php file
/--------------------------------------------------------------/
/Check User Level
/--------------------------------------------------------------*/
function check_user_level($level)
{
global $session;
$current_user = current_user();
if($current_user['user_level'] <= (int)$level){
return $level;
} else {
$session->msg("d", "Sorry you don't have permission to view this page.");
redirect('home.php', false);
}
}
now you just have to call the function check_user_level(1); after checking isUserLoggedIn(true).
Remember 1 is admin privilege. Hope it's will solve you'r problem.
@exoticmankey i will add it in near feature.
Thank you!
from warehouse-inventory-system.
hi, i already got into the login screen. the problem is i cannot sign in. i used the default admin admin. i even created a new user on phpmyadmin. still cannot access. hope you can help me. thanks
from warehouse-inventory-system.
Did you put your database info in config.php?
from warehouse-inventory-system.
thank you for your response. i kinda figured it out. nice tool. thank you ^^
from warehouse-inventory-system.
Ey man can you let us know how you figured the thing out? thanks
from warehouse-inventory-system.
under config.php
under database.php
Database Connection Failed '.mysqli_connect_error().'' ); } else { $select_db = $con->select_db('inventory'); if(!$select_db){ die('Sorry failed to select Database'); } } ?>from warehouse-inventory-system.
are you using xampp server?
from warehouse-inventory-system.
yep
from warehouse-inventory-system.
Some xampp user having include file issue.i updated database.php, if it's work please let me know and i am sorry for respond you late. Thank you!
from warehouse-inventory-system.
Your "Check User Level" script doesn't run. I'm trying to call check_user_level(1); after checking isUserLoggedIn(true) but doesn't work. Could you check your code if something is missing?
from warehouse-inventory-system.
i might missing something, sorry not sure but i next version i am take care of it. i just need little time to finish sales and report section. Thank you.
from warehouse-inventory-system.
Thank you. Your inventory system is great!! I will waiting for the next version.
from warehouse-inventory-system.
Hi Siamon the great creator of this inventory system, how to I see the latest updates you have made with the codes? I mean the one with dates? thank you very much!
from warehouse-inventory-system.
Hi siamon i just found a solution: you must call the function check_user_level(0) instead of (1)
from warehouse-inventory-system.
i have plan to update on Sunday Night @exoticmankey ,
i think you missing something, it's should not be 0 @hidelberto.
from warehouse-inventory-system.
siamon which area should i monitor to find out if you have already updated with the new codes? tq
from warehouse-inventory-system.
Hi siamon, I am wondering when you plan to do the next inventory system update? thanks...
from warehouse-inventory-system.
Sorry guys, only categories section didn't change that much @exoticmankey.
i just push it @hidelberto
Thank you.
from warehouse-inventory-system.
@siamon123 I am voluteering to do test unit(s) document from your inventory software. I really like it.
from warehouse-inventory-system.
it's will be great @exoticmankey
from warehouse-inventory-system.
Yes this my return favor to your great app @siamon123 the great! harhar
from warehouse-inventory-system.
Hello slamon:
when I run Sales Report --> Sales by dates, I get this message
-
"Parse error: syntax error, unexpected '[' in /home/xxx/sale_report_process.php on line 117"
-
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/xxx/includes/load.php:2) in /home/xxx/includes/session.php on line 2
how can I solve the problem ?
from warehouse-inventory-system.
i just modify edit_sale And sale_report_process.php files just re-download those two files.
Thank you @SIMONTSAO for Letting me.
from warehouse-inventory-system.
Related Issues (20)
- I cannot add or edit a profile picture, please help.
- Changing datetime HOT 2
- how change the timezone of the system? HOT 2
- Not Show Icon
- Error on this Query : SHOW TABLES FROM uw-inventario LIKE "users" HOT 1
- Changing the sale value HOT 1
- set up everything and error happens after login HOT 1
- Doesn`t load the index page HOT 3
- am not able to make changes to the index page background or anything in style sheet HOT 2
- Session Start issue HOT 1
- Error on this query HOT 1
- Looking for support? Improvements?
- [Error] - I can sell more than I have in stock HOT 1
- me da un error en upload
- Installation HOT 1
- Error en daily and monthly
- CSRF Change Admin Password
- load barcode
- Can't start session after log in
- Hello developers, can you add a version number?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from warehouse-inventory-system.