Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter ako21

    (@ako21)

    Sent you an email from this page: http://www.supraliminalsolutions.com/blog/contact/

    Is that correct?

    Thanks again!

    Thread Starter ako21

    (@ako21)

    Still there Joseph?

    Thread Starter ako21

    (@ako21)

    I still get the bad login/pass error message and no post is created. Perhaps I’m missing some php module? What are the requirements for this to work? Anyway, the full error message can be found below. If all else fails, could you log in to my admin panel and see what’s wrong?

    403: Bad login/pass combination.
    
    Array
    (
        [blog_id] =>
        [username] => admin
        [password] => password
        [content_struct] => Array
            (
                [post_title] => Maison a vendre a Vacoas
                [terms_names] => Array
                    (
                        [category] => Array
                            (
                                [0] => Homes For Sale
                            )
    
                    )
    
                [custom_fields] => Array
                    (
                        [0] => Array
                            (
                                [key] => post_address
                                [value] => Pinewood Road, Vacoas-Phoenix, Mauritius
                            )
    
                        [1] => Array
                            (
                                [key] => post_price
                                [value] => 2000000
                            )
    
                        [2] => Array
                            (
                                [key] => post_latitude
                                [value] => -20.2913147
                            )
    
                        [3] => Array
                            (
                                [key] => post_longitude
                                [value] => 57.5343948
                            )
    
                        [4] => Array
                            (
                                [key] => post_location
                                [value] => curepipe
                            )
    
                    )
    
                [post_author] => 6
                [post_date] => IXR_Date Object
                    (
                        [year] => 2012
                        [month] => 12
                        [day] => 17
                        [hour] => 01
                        [minute] => 47
                        [second] => 03
                        [timezone] => Z
                    )
    
                [post_date_gmt] => 20121217T01:47:03Z
                [comment_status] => open
                [ping_status] => open
                [post_content] => maison a vendre a vacoas
                [post_status] => publish
                [post_type] => post
            )
    
        [post_id] => 2572
    )
    Successfully ingested Maison a vendre a Vacoas at line 1 of ingest-15-09-09-09-02-27-am.csv with postId: 1

    As for the javascript error in console, it was giving this:

    Uncaught TypeError: Cannot read property 'ajax' of undefined for http://mywebsite.com/wp-content/plugins/supra-csv-parser/js/tooltip.js?ver=4.2.4

    So I replaced all occurences of $ with jQuery in tooltip.js πŸ™‚

    Thread Starter ako21

    (@ako21)

    Also, something must be off the way the plugin includes jquery. It breaks stuff of quite a few other plugins. Sure you injecting it the ‘WordPress’ way?

    Thread Starter ako21

    (@ako21)

    No it’s not working with debugging off.

    Tried it on your demo. Stuck/frozen on the loading spinner when I click on Ingest. The csv filename is ingest-15-09-09-02-27-am.csv.

    Can you have a look at it please?

    Thank you.

    Thread Starter ako21

    (@ako21)

    Actually the problem is with the plugin itself. Setting comment_status to 0 was throwing an error. So I modified the json-api-user/controllers/User.php file to this:

    $data = array(
    'comment_post_ID' => $json_api->query->post_id,
    'comment_author' => $user_info->user_login,
    'comment_author_email' => $user_info->user_email,
    'comment_author_url' => $user_info->user_url,
    'comment_content' => $json_api->query->content,
    'comment_type' => '',
    'comment_parent' => 0,
    'user_id' => $user_info->ID,
    'comment_author_IP' =>  $ip,
    'comment_agent' => $agent,
    'comment_date' => $time,
    'comment_approved' => 0,
     );

    instead of:

    $data = array(
    'comment_post_ID' => $json_api->query->post_id,
    'comment_author' => $user_info->user_login,
    'comment_author_email' => $user_info->user_email,
    'comment_author_url' => $user_info->user_url,
    'comment_content' => $json_api->query->content,
    'comment_type' => '',
    'comment_parent' => 0,
    'user_id' => $user_info->ID,
    'comment_author_IP' =>  $ip,
    'comment_agent' => $agent,
    'comment_date' => $time,
    'comment_approved' => $comment_approved,
     );

    Note how comment_approved has been set to 0.

    Cheers! πŸ™‚

    Never mind. Fixed. It’s in the first question of the FAQ.

    How did you fix it? It’s not working on our site either. Says “Page not found”. Thanks.

    Thanks for the prompt reply. Works great! πŸ™‚

    Hi Grzegorz. I was wondering what needs to be changed to prevent the plugin from reappearing a second time on the same page even if you’ve clicked on the close x button? This happens when the user scrolls all the way to the top of the page and then scrolls back down. It reappears. It shouldn’t. Can you tell me what needs to be modified in the code? Thanks.

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