Sponsored Content
The Lounge What is on Your Mind? Update to Navbar - Member Info and Avatars Post 303020397 by Neo on Wednesday 18th of July 2018 10:39:04 AM
Old 07-18-2018
Quote:
Originally Posted by hicksd8
I'm still getting (what I think is) strange behaviour.

I log in, click on "New Topics" from the menu bar, it says "Sorry" there are none, etc, but then, if I don't touch anything (just let it sit there), it times-out after 10+ seconds and goes to the "Search Forums" page.

Is it supposed to do that? Or, again, I'm I doing something stupid?
Hey Dennis,

Thanks. The reason you were getting some delays is because the site was recently hit by some rogue A6-Index bots which sucked so much data per second that the load average on our mega server shot up to 50+.

This is kinda off topic related to the UI, so forgive me if I sound like a busy developer:

The "New Topics" function is the same PHP function as it has always been and has not changed and is not effected by UI CSS or related JS changes to the UI. "New Topics" is based on a user cookie and the time between your logins, and if there are no "New Topics" because of the timestamp in your cookie versus the time of any newer posts, then you will see a kind of redirection and it has been this way for 10 years, nothing has changed. There will also be issues if, for any reason, a browser has blocked a cookie or a cookie is not set properly due to a time-out or other network issue.

I rarely use "New Topics" for this reason, and I always use "Today's Posts" because this function is not cookie based, but it based on just the days new posts.

These PHP issues (core functionality) are not really UI related, so it should be in a different thread, but I'm trying not to sound like a developer (too much, LOL) who is being too technical.

To be clear, I have not made any changes to any underlying PHP code which effects any functions like search, or posting, etc. I am currently only working on code which effects the browser UI (CSS and Javascript manipulation of the DOM). This is already a monumental task, so I it does help me manage my developing time (which is very busy) if we stick to UI topics for in my UI threads.

Cheers.
 

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
panel_above(3CURSES)					     Curses Library Functions					      panel_above(3CURSES)

NAME
panel_above, panel_below - panels deck traversal primitives SYNOPSIS
cc [ flag ... ] file ... -lpanel -lcurses [ library .. ] #include <panel.h> PANEL *panel_above(PANEL *panel); PANEL *panel_below(PANEL *panel); DESCRIPTION
panel_above() returns a pointer to the panel just above panel, or NULL if panel is the top panel. panel_below() returns a pointer to the panel just below panel, or NULL if panel is the bottom panel. If NULL is passed for panel, panel_above() returns a pointer to the bottom panel in the deck, and panel_below() returns a pointer to the top panel in the deck. RETURN VALUES
NULL is returned if an error occurs. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
curses(3CURSES), panels(3CURSES), attributes(5) NOTES
These routines allow traversal of the deck of currently visible panels. The header <panel.h> automatically includes the header <curses.h>. SunOS 5.10 31 Dec 1996 panel_above(3CURSES)
All times are GMT -4. The time now is 03:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy