Sponsored Content
The Lounge What is on Your Mind? Update to Navbar - Member Info and Avatars Post 303020326 by Neo on Monday 16th of July 2018 10:38:52 PM
Old 07-16-2018
Quote:
Originally Posted by Don Cragun
I'm happy with the numbers in various colored circles around the avatar.

I'm still concerned about manually clearing confidential post counts by hitting the "Mark Forums Read" button. Hitting that button builds in a race condition that can clear notification of unread confidential posts before I receive notice that new confidential messages have been posted.
It was that way before.

When one of our admins wrote that plugin years go he did not add any hooks to update the notification system (to my knowledge) when a confidential post is viewed; and so it was the same before; however, it was not noticeable because it always appeared in the text area (at least for me) so I always had to clear notifications for confidential posts the same way. Nothing has changed from before except the fact it is more noticeable now because of using badges.

The notification feature increments not only for confidential posts, but according to the code, increments for all notices (posts in mod queue, picture comments to moderate, etc) except PMs. It may be that the notifications will update (decrement) with the vB cron during periodic system updates, but I've not testing this yet.

I will write some debugging log code in the notification system and see if I can understand how to make this even better; because I would like for these notifications to update in near real time without refreshing the page (or marking the forums read); and that goes for the PMs as well.

Thanks for staying on top of this.
 

5 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Avatars?

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)
Discussion started by: patvdv
2 Replies

2. Post Here to Contact Site Administrators and Moderators

avatars

how do i get those avatars on the bottom of my user name? (2 Replies)
Discussion started by: grizzly1
2 Replies

3. Forum Support Area for Unregistered Users & Account Problems

Update my info

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. What is on Your Mind?

Update to Posts - Member Info Icon and Badge

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

5. Web Development

Update to Member List - New Click Options

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)
Discussion started by: Neo
3 Replies
ikiwiki-calendar(1)					      General Commands Manual					       ikiwiki-calendar(1)

NAME
ikiwiki-calendar - create calendar archive pages SYNOPSIS
ikiwiki-calendar [-f] your.setup [pagespec] [startyear [endyear]] DESCRIPTION
ikiwiki-calendar creates pages that use the ikiwiki/directive/calendar directive, allowing the archives to be browsed one month at a time, with calendar-based navigation. You must specify the setup file for your wiki. The pages will be created inside its srcdir, beneath the archivebase directory used by the calendar plugin (default "archives"). To control which pages are included on the calendars, a ikiwiki/PageSpec can be specified. The default is all pages, or the pages specified by the comments_pagespec setting in the config file. A pagespec can also be specified on the command line. To limit it to only posts in a blog, use something like "posts/* and !*/Discussion". It defaults to creating calendar pages for the current year. If you specify a year, it will create pages for that year. Specify a second year to create pages for a span of years. Existing pages will not be overwritten by this command by default. Use the -f switch to force it to overwrite any existing pages. CRONTAB
While this command only needs to be run once a year to update the archive pages for each new year, you are recommended to set up a cron job to run it daily, at midnight. Then it will also update the calendars to highlight the current day. An example crontab: 0 0 * * * ikiwiki-calendar ~/ikiwiki.setup 'posts/* and !*/Discussion' TEMPLATES
This command uses two templates to generate the pages, calendarmonth.tmpl and calendaryear.tmpl. AUTHOR
Joey Hess <joey@ikiwiki.info> ikiwiki-calendar(1)
All times are GMT -4. The time now is 01:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy