Forum Replies Created

Viewing 15 replies - 106 through 120 (of 476 total)
  • Plugin Author Robert Heller

    (@robertpheller)

    For point 1,2,3: is it possible for me to amend the rules? And How?

    You will have to hack the code. Max # renewals is easy, just change things in function RenewItem(). For the others you will need to delve deeper, partly in the Circulation Page code (checkouts happen there) and in the Ajax code for handling holds.

    For point 4, I login as Libarian and checked through, seems cannot trace the exact area to apply outstanding fines…. Can explain more sepcific?

    It is on the Patron Admin Page, along with the rest of the Patron info (eg name, address, phone number, esp. date, etc. The field is not modified programmitally — to do that would require lots of code hacking.

    Plugin Author Robert Heller

    (@robertpheller)

    The Web Librarian is specificly designed for lending physical "objects", which traditionally means hard copy books, but also DVDs, CDs, Magazines, etc., but it is also being used for tools and toys. It has no support for lending (?) electronic documents (I am not sure what lending an electronic document even means, I guess it involves some DRM magic).

    Plugin Author Robert Heller

    (@robertpheller)

    1. How many copies of books allowed to borrow by a patron?

    No limit. The person at the checkout desk is free to implement a limit (eg refuse to checkout).

    2. How many copies of books can be reserved by a patron?

    No limit.

    3. How many times for a book can be renewed by a patron?

    3 times. (Hard coded in WebLibrarian.php in function RenewItem().)

    4. How to set and make use of “Outstanding Fines: $” ? Admin to control it?

    The librarian has control (role = librarian). The librarian updates as needed. I originally wrote this pluging for the Wendell Free Library, which generally has no fines (that is where the Free comes in). Other libraries in the region (Central and Western Mass.) do have fines and the ILL system in use (Evergreen/OpenILS) implements the fines. And it will block checkouts if the fines exceed some ammount. Sometimes the fines are in error (book/dvd returned on time, but was late getting checked in or something). Other times the librarian has the patron make a donation to the Friends Of the Wendell Free Library and then clears the fine.

    Plugin Author Robert Heller

    (@robertpheller)

    Indeed, hopefully you’ll consider offer an upgrade to enhance bulk-add patron to user. It will be perfect and good news for general online libarian…

    This is not going to happen :-). This plugin is no longer in active development. I will fix bug and make security fixes, but won’t be adding new features or functionallity. You are free to fork the plugin and add your own enhancements.

    Plugin Author Robert Heller

    (@robertpheller)

    The patron id gets stored as a user “meta data”, using the WP php function update_user_meta(). It should be possible to add elements to wp_usermeta, if you know *exactly* what you are doing.

    Here is what things look like from mysql (from my test site):

    mysql> describe wp_usermeta;
    +------------+---------------------+------+-----+---------+----------------+
    | Field      | Type                | Null | Key | Default | Extra          |
    +------------+---------------------+------+-----+---------+----------------+
    | umeta_id   | bigint(20) unsigned | NO   | PRI | NULL    | auto_increment |
    | user_id    | bigint(20) unsigned | NO   | MUL | 0       |                |
    | meta_key   | varchar(255)        | YES  | MUL | NULL    |                |
    | meta_value | longtext            | YES  |     | NULL    |                |
    +------------+---------------------+------+-----+---------+----------------+
    4 rows in set (0.01 sec)
    
    mysql> select * from wp_usermeta where meta_key='PatronID';
    +----------+---------+----------+------------+
    | umeta_id | user_id | meta_key | meta_value |
    +----------+---------+----------+------------+
    |       36 |       1 | PatronID | 1          |
    |       41 |       2 | PatronID | 100        |
    +----------+---------+----------+------------+
    2 rows in set (0.01 sec)
    Plugin Author Robert Heller

    (@robertpheller)

    Also worth noting that when I go to the Check In function, I do see the barcode search box, the corresponding buttons: Check in Item and Back to Main Circulation. Beneath that, I see the appropriate columns; however, rather than the fields being populated, I get ‘No items found’–even though I have multiple items checked out.

    Under the Check In function, what is listed are the items you have [just] checked in. If you enter the barcode of a checked out item and then click the Check in Item button, the item you just checked in gets listed.

    Plugin Author Robert Heller

    (@robertpheller)

    No, there isn’t at this time.

    You could let the users do their own association with their patron record.

    Plugin Author Robert Heller

    (@robertpheller)

    I just closely at the code, and I am not seeing anything that can cause the problem you are having. What does the small text at the top say, it is not readable in the screen shot.

    What O/S is the *server* running? What version of MySQL is it running?

    Plugin Author Robert Heller

    (@robertpheller)

    My guess is your server has PHP 7 installed and my code is using a depreciated function. Can you get access to the PHP error log? *I* don’t run with PHP 7, so everything is working fine for me.

    Plugin Author Robert Heller

    (@robertpheller)

    No.

    Plugin Author Robert Heller

    (@robertpheller)

    Will your changes update existing install?

    I believe so.

    I *think* the only issue with a multisite install would be dealing with the user roles. There might be a permissions type issue (eg what sort of things an administrator of one of the sites under a multisite install might be allowed in terms of what roles he/she can give to his users).

    Plugin Author Robert Heller

    (@robertpheller)

    I have updated the plugin to be less restrictive for phone numbers, zip codes, and states, including allowing empty zip codes and states. I still don’t know what the issues are WRT “multi-site installations”, but otherwise the Add New Patron page is more forgiving, allowing non-USA addresses and phone numbers.

    Plugin Author Robert Heller

    (@robertpheller)

    I just pushed an update that fixes one PHP 7.0 problem. Does updating the plugin fix things?

    Plugin Author Robert Heller

    (@robertpheller)

    Re: problems adding patron info with non-USA style postal codes, etc.

    You will have to hack the code.

    Files (in the includes sub-directory):
    database_code.php Low level database code
    WEBLIB_Patrons_Admin.php Patron adminstration pages

    Plugin Author Robert Heller

    (@robertpheller)

    Please don’t jump to other threads. It makes it hard to reply (I almost could not find your post).

    You will have to hack the code.

    Files:
    database_code.php Low level database code
    WEBLIB_Patrons_Admin.php Patron adminstration pages

Viewing 15 replies - 106 through 120 (of 476 total)