What is on Your Mind?

Come inside and relax a while. Discuss whatever is on your mind. New members can introduce themselves. However, technical Q&A should happen in our other forums.

Updates to Forum Navbar and Thread Reply for Unregistered Users

👤 Login to reply

 
Thread Tools Search this Thread Display Modes
    #1  
Old 6 Days Ago
Neo's Unix or Linux Image
Neo Neo is online now Forum Staff  
Administrator
 
Join Date: Sep 2000
Last Activity: 20 July 2018, 11:51 PM EDT
Location: Asia pacific region
Posts: 14,577
Thanks: 1,032
Thanked 1,438 Times in 698 Posts
Updates to Forum Navbar and Thread Reply for Unregistered Users

Hey

You may have noticed I changed the navbar at the top a bit. I've almost finished converting the navbar to divs from table tags.

In addition, for unregistered users, instead of seeing a "New Reply" button, unregistered users see a "Login to Reply" and icon which looks the same as our new login icon on the top right (but smaller).

In addition, I updated the new login form to add a "Lost Password?" link, since I am phasing out all legacy "no permission" messages and redirects.

More changes coming as I slowly get rid of all legacy table tags and update the Javascripts and DOM elements here and there.

For example, here is the "New Reply" Icon for users not logged in:



Which takes you to the login area (with lost password link) :



And here is the new question icon in the forum displays:



Miles to go before I sleep, and promised to keep
Sponsored Links
    #2  
Old 6 Days Ago
Neo's Unix or Linux Image
Neo Neo is online now Forum Staff  
Administrator
 
Join Date: Sep 2000
Last Activity: 20 July 2018, 11:51 PM EDT
Location: Asia pacific region
Posts: 14,577
Thanks: 1,032
Thanked 1,438 Times in 698 Posts
OBTW, I accomplished this with this simple jQuery script:

Code:
<script>
$(document).ready(function(){
$('.notloggedin').click(function(){
   openLogin();
});
});
</script>

and then simply changed the newreply and newthread buttons like this:

Code:
<if condition="$show['member']">
<div >
  <!--  Normal Reply Button -->
<else />
<div>
<span class="notloggedin" style="font-size:3em;cursor:pointer;float:left;background-color:transparent;margin-right:5px;margin-left:10px;top:0;padding:0px;" >&#x1f464;
</span>
<span> Login to reply</span>
</div>
</if>

Sponsored Links
    #3  
Old 5 Days Ago
Neo's Unix or Linux Image
Neo Neo is online now Forum Staff  
Administrator
 
Join Date: Sep 2000
Last Activity: 20 July 2018, 11:51 PM EDT
Location: Asia pacific region
Posts: 14,577
Thanks: 1,032
Thanked 1,438 Times in 698 Posts
I think I will replace the user information in the upper right navbar with the user avatar and then create a sliding "onclick the avatar" panel with the same information(or maybe add more information since it will be in a side panel with more space).
Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Special note to unregistered users Perderabo Forum Support Area for Unregistered Users & Account Problems 0 12-11-2006 12:09 PM



All times are GMT -4. The time now is 11:52 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?