The following link is for direct logout:
But a user token is required in order to avoid an error message Invalid Token, and some PHP magic is required in order to get the token. The following code will display a Login link to guests, and a direct Logout Username link to logged in users:
Joomla: Accessing User Info - The User Object
To get user information for the current user:
$user = JFactory::getUser();
It will return the User Object.
Here, some of the most common User Object's Properties:
You can check if the ...
Would one of these work?
Members Only (From the JED)
Keep prying eyes away from part or your whole website, while they stay anonymous. Optionally you may allow visitors to directly register to your website with or without requiring for an invitation code.
registeredOnly (From the JED)
registeredOnly plugin restrict access to Joomla site to registered ...
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 Users > Login Form.
Set "Access" to "Guest"
Click "Save & New".
Guest access will make it so that it only appears to non-logged-in users. If for some reason ...
As an extension to Brian Peat's answer:
If you go to the url
you can login without having a menu item set or any kind of publish/unpublish problem. This could be termed as somewhat of a problem in Joomla as knowing your way around you can still register/login if you know the url structure. There are ...
You can make a menu that isn't published, and put a link to the user login page there, and name the alias whatever you want. As long as you turn off the allow registrations function in the user manager options, you should be good.
Then just give your client the url.
So the steps are:
Create a new menu, name it Hidden
Don't publish a module of the new menu
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 different IP addresses each user has used to login
Ability to block IP's
And other nice features
The first screenshot below is a snippet of all the users that have ...
@Lodder is correct. If you want just some basic fields, then you can use Joomla User Profile plugin, which comes with Joomla itself.
If you want to create some customized fields, then there are various options available like, Community Builder, JomSocial, EasySocial and other socila networking solution. But if don't want the full community solution then you ...
First of all: Why on earth are you using Joomla 3.1.5? Current version is 3.3.0 and there are several security issues fixed since your version. You should update as soon as possible, which means you should do it yesterday. No excuses.
As for the message. It's coming from the remember me plugin. Joomla tries to load that plugin and fails for whatever reason. ...
Rather than delete this functionality, the best thing to do would be to disable it.
To do this, in your backend go to:
In the first option which appears, set "Allow User Registration" to No
Once you've done this, you need to create an override in your Joomla ...
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 there you can create a "modal button" for the register link, to open the registration view inside a modal window.
This blog post explains how to create modals ...
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/views/registration/tmpl/default.php
then open it with your favorite php editor.
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 had no permissions at all.
I ended up running the following MySQL query in PhpMyAdmin:
SELECT `id` FROM `jos_users` WHERE `id` NOT IN (SELECT `user_id` FROM `...
You should really do some research before asking a question like this. 2 seconds on Google and you would have all the information you needed.
There is a in User Profile plugin that comes with Joomla. In the Joomla backend, go to
Extensions (top menu) >> Plugin Manager >> User Profile.
You will see the following custom fields:
You should upgrade to latest version of Joomla 3.2 or to Joomla 3.3
As per this link Joomla 3.2.1+ , doesn't have this issue.
If you can't upgrade then you need to change Joomla code (I won't recommend this), and the details are mentioned in the above link.
1) Use Joomla!'s Built-In ACL
I recommend defaulting your visitors to a login page and using Joomla!'s built-in ACL using Registered users.
Set a Top-Level Menu item with permissions to Registered users - and then each Menu item on that tree will be only visible and available to Registered users.
There is an excellent tutorial on ACL in the Joomla! Docs.
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 on logout.
Also if you set your Login menu item to 'Guest' access and your Logout menu item to 'Registered' access, the menu change depending on your status.
I would override Joomla! login view.
Copy contents of
and create new .php file in
and paste copied contents there.
See Joomla! docs for How to override the output from the Joomla! core.
You should be able to accomplish this by overriding the layout for the front-end login form. Add some PHP code near the top of the layout file. This added code checks for a custom parameter in the URL and for a particular value. If someone tries to access the login page through any URL but does not include the custom parameter and particular value (such ...
I think you should be able to do that using a custom authentication plugin.
You can have a look at the gmail or ldap plugin which do similar things.
Gmail plugin: https://github.com/joomla/joomla-cms/tree/staging/plugins/authentication/gmail
LDAP plugin: https://github.com/joomla/joomla-cms/tree/staging/plugins/authentication/ldap
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 lightbox (enabled in live site). Try disabling it.
You may also want to test if error persists with default Joomla template (to discard a template issue).
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 put into the site.
Although it's hard to give a definite solution, here's a couple of things you can try:
If you're using .htaccess, try renaming it temporarily....
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 trigger something or give control before serving the content then this will not happen.
What you can do in this case is rather then providing a direct link of the ...
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:
and if this not work for you try this:
I have achieve great result usging the nonumbers extensions like advanced module manager and advanced template manager.
These two extensions extend the possibilities to assgin templates and modules on a number ...