MLH17
Forum Replies Created
-
Hallo,
exakt dasselbe Problem hier!
Ich denke, es handelt sich um einen Bug.
Ich nutze “Google Analytics for WordPress by MonsterInsights” (GA Opt-Out bietet das ja auch als 2. Option unter ‘UA-Code), dort ist IP-Anonymisierung eingeschaltet, alle Haken ebenfalls grün…Ich nutze jetzt vorübergehend das Plugin
“Webcraftic Disable Admin Notices Individually”
um die Meldung abzuschalten, bis – hoffentlich bald – eine L?sung gefunden ist.Forum: Plugins
In reply to: [The Events Calendar] featured image as backgroundHey Geoff,
thanks a lot !!! It’s working now ??
In the meantime I was using this code:
<?php if (has_post_thumbnail( $post->ID ) ): ?> <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); $image = $image[0]; ?> <?php else : $image = get_bloginfo( 'stylesheet_directory') . '/images/myimage.jpg'; ?> <?php endif; ?> <div class="fibg" style="background-image: url('<?php echo $image; ?>') !important;" ></div>
to show at least a given standard picture if there’s no thumbnail (or not found). And that standard picture worked.
But now after adding this code in the default-template.php before the “<div id=”tribe-events-pg-template”>”-tag
and switching back in the-events-calendar-settings to it’s own default-template it’s working perfectly fine ??Thank you so much again – and last but not least for this great plugin
Markus
@ Daniel
I did the deleting of old revisions and some other optimization, and now the stats in the database show a size of 13 MiB overall – so, everythings seems to be fine again ??
Thanks a lot for your support !! I will check the database from time to time,
and Popup Maker is running again ??sunny greetings from Berlin
Markus
@daniel – Thanks for your reply.
A friend of mine, a database specialist, helped me with cleaning, and he said the empty entries of popup ‘occupied’ about 12 MB in the database.
Thanks a lot for the hint with the revisions – I will check this; perhaps this is the main problem – I will report.
kind regards
MarkusSorry, I forgot to give the link to the website:
https://www.livingfromyoursoul.org
(I activated the plugin temporarily again.)And here is the script I used to have a form of Stefano Lissa’s newsletter-plugin in the popup:
<script type="text/javascript">// <![CDATA[ if (typeof newsletter_check !== "function") { window.newsletter_check = function (f) { var re = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-]{1,})+\.)+([a-zA-Z0-9]{2,})+$/; if (!re.test(f.elements["ne"].value)) { alert("The email is not correct"); return false; } if (f.elements["nn"] && (f.elements["nn"].value == "" || f.elements["nn"].value == f.elements["nn"].defaultValue)) { alert("The name is not correct"); return false; } if (f.elements["ns"] && (f.elements["ns"].value == "" || f.elements["ns"].value == f.elements["ns"].defaultValue)) { alert("The last name is not correct"); return false; } if (f.elements["ny"] && !f.elements["ny"].checked) { alert("You must accept the privacy statement"); return false; } return true; } } // ]]></script> <p><!--</p> <div class="newsletter3 newsletter-subscription"> --></p> <form action="https://www.livingfromyoursoul.org/wp-content/plugins/newsletter/do/subscribe.php" method="post"> <table border="0" cellspacing="0" cellpadding="3"><!-- first name --> <tbody> <tr><th>Name</th> <td><input class="newsletter-firstname" name="nn" required="" size="30" type="text" /></td> </tr> <!-- email --> <tr><th>Email</th> <td align="left"><input class="newsletter-email" name="ne" required="" size="30" type="email" /></td> </tr> <tr> <td class="popuprightcode-td-submit" colspan="2"><input class="popuprightcode-submit" type="submit" value="Subscribe" /></td> </tr> </tbody> </table> </form>
Hope, these information help.
Thanks.