Hello,
we want that only members can see any information.
In the backend under "Guests may search Event" and "activate group search for guests" each "No" set - then that should not be searchable!
Nevertheless, guests can see on google everything.
I would like a solution.
Hi, Laura.
There is no contradiction as guest see certain pages - doesn't perform searches.
If you want to lock your community completely then you may set some JS pages to registered users only.
1. Create new menu in Joomla! - title it "hidden menu" as it won't be displeyd on your site by any module.
2. Create new menu items Profile, Friends, Events, Photos, Videos, Groups that will be displaying respectively Profile, Friends, Events, Photos, Videos, Groups - just choose types from JomSocial menu item types.
3. Now set all those menu items to "Registered".
From now on all Profile, Friends, Events, Photos, Videos, Groups related pages should be available for registered users only.
Hello Michal,
is it possible with this component don´t allow guest and public people to shw Jomsocial:
www.aclmanager.net/blog/general/60-upcom...rt-for-any-component
thNK YOU1
Hi, Laura.
You mean you want to display activity stream on frontpage for members only?
Yes you can.
Browse to Backend -> Components -> JomSocial -> Configuration -> Layout and change switch like that:
i.imgur.com/HFwAfTK.png
To be honest I never tried this ACL component and don't recall anyone mentioned it on forum.
Please, contact with extension developer and as if they tested it with JomSocial.
If not, please, ask them to contact us - we'll grant them free copy for tests.
Hello Michal,
ACL Manager don´t work to block JomSocial for guest and puplic people.
So can i send you a private message to show 2 links to represent the problem better?
I don´t want it here in the public forum.
Thank you!
Hi, Laura.
Yes, please, send them on michael [at] ijoomla.com.
Hi, Laura.
I need to explain how access restriction for pages works in Joomla! first.
From user point of view you set certain access in menu for particular menu positions.
But in a fact you set access for menu item ID.
Joomla! uses menu item IDs to display pages and their content.
The problem is that some pages doesn't have menu item IDs (then in URL a string /component/something is displayed).
And also visitor - if know Joomla! slug (URL creation rules) - can alter URL to remove menu item ID.
Then NO access settings are applied.
This is how Joomla! works.
In case of your links:
1. This one uses menu item ID 185 and access rules assigned to this menu item ID
2. As for this link I need to know where it appears. What to click on your site to browse to that page. Literally - where this link appear?
You may send me explanation via email.
Hi, Laura.
Answered.
Hi, Laura.
There is a way to completely lock JomSocial content for non-logged in visitors. To do that you'll need to create few layout overrides.
1. First create new module using Hello me module
2. Assign it to "my_login_module" module position - you'll need to manually type it in as it won't b listed.
3. Disable all switches in module settings: v
4. You may set redirection URL if you want.
5. Save module.
Now you'll need to create layout overrides adding some code hacks. In order to create override:
1. Copy file from original location to:
ROOT/templates/your-template/html/com_community/layouts/[original location folder name] (if you don't have those folders - feel free to create them)
E.g;
Copy file from:
ROOT/components/com_community/templates/jomsocial/layouts/photos/list.php
to:
ROOT/templates/your-template/html/com_community/layouts/photos
2. Each file contains <div class="joms-page"> with come code </div>
3. All you need is to add this code before <div class="joms-page">:
<?php
$user = JFactory::getUser();
if (!$user->guest) { ?>
<?php } else {
$modules = JModuleHelper::getModules( 'my_login_module' );
foreach ($modules as $module) {
$_options = array( 'style' => 'xhtml' );
echo JModuleHelper::renderModule( $module, $_options );
}
}
?>
HI, Laura.
Regarding your yesterdays email - both files for events ware fixed.