i.lychkov
Forum Replies Created
-
Forum: Plugins
In reply to: [Mark New Posts] Can display a notificatin mesage/button ?Hello! Sorry, I don’t quite understand your question. Mark New Posts doesn’t send any E-mails. It only highlights posts that users haven’t read yet since the moment of their last visit.
Forum: Plugins
In reply to: [Mark New Posts] No CircleThere is one question left though: is the plugin working on your primary site, or still it isn’t? I ask this just in case, because I see that the topic is still not resolved.
Forum: Plugins
In reply to: [Mark New Posts] No CircleHey, it’s alright! It’s working!
If the “Mark posts as read only after opening” option is enabled, it works only for those posts which have excerpts (the “read more” link). It’s a feature. Try making a post with excerpt.Forum: Plugins
In reply to: [Mark New Posts] No CircleErrors surely must appear after you have read any post that you’ve never read before.
Forum: Plugins
In reply to: [Mark New Posts] No CircleHello 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.Forum: Plugins
In reply to: [Mark New Posts] No CircleHello 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.
Forum: Plugins
In reply to: [Mark New Posts] No CircleYou 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.Forum: Plugins
In reply to: [Mark New Posts] No CircleThat’s interesting. Now do replace the second one again with:
setcookie($cookie_name, $value, $exp_time, ‘/’);Forum: Plugins
In reply to: [Mark New Posts] No CircleProbably 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.
Forum: Plugins
In reply to: [Mark New Posts] No CirclePlease 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?Forum: Plugins
In reply to: [Mark New Posts] No CircleWhat 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.