Topic-icon Navigation Bar Login Log Out Issues

Active Subscriptions:

None
6 years 11 months ago - 6 years 11 months ago #61837 by webdevtim
To take a look at the Login part of the Login Log out menu item go to www.911tap.org.

You will see Login In / Register in the navigation bar but in order to get the text to fit on a single line even using CSS display: inline, I had to disable the user account review panel.

What I would like is Login / Register for the pre-login menu items, and then Log out / My Account for the post login menu item where "My Account" allows the user to edit their account and profile and connect to their Social Media Accounts.

As you can see I have Login and Register separately transition to the color orange on hover to distinguish the fact that each are separate links and I would like to do the same for Log out / My Account.

I installed the ModulesEverywhere plugin and use that to display the SCLogin module in the nav bar. I manipulated the CSS to get things to look right. Would it be better if I did a module override instead. What I would like to end up having is "Log out / My Account" visible after the user logs in and clicking "My Account" triggers a modal slide-in like the login popup box but with the links to "Log out," "View/Edit My Profile," "Connect to Your Social Media Accounts" in tow instead of the "Login," "Register," and "Click to Login Quickly".

If I did a Module override what files would I be looking at to override.
Last edit: 6 years 11 months ago by webdevtim.
The topic has been locked.
Support Specialist
6 years 10 months ago #61847 by alzander
If you have the login portion working how you want, then I'd keep using the SCLogin module as is. If all you want to change is how that area looks when the user is authenticated, then I'd:
* Set the SCLogin module so it's only displayed to guests and not to registered users
* Create a custom HTML module or use some other profile module with the links you want and have that set to show to Registered+ users

Doing the slider and other custom stuff is going to take a lot of overrides and manipulations to our code and I'd really just recommend doing that separately unless absolutely necessary.

I hope that helps give you some ideas, but if you have any other questions, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
6 years 10 months ago #61848 by webdevtim
Thanks Alex. I will take your advice

The part that I wanted was the connect you account to the Social media, but if I create a user profile page, then I can add that module to that page.
The topic has been locked.
Active Subscriptions:

None
6 years 10 months ago #61853 by RECYCOLORE
Unable to disconnect from joomla 3.7.0 to 3.7.2
The topic has been locked.
Support Specialist
6 years 10 months ago #61859 by alzander
webdevtim,
You can use an easytag to show the reconnect options :) So, if you have a module that only shows to registered users, add the following easytag:
{JFBCLogin show_reconnect=true logout=true}
That should show the reconnect buttons and the logout button. You can break that into 2 tags so you can move them around and style however you want.

RECYCOLORE,
I'm unsure what issue you're having, but please post a new topic since it doesn't sound related to this one. If you're having issues logging out, please test with the standard Joomla login module (mod_login) to see if you have the same issue. Let us know in the new topic if the problem happens with the Joomla login module and a page where we can test and we'll gladly help investigate further.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
6 years 10 months ago - 6 years 10 months ago #61895 by webdevtim
I added:
{JFBCLogin show_reconnect=true logout=true}
to a module I called Log out / My Social Connect and this is the only code in the module.

I then created a menu item called Log out / Social Connect and used Modules anywhere to create a sub-menu under that called {module 313} which is the ID of of the Log out / Social Connect module.

After that I created two more sub-menu items My Profile which is an EasyProfile menu item of type User Profile and a My Subscriptions menu item which is of type ACYMailing User Subscribe/Modify.

I get the SCLogin Social Media connection icons at the top of the drop-down but no Logout button. no text description of what the Social Media icons are for. the Social Media connect icons.

I have the login logout working on one domain, but it on;y shows the logout text because I hid everything else via CSS and disabling things in the SCLogin Module SCLogout tab as well as set the Logout button to text link.

But that is not what I want now, I want a drop down wiht the fill menu of SCLogout/Social Connect items available..
Last edit: 6 years 10 months ago by webdevtim.
The topic has been locked.
Support Specialist
6 years 10 months ago #61907 by alzander
I can't tell how close you are from what you really want from that description, but will try to help explain however we can. Mainly, I can't tell if the drop down isn't working, if the text is just wrong, or something else..

no text description of what the Social Media icons are for.

Above or around the {JFBCLogin ..} text, add whatever description you'd want there. That's the flexibility of the easy-tags.

but no Logout button

Unsure why this wouldn't be showing. Can you open the HTML of the page and search for "jfbc.login.logout"? See if it's on the page near where it should be. That should be in the logout button tag.

I hope that helps. If you're having issues with the drop down, there's limited help we can be there. We provide the tools, but honestly can't customize a look for each template, especially when it's being put in other modules. If you need us to look, we gladly will, but just want to warn you ahead of time.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
6 years 10 months ago #61910 by webdevtim
Alex, just go to www.911tap.org and look at the login menu. It is kind of a Frankenstein, but it works.

Combination of text entered in the Custom Module Easy Tags, Joomla Login, Easy Profile, MaximenuCK and walla, smorgasbord soup.

If you wanted to log in and look I could PM you your credentials.

There is a much better way to do this, I use MaximenuCK and I didn't need to install ModulesAnywhere to have a module and a menu-item position and I could have probably got the SCLogin log out button to work, but I have to move on now.
The topic has been locked.
Support Specialist
6 years 10 months ago #61925 by alzander
I didn't try to login, but the Login area I think could be cleaned up with just disabling the Register button option in the SCLogin module. It's the first item in the menu list so it does look a little weird in the title area as well.

You could also add the following in your menu items as well to have a login button in the drop down as well as the login title being clickable:
<a href="#login-modal" role="button" data-toggle="modal">Log in</a>

Glad you got it close to how you want though, and let us know if you need anything else,
Alex
The topic has been locked.
Active Subscriptions:

None
6 years 10 months ago #61927 by webdevtim
So you don't like my bifurcated Log in / Register link!

Will do I will disable the registration in the module and add the
<a href="#login-modal" role="button" data-toggle="modal">Log in</a>
link

You do really good work Alex, I have already told other developers about SourceCoast and at least one organization is going to be incorporating JFBConnect in the next upgrade to their website.

Just hope we still have a usable Internet after the September vote on ending Net Neutrality.
The topic has been locked.