Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Timeout settings for forums

Quote Reply
Timeout settings for forums
Hi. I currently have 0 in the timeout field for each forum. I don't know if I am using this right.

Is this the timeout for users during posting/editing/reading etc?

If so, will changing the 0 to 30 say, mean they will now timeout in 30 minutes? I think 0 was there as a default and I'm not sure how long the default is.

thanks

Steve

PTSD Forum - http://www.bein.com/ptsd
Quote Reply
Re: [SteveDe] Timeout settings for forums In reply to
Hi Steve,

The timeout applies to the amount of time users have to edit and/or delete their post. 0, which is the default, means that there should be no timeout - in other words, users will be able to edit or delete their posts forever. 30 would allow users to edit and delete only for 30 minutes after posting.

Also worth mentioning is that the timeout does not apply to forum moderators and the forum administrator.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Timeout settings for forums In reply to
I set mine to 90 days.

I set 129600 seconds in the forum properties, then edited the forum_view.html template like this:

Find:

<% if forum_allow_user_edit = 1 or forum_allow_user_edit = 3%>
You can edit your posts
<% if forum_edit_timeout%>
for <%forum_edit_timeout%> minutes after posting them.
<% endif%>
<% else%>
You cannot edit your posts
<% endif%>


Replace with:

<% if forum_allow_user_edit = 1 or forum_allow_user_edit = 3%>
You can edit your posts
<% if forum_edit_timeout%>
<% if forum_edit_timeout > 1440%>
<%set forum_edit_timeout /= 1440%>
for <%forum_edit_timeout%> days after posting them.
<%set forum_edit_time = 'days'%>
<% else%>
for <%forum_edit_timeout%> minutes after posting them.
<%set forum_edit_time = 'minutes'%>

<% endif%>
<% else%>
You cannot edit your posts
<% endif%>

And also Find:

<% if forum_allow_user_edit = 2 or forum_allow_user_edit = 3%>
You can delete your posts
<% if forum_edit_timeout%>
for <%forum_edit_timeout%> minutes after posting them.
<% endif%>


Replace with:

<% if forum_allow_user_edit = 2 or forum_allow_user_edit = 3%>
You can delete your posts
<% if forum_edit_timeout%>
for <%forum_edit_timeout%> <%forum_edit_time%> after posting them.
<% endif%>



Now it shows 90 days instead of 129600 seconds. Cool

----------
Michael J. Challis - CRUZN8R - PT Cruiser Club - http://www.ptcruiserclub.org

http://www.ptcruiserclub.org/forum

Last edited by:

CRUZN8R: Apr 1, 2003, 2:01 PM