Giter VIP home page Giter VIP logo

Comments (27)

siamon123 avatar siamon123 commented on July 21, 2024

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.

rakhitanwar avatar rakhitanwar commented on July 21, 2024

Thanks for prompt reply. waiting for solution .
Thanks

from warehouse-inventory-system.

 avatar commented on July 21, 2024

Ey, this is good topic. I'm camping here.

from warehouse-inventory-system.

 avatar commented on July 21, 2024

I hope product pictures and user pictures could be added in this system too. That would be like so awesome.

from warehouse-inventory-system.

siamon123 avatar siamon123 commented on July 21, 2024

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.

rhonpicache avatar rhonpicache commented on July 21, 2024

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.

siamon123 avatar siamon123 commented on July 21, 2024

Did you put your database info in config.php?

from warehouse-inventory-system.

rhonpicache avatar rhonpicache commented on July 21, 2024

thank you for your response. i kinda figured it out. nice tool. thank you ^^

from warehouse-inventory-system.

 avatar commented on July 21, 2024

Ey man can you let us know how you figured the thing out? thanks

from warehouse-inventory-system.

rhonpicache avatar rhonpicache commented on July 21, 2024

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.

siamon123 avatar siamon123 commented on July 21, 2024

are you using xampp server?

from warehouse-inventory-system.

rhonpicache avatar rhonpicache commented on July 21, 2024

yep

from warehouse-inventory-system.

siamon123 avatar siamon123 commented on July 21, 2024

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.

hidelberto avatar hidelberto commented on July 21, 2024

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.

siamon123 avatar siamon123 commented on July 21, 2024

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.
screen shot 2015-09-23 at 12 36 28 am

from warehouse-inventory-system.

hidelberto avatar hidelberto commented on July 21, 2024

Thank you. Your inventory system is great!! I will waiting for the next version.

from warehouse-inventory-system.

 avatar commented on July 21, 2024

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.

hidelberto avatar hidelberto commented on July 21, 2024

Hi siamon i just found a solution: you must call the function check_user_level(0) instead of (1)

from warehouse-inventory-system.

siamon123 avatar siamon123 commented on July 21, 2024

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.

 avatar commented on July 21, 2024

siamon which area should i monitor to find out if you have already updated with the new codes? tq

from warehouse-inventory-system.

hidelberto avatar hidelberto commented on July 21, 2024

Hi siamon, I am wondering when you plan to do the next inventory system update? thanks...

from warehouse-inventory-system.

siamon123 avatar siamon123 commented on July 21, 2024

Sorry guys, only categories section didn't change that much @exoticmankey.
i just push it @hidelberto
Thank you.

from warehouse-inventory-system.

 avatar commented on July 21, 2024

@siamon123 I am voluteering to do test unit(s) document from your inventory software. I really like it.

from warehouse-inventory-system.

siamon123 avatar siamon123 commented on July 21, 2024

it's will be great @exoticmankey

from warehouse-inventory-system.

 avatar commented on July 21, 2024

Yes this my return favor to your great app @siamon123 the great! harhar

from warehouse-inventory-system.

SIMONTSAO avatar SIMONTSAO commented on July 21, 2024

Hello slamon:
when I run Sales Report --> Sales by dates, I get this message

  1. "Parse error: syntax error, unexpected '[' in /home/xxx/sale_report_process.php on line 117"

  2. 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.

siamon123 avatar siamon123 commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.