No Circle
-
Hi … looks like a very interesting idea for editors 🙂
Just checking it out … but not seeing any circle for flag new posts … even after creating a couple of new posts …
Settings are saved … is there anything else I need to check?
-
What WordPress theme are you using? This may be a problem with a custom theme. Try switching to the default WP theme. Also, please check if there is a cookie with name “mark_new_posts_xxxxxxxx_time” set for your blog’s page.
Hi 🙂 I have my test setup on the Twenty Fifteen theme … on version 4.2.2
There is no cookie with that name .. or anything similar.
The settings page for the plugin seems to be fine
Is there anything else you want me to check?
Please activate debug mode. It can be done by changing the following line in wp-config.php:
define('WP_DEBUG', false);
“false” should be changed to “true”
Do any warnings appear on your blog’s pages while in debug mode?Hi … no errors with debug on
Also have no other plugins active … Twenty Fifteen Theme
Could it be something to do with being on a localhost?
Probably no. Please locate the line #123 in mark-new-posts.php and replace it with the following two:
error_log(sprintf('Mark New Posts: set cookie %s %s %s', $cookie_name, $value, $exp_time)); setcookie($cookie_name, $value, $exp_time, COOKIEPATH, COOKIE_DOMAIN);And tell us if anything will change, and also are there any “Mark New Posts: set cookie” lines appearing in your PHP error log after you publish new posts and open them.
Hi … just made the update … no errors but I do see cookies on the post edit page
‘mark_new_posts_157a9401_posts 80 localhost /techview/ 19 June 2015 09:30:23 IST 31 B ‘
‘mark_new_posts_157a9401_time 1432058764 localhost /techview/ 18 June 2015 19:06:04 IST 38 B ‘
That’s interesting. Now do replace the second one again with:
setcookie($cookie_name, $value, $exp_time, ‘/’);Hi … add the new line … still the same with the same cookies
I tried it on a semi-live setup … completely different site and no luck
I will play around a bit more … Is there anything else you would want me to check?
You said you added the new line – do you mean you kept the old “setcookie”?
So the cookies are only visible on the post edit page, and nowhere else?
If it’s possible, please give me the link to the semi-live site.Hello again. I suspect it may be the problem with your browser. It may not accept the plugin’s cookies for some reason. Please also check if the plugin will work with another browser.
Hi 🙂
I have tested on Firefox, Chrome … primarily be testing on Safari … but all are the same.
The semi-live setup is not readily accessible
And the cookies are only visible on the post edit page, and nowhere elseI did a brand new local host install .. and the only plugin I added to this fresh install was this plugin … very strange, not sure if it will be easy to resolve
but on this new install I do see the cookie on the post list page
mark_new_posts_157a9401_posts 80%2C89 localhost / 20 June 2015 12:41:05 IST 36 BI guess no-one else is having the issue
Hello again! Sorry, I thought I replied to your most recent post, but I see my reply is not here.
So, please, make one more test: add the following line
error_log(sprintf('Mark New Posts cookie domain: %s; cookie path: %s', COOKIEPATH, COOKIE_DOMAIN));
before the abovementioned line #123
And tell me what appears in the PHP error log.Hi .. no worries 🙂
just added the code … but there are no errors showing
Also no circle … not sure if we will get to the bottom of it? … just seems strange
Errors surely must appear after you have read any post that you’ve never read before.
Hi 🙂
No errors … but I have noticed that the new / circle is appearing in the homepage article list now when I first publish a new article.
But if I refresh the page … or go into an old article for example … when I come back to the homepage the new / circle on the new articles disappears
Even with the “Mark posts as read only after opening” checked
The topic ‘No Circle’ is closed to new replies.