Update to Navbar - Member Info and Avatars


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? Update to Navbar - Member Info and Avatars
# 1  
Old 07-17-2018
OK Don,

Looking at the code above, all confidential posts are retrieved:

Code:
  WHERE visible = 3 AND " . TABLE_PREFIX . "post.dateline > " . $vbulletin->userinfo[lastvisit] . "

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.
# 2  
Old 07-17-2018
Did first integration of Bootstrap with the advanced stats on the first page:

Now:

Code:
<div style="border-style:solid;border-width:1px;margin-bottom:20px;padding:0px;overflow:auto;">
<table  class="table table-sm" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%" align="center" style="margin:0;" >
/* old code  */
</div>

Was:

Code:
<table  class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%" align="center" " >

Looks OK and seems to work smoother, but will not be responsive until I do the other embedded tables in that code Smilie

But the good news is that finally, finally, the scrollbars work on this code block Smilie
# 3  
Old 07-17-2018
Sounds like you are doing something you do not understand unrelated to CSS and coding issues LOL
# 4  
Old 07-17-2018
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.
# 5  
Old 07-18-2018
Update:

Did a lot more today:

1. Updated the center nav bar, adding a drop down for man pages.
2. Added some more menu items to the drop down and rearranged.
3. Added a few things back to the quick link drop down.
4. Cleaned up more code and fixes some formatting issues in the usercp and options area (by turning off Bootstrap CSS on those pages and more).
5. Used some JS to collapse some things (forums, activity, whois, etc) by default on the home page. However, if you uncollapse them they will stay visible.
6. Fixes some drop downs for guest users (search and man).
7. Change the background color of the code tags (for fun, from very opaque green to opaque blue) but left the quote tags very opaque green for now:

Code:
background-color:  rgba(7, 27, 183, .05);

If you want other colors for the code and quote tags backgrounds, please post with rbga() suggestion. Also, if having some the forums on the home page collapsed by default is annoying let me know which ones you don't want collapsed by default).

Thanks.
# 6  
Old 07-18-2018
I have tried the menus on FF, Chome and Safari (all on the Mac) and they work the same they have always worked for the past 10 years. There is no changed behavior because the JS is the same.

You click on the little arrows, they open; you click on the arrow again, it closes; and you click on an arrow it opens and you move the mouse to another area and the new menu opens and the prior menu closes.

This code is controlled by a JS which has not changed a decade and it works fine on all three browsers (FF, Chrome, Safari) and works the same when logged in and logged out.

In other words, nothing has changed since 10 years, the behavior has not been modified because the behavior is based on the original, unmodified "vbmenu_control" and associated JS, and I just tested and it works fine.
# 7  
Old 07-18-2018
Since you are on OSX; I suggest you make a screen movie and post it.

I am running Mojave (Beta 3) and it is very easy to take screen movies from the menu.

Upgrading to Mojave is no problem (I'm been running Mojave since day one, but you have to join the Beta program with your Apple ID); to be safe, make a full TimeMachine Backup before upgrading.


Image
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. 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

2. 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

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. 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

5. 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
Login or Register to Ask a Question