Announcement

  •  » Requests
  •  » admin logout option in admin panel

#1 2009-07-02 18:57:38

saqwild
Member
2009-06-13
64

admin logout option in admin panel

hi,
one small issue,
i could not find any logout option in admin panel,
only option (i guess) is to go back to the gallery and logout from there (irritating some times)
can this be rectified?

Thanks

Offline

 

#2 2009-07-02 20:35:01

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: admin logout option in admin panel

Why?

You want to be disconnected and return to guest view...
Or
You want to be connected but without any admin aspect...


Or ... Did you try Multi-View plugin?


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#3 2009-07-03 00:28:48

saqwild
Member
2009-06-13
64

Re: admin logout option in admin panel

non of above,
i just want to switch off my computer :)

thanks

Offline

 

#4 2009-07-03 00:43:15

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: admin logout option in admin panel

Why do we manage Php sessions then?

Disconnect your computer and don't care of admin panel. Will be fine.

But you want to be disconnected ? Is that right?


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#5 2009-07-04 18:11:06

saqwild
Member
2009-06-13
64

Re: admin logout option in admin panel

session timeout is ok if me or some one is disconnecting.

but what is your opinion if it is a shared computer say some where in a net cafe or shared in office

thanks

Offline

 

#6 2009-07-04 18:30:43

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: admin logout option in admin panel

Admin > Special > Plugins > LocalFiles Editor (Assumed this plugin is already active)

Languages tab
Select your language (I assume: English (UK))

paste in language/en_UK/local.lang.php (Respect all existing php tags).


global $lang;
$lang['FORUM'] .= '</a></li>
<li><a href="./?act=logout">Disconnect';

I didn't try but it must do what you are expecting.

;-)


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#7 2009-07-04 18:51:04

saqwild
Member
2009-06-13
64

Re: admin logout option in admin panel

will try and let you know,
my humble request was (is) to add this option in next version

thanks

Offline

 

#8 2009-07-04 18:53:55

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: admin logout option in admin panel

To auto disconnect users.


Admin > Special > Plugins > LocalFiles Editor (Assumed this plugin is already active)
Local config (1st) tab

paste in  (Respect all existing php tags).

// authorize_remembering : permits user to stay logged for a long time. It
// creates a cookie on client side.
$conf['authorize_remembering'] = false;

// remember_me_length : time of validity for "remember me" cookies, in
// seconds.
$conf['remember_me_length'] = 5184000;

// session_length : time of validity for normal session, in seconds.
$conf['session_length'] = 3600;

;-)


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#9 2009-07-04 18:57:19

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: admin logout option in admin panel

saqwild wrote:

will try and let you know,
my humble request was (is) to add this option in next version

thanks

Add a feature request in Bugtracker.

Thanks.


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#10 2009-07-05 08:39:21

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: admin logout option in admin panel

Good news for u.

All details available on http://piwigo.org/releases/2.0.3
(and download and upload only the changes)

Enjoy!


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 
  •  » Requests
  •  » admin logout option in admin panel

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact