Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
Here is the PHP code to update the $newhiddenposts global var (and I searched the plugin code in the DB and this is the only reference to that $newhiddenposts var:
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
OK Don,
Looking at the code above, all confidential posts are retrieved:
So, these should clear when the dateline of the post is greater than the time of your last visit, which is based on logging on after logging off.
So, the current system is set up to clear these based on login/logoff times. It is not necessary to "Mark Forums Read" if you logout and then log back on.
However, I am still interested in adding some new code that marks each one of these read; but if we do it automatically, then if you later want to come back and review it, it will not be easy to find; so that's not a perfect solution, either.
Since they do clear and update based on logoff/login, I'm going to move on to other tasks, as call this "good enough for now" unless Scott wants to work on this when he has time since he wrote this great plugin and he might have a good idea how to address this.
I login and get avatar top right with a white 2 in a blue circle.
I click on the 2 and it opens the sidebar showing all my details, location, etc.
It says "New condfidential posts:2" and pointing to it says "Go to your confidential posts" (whatever that means? My conf posts or other people's conf posts on threads to which I've subscribed?).
Clicking on that gives me:
Quote:
Sorry
There are no new posts since your last cookie update.
You will be automatically redirected to new and updated discussions during the previous 24 hours.
Please click below if you are not redirected to our current day discussions or to go there immediately.
Search Last 24 Hours
which then, after 10+ seconds times-out to the Forum Search page.
Clicking on the "Search Last 24 Hours" shown above doesn't get me anywhere either.
Am I doing something stupid or missing something here??
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
Could be anything, LOL
I'm changing a lot of CSS, CSS libs, JS, JS libs, HTML and more and testing in real time, so clean your cache out often or close and restart your browser from time-to-time if things are weird.
Today I changed a number of tables to Bootstrap table classes and added some div wrappers to many tables, sometimes things break and I have to fix them.
Seems to be fine for the most part and I'm happy with Bootstrap, but I've only touched a small number of tables compared to the entire site; and so far when I try to go deeper into tables to make them more responsive, things break.
FYI,
Have updated our memberlist :
https://www.unix.com/members/list/?order=DESC&sort=lastvisit&pp=30
$cat memberlist.php
...
375 // added next line by neo 15 Nov 2018
376 $condition .= ' AND credits > 0';
...
The reason for this change is insure the... (3 Replies)
Hey,
Upgrade (step 1) the posts, by putting a "user info" icon in the top right and making it so it toggles the user info.
The user info icon has a badge which shows the number of posts. I will have to dig around in the code more to get the total posts thanks and other badges working; but... (22 Replies)
Discussion started by: Neo
22 Replies
3. Forum Support Area for Unregistered Users & Account Problems
I hadn't logged on here in several months. I want to update my info, such as the email address that I can be contacted at, but I don't see any links to do that. (1 Reply)
Discussion started by: cleopard
1 Replies
4. Post Here to Contact Site Administrators and Moderators
Just wondering why the board is configured not to show any avatars in the post displays? I haven't seen anyone else asking this question and there is no mention of it by the admins anywhere (correct me if I am wrong).... A little bit of playfulness would do unix.com good :) (2 Replies)