Cleveland Heights-University Heights Public Library Webdeveloper
Forum Replies Created
-
Forum: Plugins
In reply to: [Book a Room] Updating to 2.3Please update to the latest release and let em know if you have any new problems!
Forum: Plugins
In reply to: [Book a Room] Branch/Room dropdown grayed outI found the issue and there is a new version with a small change that should fix it.
In the future I’ll be adding more options to hide or format that line and others. If you feel comfortable changing things in the code, you would have to change a line in the templates > public > publicShowRooms.php
Lines around 120 are
<?php if( false == $branchList[$roomContList['id'][$tinyKey]['branchID']]['branch_isSocial'] ) { ?><div class="branchSocial"><?php _e( 'No social gatherings are permitted at this branch.', 'book-a-room' ); ?></div><?php } ?>Basically, comment out the line starting “if( false ==” by adding a # to the start of the line. Then, add if( false ) {
<?php #if( false == $branchList[$roomContList['id'][$tinyKey]['branchID']]['branch_isSocial'] ) { if( false ) { ?><div class="branchSocial"><?php _e( 'No social gatherings are permitted at this branch.', 'book-a-room' ); ?></div><?php }This ignores the line\logic all together.
- This reply was modified 8 years, 10 months ago by Cleveland Heights-University Heights Public Library Webdeveloper.
Forum: Plugins
In reply to: [Book a Room] Branch/Room dropdown grayed outI think I’ve recreated the same issue on my test box. Looking into it.
Forum: Plugins
In reply to: [Book a Room] Branch/Room dropdown grayed outIs it possible to screenshot the drop down?
Forum: Plugins
In reply to: [Book a Room] Create RoomsI stared at that forever! You found it, thank you! Making a change to the official plugin now. I ended up finding 10 instances overall!
Forum: Plugins
In reply to: [Book a Room] Create RoomsWas this an upgrade or a fresh install? If fresh, can you remove it completely and try installing again?
I can’t seem to recreate this problem on my test machine!
Forum: Plugins
In reply to: [Book a Room] Create RoomsYou have created branches, correct? At least one?
Forum: Plugins
In reply to: [Book a Room] Create RoomsDeleting the character isn’t the fix, as it needs to close the foreach loop in line 56:
foreach ( $branchList as $key => $val ) {I’ve gone over this code several times and can’t find why this isn’t working. I can’t find the error or recreate it on my end. I’m going to ask on our Facebook page if anyone else has seen this problem.
Was this a new install or an upgrade?
Are you hosting on Windows IIS or Apache?Forum: Plugins
In reply to: [Book a Room] Create RoomsDid you try it after turning on the error reporting?
I see I said change it and didn’t put a change. It should temporarily change to:
define(‘WP_DEBUG’, true);
Then try it again and let me know if you get any errors.
Forum: Plugins
In reply to: [Book a Room] Create RoomsI’m not sure if this fixes it, but I just put up a small version update.
I went through and added a space after the parentheses in some of the code. See if this new update helps.
Also, do you know what version of PHP you are running?
Forum: Plugins
In reply to: [Book a Room] Create RoomsAlso, have you set up any branches?
What version are you using?
Forum: Plugins
In reply to: [Book a Room] Create RoomsIn the root folder of WordPress can you find the wp-config.php file and change this line:
define(‘WP_DEBUG’, false);
to:
define(‘WP_DEBUG’, false);
This turns on error reporting. If you can do this, can you try again and see if there is an error?
Forum: Plugins
In reply to: [Book a Room] Create Event Admin Page Blank v2.7Glad it helped!
Forum: Plugins
In reply to: [Book a Room] Create Event Admin Page Blank v2.7I definitely found the error(s) that you were throwing and just put up an incremental update that should fix it. Try 2.7.1 and let me know if that helps!
Forum: Plugins
In reply to: [Book a Room] Create Event Admin Page Blank v2.7Sorry: Temporarily, can you make the following line TRUE in your wp-config.php file:
define( ‘WP_DEBUG’, true );
then, to turn it off, make it
define( ‘WP_DEBUG’, false );