Hot answers tagged

24 votes
Accepted

Direct logout link

The following link is for direct logout: http://example.com/index.php?option=com_users&task=user.logout But a user token is required in order to avoid an error message Invalid Token, and some ...
  • 13.3k
11 votes
Accepted

Change Login to Logout

The Good Folks at OSTraining just published this nice Tutorial: Step #1. Create the Login link Go to Menus > your menu > Add New Menu Item Enter a Menu Title. Select the Menu Item Type. Choose ...
  • 3,017
8 votes
Accepted

User Login History

I've personally been using Saxum IP logger for a couple of years now. It's a great (FREE) extension that provides information such as: Number of logins for each user (date, IP, etc) Number of ...
  • 26.5k
7 votes

Direct logout link

There is already a plugin which works great for logout button. You should check this extension logout button
  • 1,791
7 votes

Direct logout link

As a final answer, Joomla has a builtin "Logout" menu item, added to core I think around 3.4* maybe 3.5. So now you don't need any additional plugins. The logout menu item also allows for a redirect ...
  • 677
6 votes
Accepted

Delete <li> tag of "Forgot Password", "Registration"

Rather than delete this functionality, the best thing to do would be to disable it. To do this, in your backend go to: http://YOURSITE.com/index.php?option=com_config&view=component&...
  • 1,992
6 votes
Accepted

Hide homepage when user is logged in

I've used Nomad in the past - instead of redirecting, it's a system plugin that actually overrides the default home page and replaces it with your choice of locations based on User Groups.
  • 7,685
6 votes
Accepted

Show Login Popup on Read more Restriction

You need to create a template override for the article view - default.php template file. Layout Overrides in Joomla. How to override the output of Joomla core Understanding Output Overrides So ...
  • 19.5k
6 votes
Accepted

Adding text to registration form

There are two ways you can do for that (both are safe from Joomla update / you won't loose the changes when updating your Joomla) 1. By using template override Copy the file /components/com_users/...
  • 2,388
5 votes
Accepted

You cannot access the private section of this site

Finally found out what the issue was. It turned out that upon migrating Joomla 2.5 to 3.3, a lot of the most recent registrants has not been assigned to the "Registered" user group, therefore they ...
  • 26.5k
5 votes
Accepted

Where to catch Post event?

I would override Joomla! login view. Copy contents of components/com_users/views/login/tmpl/default_login.php and create new .php file in YOUR_TEMPLATE_NAME/html/com_users/login/default_login....
  • 3,208
4 votes
Accepted

Unable to log in after upgrading joomla 2.5 to 3.0

There was a similar question a couple of months ago, and the user ended up starting over with a fresh installation of Joomla. However, this might not be an option depending on how much work you've ...
  • 13.3k
4 votes

No Mobile Login

I can confirm it returns an error message ("Username and password do not match or you do not have an account yet") in Android+Chrome. The only difference I see between both sites is Widgetkit's ...
4 votes

Video link should prompt for login page

index.php file of joomla does not get executed when you access any media. So Joomla does not get control when direct media(images etc) link is provided. So if you are expecting that joomla will ...
  • 1,791
4 votes

Redirect to previous page after login in custom component

Try: $url = base64_encode(JUri::current()); $returnurl = JRoute::_('index.php?option=com_users&view=login&return='.$url, false); //false will make the URL non-xhtml $mainframe->redirect($...
  • 266
4 votes

Direct logout link

As a third option, there is a Quick Logout component which adds a direct logout menu item in Joomla and will logout the users without the confirmation. It also provides the option to set redirection ...
  • 19.5k
4 votes

Hide homepage when user is logged in

You can always use extension like this to redirect users on login: http://extensions.joomla.org/extensions/extension/access-a-security/site-access/redirect-on-login
4 votes

Click login button programmatically

You need to trigger submit on form for login user. edit: did not see You don't have a login id in your div. so try this: jQuery('.loginbtn').trigger('click'); and if this not work for you try this: ...
  • 522
4 votes

User Login History

Joomla only stores the last login. You'd have to write a very simple user plugin that writes the login event somewhere, which is what that plugin seems to do.
  • 7,685
4 votes

Offering different content to different clients

I have achieve great result usging the nonumbers extensions like advanced module manager and advanced template manager. Links: https://www.nonumber.nl/extensions/advancedmodulemanager#free-vs-pro ...
  • 61
4 votes

Invalid token after upgrading Joomla to 3.5

Apparently there area couple of issues with Joomla 3.5.0, one being to do with the session. Joomla 3.5.1 will be released tonight, hopefully fixing your issue. It may be an idea to put your site ...
  • 26.5k
4 votes

How to Remove Joomla Icon at the bottom Admin Login page?

Open isis template folder and add custom.css file in css directory and then add this code span.icon-joomla { display: none; }
  • 1,781
4 votes
Accepted

How to Remove Joomla Icon at the bottom Admin Login page?

You can remove the icon and the link by adding or updating a custom CSS file at /administrator/templates/isis/css/custom.css with the following CSS: a.login-joomla { display: none; } Note that ...
3 votes

Video link should prompt for login page

Here's a couple of options to achieve what you're trying to do: Give your clients a link to an article containing the video, rather than directly to the video. That way you can set the required ...
  • 13.3k
3 votes

Users cannot logout because session is not deleted

Just some thoughts: This could be caused by adding some custom login/logout - Module and then deactivate it without changing the module on frontend back to joomla standard login/logout-Module. If the ...
3 votes

What is the URL for user login (aka How to hide the login form?)

I often faced a similar problem because I often want a front-end login in order to edit websites I manage, without the need to have a login form. I ended up creating a small bookmarklet that I added ...
  • 13.3k
3 votes

Handling two user groups in front end Joomla 2.5

As the comments say, try the Login Redirect Extensions, but I had the same scenario, and opted to use a plugin called Nomad. What I liked about it (though you may not) is that it doesn't use the ...
  • 7,685
3 votes

Disable website to all but logged in users

I'm going to give my answer for this based on @Bryan's answer. The Members Only plugin looks very promising, so no comment on that. The registeredOnly plugin is free, however I was not impressed ...
  • 26.5k
3 votes

Direct logout link

I found that on Joomla 3.9.22, a link to /component/users/?task=user.logout worked as a logout link that did not require a userToken. When I used index.php?option=com_users&view=login&layout=...
  • 141
3 votes

How to automatically log in a user after they've clicked the confirm registration link?

I'm not real familiar with Chronoforms anymore, but if you can get this code in there somewhere, the user should be logged in: $credentials = Array('username' => 'MyUsername', 'password' => '...
  • 7,685

Only top scored, non community-wiki answers of a minimum length are eligible