Unzip the attachment to a subdirectory in your MRBS installation. (e.g. reset or register). Change the settings in config.php. Post here or PM me if you have any issues. The registration and reset functions assume the email address is unique for a user. I will need change the files to allow for more than one user per email address.
Unzip the attachment to a subdirectory in your MRBS installation. (e.g. reset or register). Change the settings in config.php. Post here or PM me if ypu have any issues. The registration and reset functions assume the email address is unique for a user. I will need change the files to allow for more than one user per email address.
No problems. I'm glad it made sense.
Hi Carlo, If you don't have an entry in your config.inc.php then check your systemdefaults.inc.php file and make sure you see the lines: // Maximum repeating entrys (max needed +1): $max_rep_entrys = 365 + 1; It should be about line 426. If your systemdefaults.inc.php contains that setting then when you make a repeat booking you will be limited to not more than 365 entries from the one repeat booking. For example, if someone tried to book the tennis court in your system between 10:00 and 11:00 every...
Hi Carlo, If you don't have an entry in your config.inc.php then check your systemdefaults.inc.php file and make sure you see the lines: // Maximum repeating entrys (max needed +1): $max_rep_entrys = 365 + 1; It should be about line 426. If your systemdefaults.inc.php contains that setting then when you make a repeat booking you will be limited to not more than 365 entries from the one repeat booking. For example, if someone tried to book the tennis court in your system between 10:00 and 11:00 every...
Hi Carlo, There is a file called systemdefaults.inc.php and it defines all the default values for configurable parts of the software. The default setting for $max_rep_entrys is 356(+1). Do not change any settings in systemdefaults.inc.php. If you want to change a setting you should copy the variable (setting) to your config.inc.php file and change it to the value you want. For example: In systemdefaults.inc.php leave the entry as $max_rep_entrys = 356+1; In config.inc.php add the line: $max_rep_entrys...
Hi Carlo, There is a file called systemdefaults.inc.php and it defines all the default values for configurable parts of the software. The default setting for $max_rep_entrys is 356(+1). Do not change any settings in systemdefaults.inc.php. If you want to change a setting you should copy the variable (setting) to your config.inc.php file and change it to the value you want. For example: In systemdefaults.inc.php leave the entry as $max_rep_entrys = 356+1; In config.inc.php add the line: $max_rep_entrys...
Hi Campbell, works a treat. Thanks.
User can not edit own account due to error message
I found an issue with the changes above. Log Off does not work. Do the following to fix the issue: in session_cookie.inc change function logoff_user() from: function logoff_user() { // Delete cookie $cookie_path = get_cookie_path(); setcookie("SessionToken", '', time()-42000, $cookie_path); } to function logoff_user() { // Delete cookie global $auth; $cookie_path = get_cookie_path(); setcookie("SessionToken", '', time()-42000, $cookie_path, $auth["session_cookie"]["domain"]); }
Domain wide Session Cookie - Single Sign on
Sorry. The anonymous post was me. I forgot to login.
As always, thank you.
Editing series (repeat bookings) does not repopulate the days
Hi John, Your solution is a better way to do it, but I wasn't too fussed about the last modified time of the user and thought this was an easy hack to get a result. I'll look at implementing it your way when I have a moment and then post the patch back here. Thanks
I don't know of you can change the creator of a post, I forgot to login when I entered the post above.
Hi Carlo, in your config.inc.php add the line: $times_along_top = true; I think that's what you're after.
Hi, You can set a name in the From setting in the config file. For example: $mail_settings['from'] = 'Booking City Br <admin@mydomain.com>'; Will display the name Booking City Br in the from field of the email. I hope that helps.
Hi, You can set a name in the From setting in the config file. For example: $mail_settings['from'] = 'Admin <admin@mydomain.com>'; Will display the name Admin in the from field of the email. I hope that helps.
Hi, You can set a name in the From setting in the config file. For example: $mail_settings['from'] = 'Mr Admin <admin@mydomain.com>'; Will display the name Mr Admin in the from field of the email. I hope that helps.
Hi, I have created some extra pages which sit in a directory placed in the MRBS directory. It allows for self registration. The person must verify their email by means of a link after which they can choose a password. The information is then saved to the MRBS Users table. The pages allow the user to reset/change their password by the same process. They must verify themselves by clicking a link sent to their email address. I must reiterate, these pages are entirely separate and don't look anything...
Hi Carlo, in your config.inc.php add the line: $times_along_top = true; I think that's what your after.
Thanks Campbell, very much appreciated.
'password_hash' also works. As per your advice, I'll leave it as that. Thanks again.
Without it I was getting E_NOTICE in /home/xxxxxxx/public_html/dev4/auth/auth_db_ext.inc at line 170 Undefined variable: db_ext_conn Now it works correctly. crypt is working correctly but I'll try password_hash as well.
Thanks Campbell. That's what I needed. $db_ext_conn is missing from the global declaration in function authGetUserLevel. Line 143 of auth_db_ext.inc. Cheers
I've confirmed both DBs are now at version 57. Source is V1.7.1 from tree [d64d31]. Still receiving a blank page. Any advice you can offer would be appreciated.
I've confirmed both DBs are now at version 57. Still receiving a blank page. Any advice you can offer would be appreciated.
Please hold off on this. I may be using two different database versions. I'll get back to you.
db_ext login fails when column_name_level is set
Hi Campbell, thanks for the quick response. You are correct. Once I cleared the cache and logged in with the admin account it worked correctly. I apologise for wasting your time. I should have spotted that one. Thanks again.
User bookings don't work with multiday restriction
Admin bookings are limitd to maximum duration
Do the js.php files go through a different process when generating the headers? These...
Yes. That was it. The totals contents are: ExpiresActive Off <Files ~ "\.inc$"> Order...
Hi, I set ExpiresActive Off in the htaccess file and restored the original search.js.php...
Hi guys, sorry I have not had a chance to test the vanilla install but I will definately...
BTW The two functions you asked about are: // Format a timestamp in RFC 1123 format,...
Hi Campbell, I don't know if this is any help but the version of 1.5.0 my server...
Hi Campbell, I have made some changes to functions.inc but I did not change either...