uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
Password

Knowledge Base Lobby : uGolf Support Conference : Configuration Questions
Dec-14-17 02:59 AM EST
Original Message
Password
Author phaseol on 07-14-2003 at 16:25 (EST)
We have ours set to NOT allow reservations at this time to the general public.

We don't want people clicking on the name and changing the info that is put in by the administrator without us having to enter a password for every reservation. I would like to turn off the "enter password field on the submit form that pops up when someone clicks on the name in a time slot.
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: Password Bill Weiner, 2003-07-29 07:22:50 (1)

Messages In This Discussion
         1. RE: Password
        Author Bill Weiner on 07-29-2003 at 07:22 (EST)
At this time, even when configuration Question #13 is set to "NO:

# 13. Would you like to allow regular website visitors to make reservations?
$visitor_permission = "NO";

The administrator still needs to specify a password for the reservation when making the reservation. If the administrator does not specify a password for the reservation, the password will be blank....and thus, when you press submit on the View Details screen.... you are submitting a blank password.... which IS the correct password.

If you don't want that to occur, then the administrator still needs to specify a non-blank password when making the reservation.

Or, if you want to NOT allow ANY visitors to view the details of a reservation/edit a reservation, then you can try making this modification:

STEP 1: Make a backup of the ugolf.pl script... just in case.

STEP 2: Open the ugolf.pl script with any text editor such as WordPad.

STEP 3: Do a search on the following line:

sub validate_edit_login

STEP 4: Four lines down from that "sub validate_edit_login" line and directly AFTER the line:

local ($start_minutes,$end_minutes);

Try adding these lines:

if (($password ne $login_password) && ($visitor_permission =~ /N/i))
{
&display_message("Permission Denied","Only the administor can view/edit reservations.");
}

STEP 5: Save the script and try it out!
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.