Thank you, that would be very kind of you.
I really hope you are able to solve the issues. Most important the “Unread and recently updated topics list” not including several forums in guest view.
I am sending a pm shortly.
Thank you, that would be very kind of you.
I really hope you are able to solve the issues. Most important the “Unread and recently updated topics list” not including several forums in guest view.
I am sending a pm shortly.
I am having the same issue. My dashboard widget used to show unread posts, but now it doesn’t since the upgrade. I have created a new SP account and that user doesn’t show unread posts either. It all just says ‘0’ unread. I do see in my error log that the timezone of my server is invalid. Here is the actual log:
file: /simple-press/sp-api/sp-api-timezone.php
line: 29
function: date_default_timezone_set
Notice | date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID ‘UTC -5’ is invalid
You can see there is a space in there and that is why the error is thrown. Are you using the timezone to find unread posts?
you can ignore the timzone warning.. its a mere notice… and has been corrected in 5.1… its a shame that wp added those utc +/- in as timezone strings since they are not valid timezone strings in php… timzone, yes, but not timezone strings…
could you please explain the problem further… the OP was about unread posts on the front end, but you are talking about the dashboard widget in the admin… not the same thing… how is the front end working for unread posts?
Yes, both are not working. Widget and front end. I tried to add new posts and replies from both accounts and neither one shows any unread any where. But it does show the “Unread and recently updated topics” list at the bottom for the non admin account but does not show for the admin.
it does not show for the admin because the default is not to show for admins – most prefer to see the admin bar…
but you can change that… just need to edit the spGroupView.php template file (make sure you make your own sp theme first: http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/)… in the call at the bottom tosp_RecentPostList(), just add to the first argument, admin=1
just to make sure you understand how the unread post count works, have you read: http://wiki.simple-press.com/faq-answers/understand-unread-post-lists/
its a unread list since your last visit… so if you are logged in, you wont see them as new… but if you log out, then make the test posts with different account, then log back in, you should see unread posts…
Hi guys,
Dont forget to tell me when you are done, so i can delete the temporarily SP account i created for you.
Best regards
Thomas
done? sorry, did I miss something? Did you PM some details to Andy? I have a backlog of PMs but dont recall one here…
Yes – I am on it. I have had one look at the site and am doing some research in the code. Will probably need to revisit but will let you know if and when I find anything.
Yellow Swordfish said
Yes – I am on it. I have had one look at the site and am doing some research in the code. Will probably need to revisit but will let you know if and when I find anything.
Thank you Andy.
Your research is very appricated and i really really hope you find the solution to solve the issues at my site.
Best regards
Thomas
http://friskyttarna.eu
I do have a couple of questions. The first is what WP plugins do you have active?
The second is more complicated but is important. Are you familiar with looking at your database tables? What I think I need you to do is to check a couple of data items for me immediately after the unread post count pops up as zero when it should not be zero. Is that going to be possible?
WP plugin
Akismet, All in one SEO, Global hide/remove admin bar, Google analytics for wordpress, Google XML sitemap, NextGen gallery, TubePress, Widget Logic visual, WP-pagenavi.
Looking database tables
No i never heard of looking database tables. But tell me how to do it, and i will help you with pleasure.
will let Andy answer as to what he wants you to do, but you can view items in your database using a db tool such as phpmyadmin… normally that tool is provided by your host and can be launched from your server control panel (ie cpanel)…
Mr Papa said
will let Andy answer as to what he wants you to do, but you can view items in your database using a db tool such as phpmyadmin… normally that tool is provided by your host and can be launched from your server control panel (ie cpanel)…
I did login to cpanel, and yes, phpmyadmin is one of the available tools.
Great. All you are doing is looking at the actual data in the database in tabular format.
See if you can do this for me. Run your forum – any page. You need to have unread posts when you do this so that number needs to be positive. Keep reloading the page until it shows as zero as you say it will quite quickly. Then stop.
Go to phpMyAdmin and when you have selected the database select the sfmembers table (which will be prefixed with your WP table prefix) in browse mode.
Locate the row in that table that is your account. Make sure it is the right row by the user ID and display name.
The column we are interested in is called ‘newposts’ so you might need to scroll right to find it. Can you select whatever is in that column and paste it into your reply here so I can look at it?
Oh – and tell me what the number of newposts is showing at before it went to zero.
Login
14 unread messages.
a:2:{s:6:”topics”;a:14:{i:0;s:4:”1753″;i:1;s:4:”17…
Zero
0 unread messages.
a:2:{s:6:”topics”;a:14:{i:0;s:4:”1753″;i:1;s:4:”17…
It looks llike the string should include more text, but i could not figure out how to extract it.
I am adding two images with time stamp. First showing zero messages. Second 14 messages after a page refresh a few minutes later.
Hmm could not. What file size limit do you have?