The Thinkery

Not finding what you're looking for? Don't hesitate to contact us!

Before Posting...

Before posting questions in the forums, please be sure to read the FAQs by clicking on the FAQs link in the sidebar product menu. You must be logged in and have a valid subscription to access the SUPPORT FORUMS.
×
Support Policy Notice

As outlined in our Rules section (though never closely followed by our staff!), effective immediately we will no longer be taking time to provide customizations of our products.

Access only for registered users

  • heidemann
  • heidemann's Avatar Topic Author
  • Offline
  • Puzzler
  • Puzzler
More
10 years 6 months ago #16616 by heidemann
heidemann created the topic: Access only for registered users
?_?

Please Log in or Create an account to join the conversation.

  • heidemann
  • heidemann's Avatar Topic Author
  • Offline
  • Puzzler
  • Puzzler
More
10 years 6 months ago - 10 years 6 months ago #16617 by heidemann
heidemann replied the topic: Re: Access only for registered users
when i send a link forward to recipient, he can see the task without loggin in


edit: just needed to define a group and set the group to the tasks.
Last Edit: 10 years 6 months ago by heidemann.

Please Log in or Create an account to join the conversation.

  • heidemann
  • heidemann's Avatar Topic Author
  • Offline
  • Puzzler
  • Puzzler
More
10 years 6 months ago - 10 years 6 months ago #16618 by heidemann
heidemann replied the topic: Re: Access only for registered users
gonna try this in projectlog php

$user =& JFactory::getUser();
// Check if user is logged in
if (!$user->id) {
  // $user =& JFactory::getUser();
// Check if user is logged in
if (!$user->id) {
  // Here you can do what you want to a non-logged in user, for example bounce him to home page...
  $mainframe->setRedirect("/");
  return;
}
  $mainframe->setRedirect("/");
  return;
}
Last Edit: 10 years 6 months ago by heidemann.

Please Log in or Create an account to join the conversation.

Moderators: vinny
Time to create page: 0.246 seconds