Brian KD
Forum Replies Created
-
Resolved.
What, you don’t want a flood of support tickets on your next update!? Haha, I use a WAMP localhost server to test all upgrades before I put them live for my clients. Just can’t risk things going wonky on them.
There was a missing concatenation period that I added in the new id= field, right before the $wpmem_fields[$row][2] variable:
$form = $form . '<label for="' . $wpmem_fields[$row][2] . '" id="' . $wpmem_fields[$row][2] . '_label" class="' . $class . '">' . $wpmem_fields[$row][1];
It worked like a charm. All of the input labels and checkboxes now have id tags.
Thanks for the fix Chad. I don’t think this particular fix could damage user forms unless they had matching css styles somewhere else on their site. If you were worried, on the more common/default form elements you could explicitly style the new id tags just to be safe.
Then the only one who would have to worry about your update would be me ?? But I keep my CSS edits in my own stylesheet so you can’t overwrite them, so no worries ??
Thanks again Chad!
Brian PetersonFor anyone else that may have an issue with Guesthouse theme, this was the css used for the fix.
#wpmem_reg label.text {
display:block;
opacity:1;
}Regards,
-Brian PetersonThat’s interesting that the parser fires only once and probably explains my experiences. I attempted a few insertions of the shortcode tags but each time they were printed out as a string. Fortunately for me the other plugin author said he was implementing what I needed in his next update in 2 weeks so this issue will be resolved then. Thanks Chad,
-Brian
It’s not something I am intentionally implementing. I imagine it is tied into the theme’s (Guesthouse Theme) slider labels which fade out as the slide is changing. I did test the display:block which fixed it. I had similar problems tied to the theme’s cufon fonts, which when we overwrote them via css, made the slider titles disappear (weird huh).
It’s good to know that it’s not part of the plugin. Was it part of the plugin to have the labels dim (change opacity) when the input field was selected? Because that actually looks pretty cool ??
Warm regards and thanks for your speedy reply,
-Brian PetersonChad (et. al.), per my second question I just found this thread re: headers and edits in the registration form: https://www.ads-software.com/support/topic/wp-members-registration-form-section-headers.
But the labels are still disappearing and sliding up out of place. I think I can fix the sliding with display:block.
-B
The content is being generated in a plugin. I may still be able to use the shortcode by inserting it into the plugin’s output (seems logical enough). I’ve contacted the other plugin author for assistance. It’s a B&B website and we don’t want people to be able to book unless they’re a registered member. Your code snippet may be all we need. Thanks,
-Brian Peterson
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Contact Field for Validation CodeHi Joe,
This thread might be a step in the right direction:
https://www.ads-software.com/support/topic/plugin-contact-form-7-custom-field-validation-code
-Brian
I had this same issue today. Then I get an Internal Server Error 500 when trying to load any wp-admin page. Additionally, I’m running WPML Plugin and any time I tried to load one of my translated pages: https://www.example.com (English – works fine) –> https://www.example.com/?lang=fr (french) it would throw the the same 500 error :/ Was able to fix my site following these directions:
https://www.ads-software.com/support/topic/http-error-500-internal-server-error?replies=6
But the Events Manager Plugin definitely is not compatible with what I’ve got going on.Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] My Calendar disables LightboxJoe quickly helped me resolve this issue:
It’s most likely caused by differing versions of jQuery being enqueued between the theme and plugin. The fix: the plugin is designed to allow you to specify on which pages you want the jQuery to run.
In the plugin’s Behavior Editor there is a field that will only load the plugin’s jQuery for the page IDs specified.
Personally, I only needed the plugin’s jQuery to load on my site’s calendar page so I looked up that page’s specific ID.
I got my page ID through phpmyadmin. Alternatively you could install the “Reveal Id’s” plugin by Oliver Schl?be which will also show the ID.
Next, on the Behavior Editor screen for the My Calendar plugin, at the top the very first field is titled, “Insert scripts on these pages (comma separated post IDs)” and you put in the page ID there. This causes the javascript to be loaded no where else on your site except on the specified pages. Lightbox is back throughout the website!
Thanks Joe for all the help!