Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter trude76

    (@trude76)

    I did – there’s no blank or whitespace .. same issue keeps going on

    Thread Starter trude76

    (@trude76)

    Unfortunately not. Of course it’s one warning less because of comment out the. Niow the warnings left are:

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/megajob/public_html/wp-content/extensions/newsletter/popup/iframe.php:1) in /home/megajob/public_html/wp-content/plugins/si-contact-form/si-contact-form.php on line 1947
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/megajob/public_html/wp-content/extensions/newsletter/popup/iframe.php:1) in /home/megajob/public_html/wp-content/plugins/si-contact-form/si-contact-form.php on line 1947
    Thread Starter trude76

    (@trude76)

    My God – you’re really fast in replying ()-:<

    Here’s the whole code of it – it’s not that much:

    <?php
    header('Content-Type: text/html;charset=UTF-8');
    include '../../../../wp-load.php';
    
    $module = NewsletterPopup::instance();
    $theme_options = $module->themes->get_options($module->options['theme']);
    $theme_url = $module->themes->get_theme_url($module->options['theme']);
    
    $form = NewsletterSubscription::instance()->get_subscription_form('popup', WP_CONTENT_URL . '/extensions/newsletter/popup/subscribe.php');
    $message = $module->options['subscription_text'];
    if (empty($message))
        $message = NewsletterSubscription::instance()->options['subscription_text'];
    
    if (strpos($message, '{subscription_form}') !== false)
        $message = str_replace('{subscription_form}', $form, $message);
    else {
        if (strpos($message, '{subscription_form_') === false) {
            $message .= $form;
        }
    }
    
    $message = Newsletter::instance()->replace($message, $user);
    
    //ob_start();
    require $module->themes->get_file_path($module->options['theme'], '/theme.php');
    //$message = ob_get_clean();
    
    //echo $message;

    Already lot of thanks for supporting me.

    Thread Starter trude76

    (@trude76)

    Sorry – forgot to send a link to my site:

    My site

    Thread Starter trude76

    (@trude76)

    I’ve got it. It was really simple and works great that way.

    Thread Starter trude76

    (@trude76)

    Hi Markus,

    I think your plugin is an absolute delight and the best far and wide to filter duplictes. Any other kind don’t work very well or not at all.

    A really great work you’ve got provided. If you work so thoroughly in all, there’s certainly a few more orders soon on my part.

    But enough of the honey (-;

    I have got a question about the plugin:

    I use this to put on a job search site where twice and three times (sometimes more …) sorted out. I am currently working mostly with XML imports that generate multiple double entries.

    Now the duplicates going to “Pending”.

    As they’re stored there I absolutely won’t use them anymore, it would be beneficial for my case that they same hike in the trash.

    Because every day for several hundreds duplicate entries, it is quite time consuming maximum of 100 per procedure of “Pendings” push into the trash first and delete it in a second step.

    What I have to change where in code to realize that?

    I would be happy if it could work that way. Stained, it would be nicer even if double entries would completely deleted automatically after sorting out.

    Would that be possible?

    Thanks a lot for your answer already.

    Warm regards.

Viewing 6 replies - 1 through 6 (of 6 total)