rzeisler
Forum Replies Created
-
Forum: Plugins
In reply to: [Cloudflare] Problem with 3.0.6 upgradeAre 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.
Forum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating postsI 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.
Forum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating postsThe 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.
Forum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating postsI will go try the above code now. You could use the register_activation_hook function to call this code when the plugin is activated.
Forum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating posts106 authors
Forum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating postsI 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-smithI 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.
Forum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating postsWhat does “you don’t have terms for each author” mean? Is this something I can see in SQL or in the UI?
Forum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating postsI 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?
Forum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating postsBased 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?
Forum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating posts@daniel Bachhuber – my theme does not have an author.php file.
Forum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating postsThis is the _post.php file from my theme:
Is this what you are looking for?
Forum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating postsRead 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.
Forum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating postsYou 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.
Forum: Plugins
In reply to: [Co-Authors Plus] Author page shows repeating postsIs 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?