I wish it was as simple as /user/login. It is not. Users can have active sessions <br>still, so something needs to be done about those.<br><br>One approach is to log them off explicitly another is checking that they don&#39;t 
<br>have some special permission (administer site configuration?) and treating <br>them as anonymous users (fudge the $user variable?).<br><br>Or maybe they still can browse the site as logged in users, but cannot create 
<br>content or comment on content,. That is overly simplistic since there are many <br>other things that are site specific that fall into that category (e.g. voting? <br>userpoints? ...etc.)<br><br>I guess there are many definitions to &quot;hibernation&quot; and they will be site profile
<br>specific. No one size fits all.<br><br><div><span class="gmail_quote">On 8/21/07, <b class="gmail_sendername">Greg Holsclaw</b> &lt;<a href="mailto:Greg.Holsclaw@trouvemedia.com">Greg.Holsclaw@trouvemedia.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="blue" lang="EN-US">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Sorry, should have included 'while
still making site content available'. This way you don't have
broken links during the 'hibernate' period.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">The main use case for this is for when a
site operator doesn't want to deal with the normal submissions users
might make (maybe during a vacation or other leave of absence), as state during
an extended backup/site move period. They want their site to be live, but not
have submissions or other member contributions made (no database updates).</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">So <a href="http://www.example.com/node/300" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
www.example.com/node/300</a> still
renders, but /user/login is inactive/doesn't work unless you log in with
the admin account.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Greg</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:development-bounces@drupal.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">development-bounces@drupal.org</a> [mailto:<a href="mailto:development-bounces@drupal.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
development-bounces@drupal.org</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Khalid Baheyeldin<br>
<b><span style="font-weight: bold;">Sent:</span></b> Tuesday, August 21, 2007
12:08 PM<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:development@drupal.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">development@drupal.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [development] any
work done/planned on Drupal &quot;HIBERNATION&quot;feature</span></font></p>

</div><div><span class="e" id="q_11489ef553791345_1">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Site offline does that
already, but makes the site offline (duh!)<br>
<br>
The code to allow admin logging in but not others could be reused though<br>
to do what you want without the site going offline.</span></font></p>

<div>

<p><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On 8/21/07, <b><span style="font-weight: bold;">Greg
Holsclaw</span></b> &lt;<a href="mailto:Greg.Holsclaw@trouvemedia.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Greg.Holsclaw@trouvemedia.com</a>&gt;
wrote:</span></font></span></p>

<div link="blue" vlink="purple">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I would add one other item. </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<ul type="disc">
 <li style="color: navy;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">a way to turn off login except
     for the admin. This way you don&#39;t have to worry about member contributed
     content being added, without having to go to maintenance mode.</span></font></li>
</ul>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Greg</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> <a href="mailto:development-bounces@drupal.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
development-bounces@drupal.org</a>
[mailto:<a href="mailto:development-bounces@drupal.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
development-bounces@drupal.org</a>] <b><span style="font-weight: bold;">On Behalf
Of </span></b>zeljko blace<br>
<b><span style="font-weight: bold;">Sent:</span></b> Tuesday, August 21, 2007
11:15 AM<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:development@drupal.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">development@drupal.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> [development] any work
done/planned on Drupal &quot;HIBERNATION&quot; feature</span></font></p>

</div>

<div><span>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi!<br>
I am <br>
developing a lot of small sites with Drupal with limited <br>
activity and would like to know if there were ever discussion or needs<br>
from other &quot;deployers&quot; to have their Drupal website HIBERNATE <br>
for a while?<br>
<br>
Good example would be websites that: <br>
* promote events and are active only just before/during/after event, <br>
while rest of the time they have no need for interactive features and dynamic
content. <br>
Putting a static copy of website would not do it here as website<br>
goes back to active mode from time to time.<br>
* are temporarily without administrator/webmaster<br>
* that want to limit web use to a specific date/time to have people few people
that <br>
use website come together on-line in sync<br>
<br>
...hope this is not too strange and would resonate well with <br>
people who understand that web publishing could be <br>
more then networked-digitized print ;-)<br>
<br>
Best - Zeljko </span></font></p>

</span></div>

</div>

</div>

</div>



<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br clear="all">
<br>
-- <br>
<a href="http://2bits.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2bits.com</a><br>
<a href="http://2bits.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://2bits.com</a><br>
Drupal development, customization and consulting. </span></font></p>

</span></div></div>

</div>


</blockquote></div><br><br clear="all"><br>-- <br><a href="http://2bits.com">2bits.com</a><br><a href="http://2bits.com">http://2bits.com</a><br>Drupal development, customization and consulting.