Lord_Mord
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Popular Posts] Shortcodes in ExcerptsThank you very much. That did the job.
We had (and still have) performance problems with the videos. The client says, the videos work better with that player. I say that’s coincidence, but what do I know? At least he stopped telling me to “make it work”.
Forum: Plugins
In reply to: [WordPress Popular Posts] Shortcodes in ExcerptsI will send you an email with the link.
I replaced the on_sent-stuff with a PHP based version, that I found on the internet:
add_action(‘wpcf7_mail_sent’, ‘ip_wpcf7_mail_sent’);
function ip_wpcf7_mail_sent($wpcf7)
{
$on_sent_ok = $wpcf7->additional_setting(‘ip_on_sent_ok’, false);if (is_array($on_sent_ok) && count($on_sent_ok) > 0)
{
wp_redirect(trim($on_sent_ok[0]));
exit;
}
}It can be used like the JS one.
Forget it for the moment. I made some progress. I will report back, if I have some news.
I’m completely stuck. Yes there is some ajax, that should make the form slide instead of loading a new page. But that worked once.
Now I did a complete new WordPress install ( https://www.hochmuth-augsburg.de/test/one/ ), used Twentyfifteen, installed CF7 and CF7 Multi Step and just copied the forms from the other page. No ajax, no other modifications. The outcome is, that the second page isn’t loaded at all. Maybe I did something wrong, this is starting to make me nervous, as this page should be finished before christmas.
This is how my contact form looks:
<p class=”marginbottom”>Ich wünsche ein konkretes, für mich v?llig unverbindliches Angebot über die Anmietung einer Arbeitsbühne. Dies sind meine Anforderungen:</p>
<p class=”marginbottom”>Bauvorhaben
[text bauvorhaben] </p>
<p class=”marginbottom margintop”>Wo befindet sich Ihre Baustelle?</p>
<p>Stra?e*
[text* strasse] </p>
<p>PLZ*
[text* plz] </p>
<p class=”marginbottom”>Ort*
[text* ort] </p>
<p class=”margintop”>Welche Arbeitsh?he
[text hoehe]</p>
<p>Wieviel Tragkraft ben?tigen Sie im Korb?
[text pers]Person/en[text kg]Kg Material</p>
<p>Welche Antriebsart ist m?glich/sinnvoll?
[text antrieb]</br>[checkbox antriebsart use_label_element “Diesel” “Elektro” “Batterie” “egal”]
[hidden step “1-3”]
<p>[submit “Weiter”]</p>
<span class=”pflicht”>*<span>Pflichtfelder</span></span>This is what I have under additional options:
on_sent_ok: “location.replace(‘https://www.hochmuth-augsburg.de/test/two/’);”I upgraded to 1.4.3. The hidden step tag is on every page of the form. I emptied the cache and used a private window. But all this made no difference. And by the way: If I say, I don’t know, if it was always this way, I mean, I don’t know, if the error appeared from the beginning, BUT I could send messages without problems. I just didn’t test it very often.
I don’t know if it helps, but this is the page in question: https://www.hochmuth-augsburg.de/wordpress/buehnen/direktanfrage/
And I also tried add_filter(‘cf7msm_force_session’, ‘__return_true’);
Thank you. I wanted to use Thickbox, but maybe I can adjust Lightbox to my needs.
Forum: Plugins
In reply to: [Contact Form DB] Submit data to existing form table rowI’m not completely shure, but version 5.3.3, I think.
Forum: Plugins
In reply to: [Contact Form DB] Submit data to existing form table rowI made it work. The problem was: The class had no constructor.
Forum: Plugins
In reply to: [Contact Form DB] Submit data to existing form table rowThank you very much, that was very helpful.
I made them two forms again and managed to do some stuff by changing data before it is saved. But now I want to use a Transform Class and can’t get it to work. This Class should do nothing, I think:
require_once(ABSPATH . ‘wp-content/plugins/contact-form-7-to-database-extension/SortTransform.php’);
class Ergebnisfilter extends SortTransform {
public function sort($a, $b) {
return 0;
}
}But if I use it in the shortcode, the_content() is suddenly empty. What did I do wrong?
Forum: Plugins
In reply to: [Quick Featured Images] Preset feature image – ignore if featured image set?Hello! I modified the plugin myself, so I need no help and this is just a suggestion. I don’t use the “use first content image as featured image”-option, but I am using the taxonomy-rules. BUT I only want to set category pictures, if there is no featured image already set, which is not possible at the moment.
In my opinion the radio buttons should affect ALL rules, not just the first one.
Great plugin, by the way. It saved me from a lot of trouble.
Forum: Plugins
In reply to: [WP Booking System - Booking Calendar] UTF-8 Email MessageBtw: For me it’s not Eastern European Languages, it’s German Umlauts.
Forum: Plugins
In reply to: [WP Booking System - Booking Calendar] UTF-8 Email Message2.6. Full Version
Forum: Plugins
In reply to: [WP Booking System - Booking Calendar] UTF-8 Email MessageSame here.