Brashlibrarian / open-source-self-check

Automatically exported from code.google.com/p/open-source-self-check
0 stars 0 forks source link

SIP2 Server Need Patron password #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.My SIP2 Server Need Patron password 
2.
3.

What is the expected output? What do you see instead?
There's a problem with your account. Please see a circulation clerk.

What version of the product are you using? On what operating system?
WIndows 2003 Enterprise

Please provide any additional information below.
My SIP2 Server Need password of patron to authenticate for security reason . I 
try to add this line 
$mysip->patronpwd = '----------';  in account_check.php it work correctly. 
Please make this option in config.php

// Identify a patron
    // sip2 OF ALIST Need password of patron *** Test by tomzt
    $mysip->patron = $_POST['barcode'];
    $mysip->patronpwd = '----------'; 

PS.
My Patron ID have "-"  in Patron ID. Like this "223450973919-5". I think from 
above issue You need to redesign new keypad for support "-" in Patron ID and 
support to enter patron password.
Thank you very much for support.

Original issue reported on code.google.com by tomztt on 29 Jun 2014 at 1:32

GoogleCodeExporter commented 8 years ago
Patron password support has been requested by others. It's not something I have 
time to work on right now but it's on my to-do list. 

Updating the keypad to accept dashes would be relatively simple. Let me know if 
you have success.

Original comment by ericmelton1@gmail.com on 29 Jun 2014 at 1:45

GoogleCodeExporter commented 8 years ago
I try to get dashes in Keypad.
The code from my blog 
http://clpark.rmuti.ac.th/suthep/improvements/self-check-part-1

<!-- keypad -->

<div id="keypad_container">
    <table class="keypad">
        <tr>
            <td colspan="3" class="keypad_screen"></td>
        </tr>
        <tr>
            <td><div data-val="1" title="selfcheck_button">1</div></td>
            <td><div data-val="2" title="selfcheck_button">2</div></td>
            <td><div data-val="3" title="selfcheck_button">3</div></td>
        </tr>
        <tr>
            <td><div data-val="4" title="selfcheck_button">4</div></td>
            <td><div data-val="5" title="selfcheck_button">5</div></td>
            <td><div data-val="6" title="selfcheck_button">6</div></td>
        </tr>
        <tr>
            <td><div data-val="7" title="selfcheck_button">7</div></td>
            <td><div data-val="8" title="selfcheck_button">8</div></td>
            <td><div data-val="9" title="selfcheck_button">9</div></td>
        </tr>
        <tr>
            <td> </td>
            <td><div data-val="0" title="selfcheck_button">0</div></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td onclick="delete_keypad_entry();"><div title="selfcheck_button"><span >Delete</span ></div></td>
            <td><div data-val="-" title="selfcheck_button"><span >-<span ></div></td>
            <td onclick="tb_remove();"><div title="selfcheck_button"><span >Cancel</span></div></td>
        </tr>
    </table>
    <div onclick="$('#barcode').val($('#prompt .keypad_screen').text());$('#form').submit();" class="ok_button button" title="selfcheck_button" style="width:100%;">
        <h1>OK</h1>
    </div>
</div>

<!-- end keypad -->

Original comment by tomztt on 29 Jun 2014 at 1:52

GoogleCodeExporter commented 8 years ago
Please send the entire contents of includes/keypad.php

Original comment by ericmelton1@gmail.com on 29 Jun 2014 at 2:35

GoogleCodeExporter commented 8 years ago
I send it to your mail ericmelton1@gmail.com already.
And Attach in this comment.

Original comment by tomztt on 29 Jun 2014 at 2:54

Attachments: