Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • I’m not using this plugin specifically but have had the same issue with MaxCDN and trying to pin to Pinterest from our site. It’s very frustrating because nobody can pin from our site.

    I’ve had live chats with MaxCDN and email support with Pinterest but both say they are working on it but nothing in over a month.

    Thread Starter Hammer72

    (@hammer72)

    Of course! I should have tried that next. Fixed and thanks

    Thread Starter Hammer72

    (@hammer72)

    Feel free to change this to solved as there is no issue with wp job manager but the theme (Atlas directory) I’m using as I expected.

    When this theme is enabled, it doesn’t populate the author box with the same values as a normal theme like twenty fourteen (theme I tested with). It works as expected with twenty fourteen.

    When using Atlas theme, the author box has ‘Admin’ with a value of 1 (same as my admin account but account is named mycompanyadminaccount as mentioned previously. But when using twenty fourteen, the author box has ‘Guest user’ and a value of -1 and mycompanyadminaccount as the regular value of 1.

    Your job plugin is the only one I want to use as it has the features I need so I’ll eventually find a way to make it work with this Atlas theme!! ?? Thanks again ??

    Thread Starter Hammer72

    (@hammer72)

    It’s getting late here so I’ll tackle tomorrow but thanks so much for your assistance. I found that the if condition below is always true for every job posting. All my job entries had a post_author of 0.

    I haven’t been able to find out why ‘Admin’ is always populated but only have 2 user accounts in the db and 3 show up in the author box.

    Why exactly would this condition evaluate to true and should it every time?

    elseif( '_job_author' === $key ) {
    $wpdb->update( $wpdb->posts, array( 'post_author' => $_POST[ $key ] > 0 ? absint( $_POST[ $key ] ) : 0 ), array( 'ID' => $post_id ) );
    Thread Starter Hammer72

    (@hammer72)

    Hmm, well that could be the problem but now I’m trying to find out what is putting ‘Admin’ in that list as I don’t have an account setup by that name. I only have 2 users setup (armand – employer, mycompanyadminaccount – administrator).

    I tried to look for the admin file earlier but wasn’t sure which one it is. I’d like to hardcode ‘armand’ in the author box to see if it will still change it.

    Thread Starter Hammer72

    (@hammer72)

    sorry, doing a view source for the author box and I guess it’s just added by default since ‘mycompanyadminaccount’ is the admin account I use. value 3 is the employer account I use. It always defaults to Admin after publishing a frontend submission.

    <option value=”1″>Admin</option>
    <option value=”3″>armand</option>
    <option value=”1″>mycompanyadminaccount</option>

    Thread Starter Hammer72

    (@hammer72)

    Before I publish, the author box has the proper value of the user who submitted via the frontend form.

    But as soon as I publish, it changes the author so it doesn’t appear in their dashboard (Your Job Listings).

    I just noticed that it changes the user to ‘Admin’ (in the author box after I hit publish) which I don’t have an account for (my administrator account is named after my company). I’m guessing this is why it posts as a guest since I don’t have an account named ‘Admin” setup?

    Thread Starter Hammer72

    (@hammer72)

    For all tests, I’ve been posting with the frontend form using an account with ’employer’ role.

    I then logout and login as administrator and click on all job listings in the backend to approve the listing (clicking the ‘approve’ checkmark works fine).

    If I then edit and publish the listing as administrator, the ‘posted by’ has the proper user but when I publish as admin, it then says posted as guest.

    If I edit again and change the ‘posted by’ value back to the original user, it disregards the value and still posts as guest.

    Thread Starter Hammer72

    (@hammer72)

    Ok, thanks. I upgraded to 1.11.0 (WP 3.9.1) and it still does it so must be a conflict with some plugin I have installed. I’ll troubleshoot by disabling plugins one at a time.

    I published jobs with 2 different admin accounts and still says ‘posted by a guest’ so it doesn’t seem to recognize the account and also disregards the user in the select box.

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