Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Jomsocial completely lock for guests

8 years 3 months ago
  • Laura's Avatar
    Topic Author
  • Laura
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Active

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.

8 years 3 months ago
Licenses:

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.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
8 years 3 months ago
  • Laura's Avatar
    Topic Author
  • Laura
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Active

Hmmm, so can still call some pages that should not see the guest.
One more question: Can be shown only to members of the Activity Stream?

8 years 3 months ago
  • Laura's Avatar
    Topic Author
  • Laura
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Active

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

8 years 3 months ago
Licenses:

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.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
8 years 3 months ago
  • Laura's Avatar
    Topic Author
  • Laura
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Active

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!

8 years 3 months ago
Licenses:

Hi, Laura.

Yes, please, send them on michael [at] ijoomla.com.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
8 years 3 months ago
Licenses:

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.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
8 years 2 months ago
  • Laura's Avatar
    Topic Author
  • Laura
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Active

Hello Michal,

i wrote you again.

Thank you.

8 years 2 months ago
Licenses:

Hi, Laura.

Answered.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
8 years 2 months ago
  • Laura's Avatar
    Topic Author
  • Laura
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Active

Thank you, Michal.

I hope soon to hear from you.

Best regards,

8 years 2 months ago
Licenses:

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) { ?>

4. And after </div>
<?php } else { 
$modules = JModuleHelper::getModules( 'my_login_module' );
foreach ($modules as $module) {
$_options = array( 'style' => 'xhtml' );
echo JModuleHelper::renderModule( $module, $_options );
}
}
?>

I attached demo file for groups.

What files need to be override?

ROOT/components/com_community/templates/jomsocial/layouts/events/base.php - events list
ROOT/components/com_community/templates/jomsocial/layouts/events/single.php - single event (here is <div class="joms-body"> instead <div class="joms-page">
ROOT/components/com_community/templates/jomsocial/layouts/friends/list.php - friends list
ROOT/components/com_community/templates/jomsocial/layouts/groups/base.php - group list
ROOT/components/com_community/templates/jomsocial/layouts/groups/single.php - single group here is <div class="joms-body"> instead <div class="joms-page">
ROOT/components/com_community/templates/jomsocial/layouts/photos/list.php - photos album list
ROOT/components/com_community/templates/jomsocial/layouts/photos/single.php - single photo
ROOT/components/com_community/templates/jomsocial/layouts/videos/base.php - videos list
ROOT/components/com_community/templates/jomsocial/layouts/videos/single.php - single video


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you

This message has an attachment file.
Please log in or register to see it.

8 years 2 months ago
Licenses:

HI, Laura.

Regarding your yesterdays email - both files for events ware fixed.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
8 years 2 months ago
  • Laura's Avatar
    Topic Author
  • Laura
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Active

Thank you Michal!

Great work!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW