Joomla 3.2 Guest user group - joomla

I'm working on a website based on Joomla 3.2.
I created menu module with a menu item called login and I want that this menu item only is shown to guest users. The item is suppose to disappear as soon the user is logged in.
To achieve that I gave that menu item, the access level guest. In the past I have done something like that on Joomla 2.5 already and it worked but now it doesn't work at all.
The only hint I could get was to change the default user groupe for guest users from public to guest, but still no success.
I hope someone can help me to figure out this problem.

In Joomla 3 you have Public and Guest user groups. Public is what you want for all pages and items that anyone can see.
For items that just non logged in users see you need to assign them to Guest. Which a user will not then see.
This how to for 3.1 is quite good
http://www.inmotionhosting.com/support/edu/joomla-3/extension/hide-module-after-login

When you perform all steps, and it's still not working. Then logout, clear browser cache/session data etc and then try again, this worked for me

Related

Content for Registered User on Joomla 2.5

I am working with Joomla 2.5 and I need to set a page each language to be visible only to registered users.
Now that's what I have done already:
I created 5 new pages with restricted access (Registered), one each language
Created 5 new menu items, linking to single articles with restricted access (Registered)
Created a module to display the above menu with restricted access (Registered)
Everything works fine, so the menu items link to the correct pages, except that I get the module also for Public users.
Where am I wrong?
You need to create a guest usergroup which is not a part of the registered user group. Then you should set your default usergroup for not-logged in users as guest instead of public. You can do that in the options of the user manager page. That should do the trick.

Joomla 3.1 Front end editing - Deleting and article

I have set up user group called "Article Editor" with a parent of Administrator. Within that group I have a user of "Agent" and assigned them to the "Article Editor" User group.
I have a blog page in which when they are logged in they can create an article (only with a particular category called blog) and they can edit all articles, however, I cannot get any option anywhere to enable them to delete any article they have created within the "blog" category. I have gone into the article manage and made sure the permissions are set to enable Edit, Delete and Create.
Any ideas how I allow the user to log into the front end and have the option to delete? Ive tried everything I can think of an am going around in circles now.
The Delete permission should be given only to trusted administrators (with intended access to the back-end) and can be performed in the back-end.
From your description, you don't want this group of users to have access in the back-end and even more have delete permissions, as these users if they log-in to the backend they will be able to delete many things.
These users should be able to edit state (publish/unpublish) their own articles.
So, concluding:
Give this group only front-end access, with permissions similar to the author (core joomla group) with the addition of edit state.
So they will be able to create and publish/unpublish (**addition- or trashing) their articles.

Joomla v1.5.14 Admin top menu elements are missing

My client has Joomla! ver 1.5.14 installed on the remote server. I logged in using the url /administrator/ with login 'admin'. When landed on the admin page after successful login, I observed that the top menu has only two elements, Site and Help. All other elements like Menus, Content, Components, Extensions etc are not there.
Also I do not find any way to access those elements (menus, components). There are not icons on the screen to access them.
Could someone please help me figure out this issue?
Thanks in advance
Regards,
MulC
EDIT:
Following is the screenshot of the admin page
http://postimage.org/image/youvqynh7/
user admin belogs to the group 'Super Administrator'
Thank you
It's very strange that this should happen unless your client has been fiddling with the core Joomla files or database tables.
Update the site to the latest version of the 1.5 series (1.5.26)
Download the full Joomla package, extract the administrator, components, includes, libraries, modules and plugins folder, zip them up and upload to the server, replacing the current folder. Not to worry, this will only override the core files which I assume haven't been edited.
Try downloading and installing another admin template.
Else the only other thing I can think of is reconstructing the website which might take a while, depending on the amount of work that went into it.
In Joomla! 1.5.x a common security step was to create an alternate "super user" and downgrade the default admin account to a standard registered. Due to issues in early versions of 1.5 though it wasn't recommended to delete or disable this account.
This sounds like what is going on with your admin account.
You can check this by looking at the database checking the table jos_users look for the username admin and see what it's usertype is set to. At the same time look for a user that has an usertype of Super Administrator (yes, really the words Super Administrator).
Once you have the username of the Super Administrator, you will need to find the password. If the client doesn't know it then you will have to recover the admin password.

only display Virtuemart products based on registered login

We are trying to setup a simple BTB site to support our retailers (somewhere they can download product text/images and corporate branding). We are using Joomla 1.5.2 and Virtuemart 1.1.9
We want it to be completely secure (unregistered viewers - and competition - just see simple intro page, and login with option to register). Not any content at all.
And we also also want to use VM registration for registering new users.
I set up the secure access for categories/products using Joomla menu items pointed to virtuemart categories, and set the menu item access to "registered". Worked perfect, user not logged in, don't see anything but splash page. Logged in, all of the product categories were available via the menu items.
But we just realized this messes up user registration. We want to use Virtuemarts user reg so we don't have to gather all of that data (address info, etc.) and come back and enter by hand.
Apparantly, with the virtuemart menu items set to "registered" access, the user gets redirected to joomla's registration page(which doesn't gather the data we need into Virtuemart). I've pasted a valid VM registration url everywhere I could find in the backend login files (com_user and mod_user), but no luck (didn't think that would work, im a beginner).
Anyone know if there is a workaround? Or a better way to do this?
Thank you.
I can you tell with absolute certainty that you'll need to make a minor adjustment in the VM code if you want to do this. The hurdle is that VM uses the same menu Item ID as it's default throughout the script, so even if you create a different menu item for the registration, it's always going to fall back to the first one that you had.
The only way around this is a small hack in the VM function that always forces this to happen. Put the below code at the very beginning of function getShopItemid() located in ps_session.php somewhere around line 459. Leave all the existing code in place, but this needs to run before that does.
/*Hack For multiple VM menu itemids, if there is a page specified, find THAT Itemid */
global $page;
if($_REQUEST['Itemid']) {
$_REQUEST['shopItemid'] = $_REQUEST['Itemid'];
} elseif($page) {
$db_hack = new ps_DB;
$q = "SELECT id FROM #__menu WHERE link='index.php?option=com_virtuemart' AND published=1 AND params like '%page=".$page."%'";
$db_hack->query( $q );
if( $db_hack->next_record() ) {
$_REQUEST['shopItemid'] = $db_hack->f("id");
}
}
Once this is in place, you'll need to have a Joomla menu item that includes at least this:
option=com_virtuemart&page=shop.registration
With that menu item in the database, the above code will find the menu item for that page, and use that one instead of the default VM method. The Joomla security will trigger as you expect because it has the correct menu item.

Can´t access Joomla admin panel with administrator account

This problem started with me needing to add a module to my frontpage so only guests will see it, after they login the module disappears. So I read this tutorial :
Basically says to do this..
Create a Guest Group in the User Manager
Add a new Guest Viewing Access Level
Change the default guest group in the User Manager options
And it works! But the problem now is when I login with my administrator account on admin panel, i get only 3 icons from Zoo component, no admin bar menu, nothing! And if try to login to the admin panel with a default user account I get the same thing! I´m now in the joomla database to try and see if I can delete the user group I created before and maybe it works?
I cannot lose the content of the website, it´s important! Please help. I´m the latest version of joomla.
Thanks very much
Backup your files and database and set your website in offline mode: edit your configuration.php file and set:
public $offline = '1';
After that, you can try your solution.

Resources