Forum Replies Created

Viewing 11 replies - 46 through 56 (of 56 total)
  • Thread Starter dipaksaraf

    (@dipaksaraf)

    The Newsletter optin form is not looking well in IE9 does anyone got any idea how to resolve it?

    Thanks
    Dipak

    Thread Starter dipaksaraf

    (@dipaksaraf)

    Oops my mistake I had corrected it and its working perfectly. Thanks for your help!! It was really making me crazy!!!

    Thread Starter dipaksaraf

    (@dipaksaraf)

    Hello Mookasurus

    I have updated as u have suggested, but doesn’t seems to have any effect on the pages in Chrome. Please suggest.

    Thanks
    Dipak

    Thread Starter dipaksaraf

    (@dipaksaraf)

    The codes got stripped due to forum rule, Please find the codes included in the function.php

    https://pastebin.com/HA4BT6Gp

    HEllo

    I am trying to integrate the tooltip on imagemap and when the user will hover over a particular area the content will be displayed.

    It is working perfectly in FF, though i have tweaked the tipTip.css in order to position the tip, but it seems to be not working on IE. Please suggest how to resolve this issue.

    Thanks
    Dipak

    Thread Starter dipaksaraf

    (@dipaksaraf)

    In one of our WP site whenever a user responds to a from or submits a request from a from, a draft post is created automatically. The link for the draft post is mailed to the administrator to edit the post before publishing.

    Now the new requirement is to create a trash link also for the same post to be mailed to admin. The problem with the nonce is that it need to vbe verified before the same can be used.

    I am able to create a trash link, but am unsure how to verify this link else it will throw an security error “Are you sure you want to do this?” and Please try again?

    the codes used are

    Edit code for post:
    https://www.domainname.com/wp-admin/post.php?post=74783&action=edit

    Trash code for the post:
    https://www.domainname.com/wp-admin/post.php?post=74783&action=trash&_wpnonce=abcdedfg

    The code used for creating the Trash link:

    $nonce= wp_create_nonce  ('my-nonce');
    $nonce=$_REQUEST['_wpnonce'];
    if (! wp_verify_nonce($nonce, 'my-nonce') ) die("Security check");
    
    $elink = "\n\n Trash Link:  https://www.somedomain.com/wp-admin/post.php?post=$post_id&action=trash&_wpnonce=$nonce \n\n\n";

    The following code also been place in <form>
    <?php wp_nonce_field('my-nonce'); ?>

    Now the issue is trash link alongwith the nonce code is being generated, but when the link is created from mail it generated security error.

    I think i have to embed some kind of code in link so that the nonce code is verified before it can be used?

    Any thought or suggestion on how to create a trash link which can be mailed and can be used by just clicking the link rather that using from the WP-admin pages.

    Thread Starter dipaksaraf

    (@dipaksaraf)

    Hi

    I have been using the instruction to code the nonces:

    $nonce= wp_create_nonce  ('my-nonce');
    $nonce=$_REQUEST['_wpnonce'];
    if (! wp_verify_nonce($nonce, 'my-nonce') ) die("Security check");
    
    $elink = "\n\n Trash Link:  https://www.somedomain.com/wp-admin/post.php?post=$post_id&action=trash&_wpnonce=$nonce \n\n\n";

    I have also placed this code in the form

    <?php wp_nonce_field('my-nonce'); ?>

    The link is being generated along with nonces code i guess but when i am clicking on this link i am error which says “Are you sure you want to do this?” and Please try again?

    How do i resolve this error??

    Dipak

    I am also getting the same error while installing the plugin on WP version 3.1.2

    “The plugin generated 2523 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.”

    Any suggestion of how to resolve this error.

    Thanks

    Dipak

    Thread Starter dipaksaraf

    (@dipaksaraf)

    Hello

    in addition to the above ..the functionality of the above codes is to create a draft post in wordPress,mail the response to user as well as [email protected] with following details:

    Thank you for contacting. We appreciate your business and will respond personally to your inquiry.
    ——-

    Name: Working perfectly
    E-mail: Phone#: Working perfectly
    Customer Type: Working perfectly
    Comments: Working perfectly
    ID_Code: In mail it is not working,
    Ad Body: In mail it is not working,
    Ad Link: In mail it is not working,

    The Id_code is blank and Ad Body is the thank you message which is being displayed on submitting the form ( It should be the ad for which he has responded, Ad Link; the url of thank you message, whereas it should be the url of ad which he has responded against.

    The codes pastebin url is here in case the codes get trimmed https://pastebin.com/avQf0Snf

    btw the fist line <<?php is typographical error when i was coping the code, similarly someone@@somedomain.com is also typo error.

    Any suggestion will be appreciated.

    Thanks

    Dipak

    Thread Starter dipaksaraf

    (@dipaksaraf)

    The Link to the code is https://pastebin.com/JbaJakKh

    Please help.

    Thanks

    Dipak

    Forum: Fixing WordPress
    In reply to: PHP Mail Problem
    Thread Starter dipaksaraf

    (@dipaksaraf)

    Hello Curtis

    Thanks for the help, after changing the code as suggested, the mail is working smoothly.

    Thanks for the Help…….

    Dipak

Viewing 11 replies - 46 through 56 (of 56 total)