Jump to content


Click here to lend your support to: Traq and make a donation at pledgie.com !
Photo

Hide projects on landing page when not logged in


  • Please log in to reply
3 replies to this topic

#1 planit

planit

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 02 February 2011 - 06:34 PM

Is there a way to hide all projects from the public? For example, I'd like to use Traq with my clients, provide them with a login, and allow them to visit the site and manage their projects. Right now a visitor can see all projects without being logged in, which is a problem. Is there a way to change that?

Thanks!

#2 Jack

Jack

    Project Founder

  • Administrators
  • 673 posts
  • LocationAustralia

Posted 03 February 2011 - 03:04 AM

Not at the moment. Traq 3.0 will allow for this though.

#3 stopa2005

stopa2005

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 20 March 2011 - 05:35 PM

Is there a way to hide all projects from the public? For example, I'd like to use Traq with my clients, provide them with a login, and allow them to visit the site and manage their projects. Right now a visitor can see all projects without being logged in, which is a problem. Is there a way to change that?

Thanks!


For Traq 2, try my patch "Traq project-users".

Attached Files

  • Attached File  traq.zip   5.11KB   20 downloads

PHP Developer.
Joy! AgĂȘncia

#4 codemate

codemate

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 26 June 2011 - 08:37 PM

easiest solution might be modifying /index.php and right after require('system/global.php') adding 3 lines:

if(!$user->loggedin && ($uri->seg[0] != 'user' && $uri->seg[0] != 'login')){
header("Location: /index.php/user/login");
}




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users