Sure.Locou wrote:Could you add Subsilver2 support?
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/template/posting_body.html
#
#-----[ FIND ]------------------------------------------
#
<!-- IF S_INLINE_ATTACHMENT_OPTIONS -->
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!-- IF not S_PRIVMSGS and not S_SHOW_DRAFTS -->
<tr>
<td class="row1" valign="top"><b class="genmed">{L_POST_EXPIRE_TIME}:</b><br /><span class="gensmall">{L_POST_EXPIRE_TIME_EXPLAIN}</span></td>
<td class="row2"><select name="post_expire_time">{S_POST_EXPIRE}</select></td>
</tr>
<!-- ENDIF -->
#
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/template/viewtopic_body.html
#
#-----[ FIND ]------------------------------------------
#
<td class="gensmall" width="100%"><div style="float: {S_CONTENT_FLOW_BEGIN};"> <b>{L_POST_SUBJECT}:</b> {postrow.POST_SUBJECT}</div><div style="float: {S_CONTENT_FLOW_END};"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF --><b>{L_POSTED}:</b> {postrow.POST_DATE} </div></td>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
{postrow.POST_SUBJECT}
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<!-- IF postrow.POST_EXPIRE --> <strong>{L_POST_WILL_EXPIRE}:</strong> {postrow.POST_EXPIRE}<!-- ENDIF -->
Of course.Locou wrote:Is it possible that the post-packground turn in an another color, if an expire is set?
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
styles/prosilver/template/viewtopic_body.html
#
#-----[ FIND ]------------------------------------------
#
<div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_ONLINE --> online<!-- ENDIF -->">
#
#-----[ REPLACE WITH ]------------------------------------------
#
<div id="p{postrow.POST_ID}" class="post <!-- IF postrow.POST_EXPIRE -->bg3<!-- ELSEIF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_ONLINE --> online<!-- ENDIF -->">
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/template/viewtopic_body.html
#
#-----[ FIND ]------------------------------------------
#
<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
#
#-----[ REPLACE WITH ]------------------------------------------
#
<!-- IF postrow.POST_EXPIRE --><tr class="row3"><!-- ELSEIF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
There is no such a thing like "trash forum". But if you are asking if this mod can move posts to another forum, the answer is no. This mod's primary idea is to allow temporary offtops/jokes for users.danswano wrote:Does this mod have an option to move the expired post to trash forum ?
Good point since the move is not planned!Lisbon wrote:Can wi used to mod for example, after a week the topic is locked?
I believe it is not necessary. The mod have to be simple, and giving permissions will only complicate it and extend time needed for installation. And for what? For option that wil in 99% cases will be enabled?Locou wrote:Suggestion to give user the permission to expire there own posts or not.
Can you explain it further, cause I don't understand what you mean?danswano wrote:Good point since the move is not planned!Lisbon wrote:Can wi used to mod for example, after a week the topic is locked?
Oh, now I know what you're talking about. It's a good idea, but not for a core, but as an addon. That shouldn't be a problem, so I think I write it and put to my package in couple of days.danswano wrote:Instead of deleting the topic after expire just lock it!
Yes there is a chance.Z-City wrote:Is there a chance not to set the number of days/weeks but to set an explicit date of expire?