Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Are being cached on CloudFlare, or in your browser, or both.

    That’s kind of ironic. OK, so I force purged the 3 files mentioned above and now I see 3.0.6 instead of 3.0.5 and the Development Mode switch shows up on the More Settings page.

    Thx

    I was up until midnight last night coming to the same conclusion that this plugin was drastically slowing down my site. When I used the Network option (F12 in Chrome and Safari) I found that most of the time the page that was having trouble loading would finally load after about 2 minutes. Deactivating the plugin made my website immediately responsive again.

    Based on the conversations in this post, I reactivated the plugin and set Support to False. My website is still responsive.

    Looking at the Changelog, the Support feature was added in the current release 1.8.9.

    Thread Starter rzeisler

    (@rzeisler)

    I installed the plugin in production, run the script to popuplate wp_terms, and then added the coauthors to all the posts that required them.

    I did notice that when I installed the plugin (maybe after the script ran), all the Posts counts in Users were zeros, instead of the actual number of posts the user had authored. As I updated the coauthors, then the Posts counts were updated to the correct number. This required me to go to at least one post for any author who wasn’t used as a coauthor and click Update to have the Posts count show up in Users.

    Thread Starter rzeisler

    (@rzeisler)

    The above code did exactly what I would expect it to do. It added the missing entries to wp_terms and all the author pages now work. This was about 90 additional entries. Much nicer then if I had to find all the appropriate posts and click update on each one.

    I am going to do a little more testing to make sure that new users I create are added to wp_terms either when I add the user or the first time I add them as a coauthor in a post.

    Thread Starter rzeisler

    (@rzeisler)

    I will go try the above code now. You could use the register_activation_hook function to call this code when the plugin is activated.

    Thread Starter rzeisler

    (@rzeisler)

    106 authors

    Thread Starter rzeisler

    (@rzeisler)

    I took a look at wp_terms. Toward the bottom of the table, I see entries for several authors (the ones I did the update post on). They look something like this:

    name slug
    john.smith cap-john-smith

    I assume that the name is the user_login since it can includes uppercase letters, periods, and spaces, unlike the user_nicename.

    The slug is cap- plus the user_nicename because the end of the cap- has been normalized to not include uppercase or special characters.

    Thread Starter rzeisler

    (@rzeisler)

    What does “you don’t have terms for each author” mean? Is this something I can see in SQL or in the UI?

    Thread Starter rzeisler

    (@rzeisler)

    I backed out the code fix referenced at http://pastebin.com/Lb89JP17 that I had previously installed. I then updated (no changes) a post for an author that was showing repeating posts for the same article. When I went to the author page (by clicking on the coauthor_post_links) all was good, no repeating/duplicate posts.

    Each time I update a post (making no changes), the author page for that author will now show their posts correctly.

    It appears that something is going on when you update a post that fixes the problem. Is there any way to do this in mass?

    Thread Starter rzeisler

    (@rzeisler)

    Based on @wp Yoda’s comment, I added another author to a post and now the author page for both authors displays properly. The author with multiple posts now shows all the different posts. The author that I added only shows the one post (that author previously had zero posts).

    Then I went to another post for a different author. I verified that on the author page it showed the first article repeating. I then edited the post and clicked the Update button (changed nothing in the post). Then I viewed the post and click on the author (coauthor_post_links) link and I see all the posts for that author.

    I am not sure what is changing when I click the Update button, but something is “fixing” the problem that is causing the repeating posts on the author page.

    Thoughts?

    Thread Starter rzeisler

    (@rzeisler)

    @daniel Bachhuber – my theme does not have an author.php file.

    Thread Starter rzeisler

    (@rzeisler)

    This is the _post.php file from my theme:

    http://pastebin.com/gpaT79gX

    Is this what you are looking for?

    Thread Starter rzeisler

    (@rzeisler)

    Read a little bit of the discussion thread. I used mysql to dump the wp_user table, displaying user_login and user_nicename fields. Rarely do they ever match. Many of the user_login values are for example ‘John.Smith’ and the user_nicename becomes ‘john-smith’.

    I don’t know if case matters in your comparison, but anytime a user’s user_login has uppercase characters, the user_nicename replaces it with lowercase characters.

    Any blank character (space) is allowed in user_login but is replaced with a dash in the user_nicename.

    Any period is allowed in the user_login but is replaced with a dash in the user_nicename.

    I did not use a plugin that allowed me to modify the user_nicename. They are what the system created.

    Thread Starter rzeisler

    (@rzeisler)

    You also asked if this problem was happening with different users. The answer is yes, it is happening to different users, but I only included the one example above.

    Thread Starter rzeisler

    (@rzeisler)

    Is the user_nicename the field that is displayed as Nickname under Edit User?

    If the answer is yes, then yes, most user’s Nicknames are changed to be their name followed by a title (like ‘John Smith, Chief Executive Officer, XYZ Company’). and then this is used as the ‘Display name publicly as’ setting.

    Are you using this field as a ‘key’ instead of the user_id?

    Are you assuming that the Username and Nickname are always equal?

Viewing 15 replies - 1 through 15 (of 17 total)