Visit Our UNIX and Linux User Community


Updates to Forum Navbar and Thread Reply for Unregistered Users


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? Updates to Forum Navbar and Thread Reply for Unregistered Users
# 1  
Old 07-14-2018
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:

Image

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

Image

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

Image

Miles to go before I sleep, and promised to keep Smilie
# 2  
Old 07-14-2018
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>

# 3  
Old 07-15-2018
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).

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

Unable to post or reply thread after login

I am unable to post reply to a thread. Whenever I will reply to any post I get the message every time : The message you have entered is too short. Please lengthen your message to at least 5 characters. Even though length of the message is more than required. for example I tried to post ... (3 Replies)
Discussion started by: Unregistered
3 Replies

2. Forum Support Area for Unregistered Users & Account Problems

Not able to post thread/reply to thread

Dear Moderator I am not able to post any new thread or post reply to mine old thread. Kindly help as i am stuck on one problem and needed suggestion. Regards Jaydeep (1 Reply)
Discussion started by: jaydeep_sadaria
1 Replies

3. Forum Support Area for Unregistered Users & Account Problems

I am still meet a problem when I want to reply or create a new thread

Hi, Scott, I am still meet a problem when I want to reply or create a new thread in "Shell Programming and Scripting" Forum, It reminds that: To create new threads in this forum your post count must be 10 or greater. You currently have 2 posts. To my surprise, I posted a thread in "Shell... (4 Replies)
Discussion started by: weichanghe2000
4 Replies

4. Forum Support Area for Unregistered Users & Account Problems

I cannot post new thread and reply after register

Hi, Admin, I have met a problem that I cannot post new thread and reply after register. It reminds some information as shown in the below: case 1: To create new threads in this forum your post count must be 10 or greater. You currently have 0 posts. case 2: To reply to threads in this forum... (1 Reply)
Discussion started by: Unregistered
1 Replies

5. Post Here to Contact Site Administrators and Moderators

Reply to thread I started 8 May 09 gone

And frankly, I'm a bit miffed by it. I had thanked the person who suggested a solution to the issue, pasted code to a shell script that may have helped other users, and was courteous, witty and all that the best forum admins look for in a member/contributor/poster. Now it's gone, with no... (1 Reply)
Discussion started by: SilversleevesX
1 Replies

6. Forum Support Area for Unregistered Users & Account Problems

Special note to unregistered users

This forum is intended only as a means to contact us if you are having trouble with your account. This forum is the only area on the site where even unregistered users can post. But because some spammers were using this to post spam, we have changed things a little bit. When an unregistered user... (0 Replies)
Discussion started by: Perderabo
0 Replies

Featured Tech Videos