[OzzModz] Old Thread Warning

[OzzModz] Old Thread Warning 2.0.2

No permission to download
in the template ozzmodz_OTW_warning change

Code:
<xf:if is="!$xf.visitor.hasPermission('view', 'ozzmodzOTWview') && !in_array({$__globals.forum.node_id}, {$xf.options.ozzmodz_otw_nodes}) && ($__globals.thread.last_post_date <= {$xf.time} - ({$xf.options.ozzmodz_otw_days} * 86400)) && $xf.reply.template == 'thread_view'">

to

Code:
<xf:if is="!$xf.visitor.hasPermission('view', 'ozzmodzOTWview') && !in_array({$__globals.forum.node_id}, {$xf.options.ozzmodz_otw_nodes}) && ($__globals.thread.last_post_date <= {$xf.time} - ({$xf.options.ozzmodz_otw_days} * 86400)) && in_array($xf.reply.template, ['thread_view', 'thread_view_type_question'])">
Thanks ❤️

@Ozzy47 maybe to implement this in the add-on ;)?
 
Very nice. Thank you for this one.
Do you have any plans to extend it or do another add-on for:

  • too short post.
  • 5% text, 95% commented (x/y)
 
Top Bottom