Jump to content


- - - - -

RESOLVED: Remove Specify Topic Open Time option when creating a new Topic?


  • Please log in to reply
3 replies to this topic

#1 dbxpx

dbxpx

    n00b

  • Members
  • Pip
  • 4 posts
  • Real Name:John Miller
  • IPB Version:v1.3.x

Posted 13 August 2010 - 08:43 AM

Is it possible to remove the Specify Topic Open Time and Specify Topic Close Time options when creating a new Topic?

#2 AndyF

AndyF

    Cogito ergo sum

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 8,414 posts
  • Location:Derby, UK
  • Real Name:Andy
  • IPB Version:v3.2.x
Contributor

Posted 14 August 2010 - 10:21 AM

Sure.

ACP > Look / Feel > Skin Manager > (edit each skin as needed) > Post Screen > Mod Options

Find...
<if="$can_set_open_time == 1">
<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['mod_open_time']}</strong>
	 <br /><span class='desc'>{$this->ipsclass->lang['post_optional']}</span>
	</td>
	<td align="left" width='80%'>
	 <span class='desc'>{$this->ipsclass->lang['mod_date_format']}</span> &nbsp; <input type='text' size='11' name='open_time_date' value='{$mytimes['open_date']}' /> &nbsp; <span class='desc'>{$this->ipsclass->lang['mod_time_format']}</span> &nbsp; <input type='text' size='5' name='open_time_time' value='{$mytimes['open_time']}' />
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>
</if>
<if="$can_set_close_time == 1">
<tr>
 <td colspan='2' align='center' class='bg1'>
 <div style='width:100%;' align='center' class='borderwrap'>
 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
   <tr>
	<td align="right" width='20%'>
	 <strong>{$this->ipsclass->lang['mod_close_time']}</strong>
	 <br /><span class='desc'>{$this->ipsclass->lang['post_optional']}</span>
	</td>
	<td align="left" width='80%'>
	 <span class='desc'>{$this->ipsclass->lang['mod_date_format']}</span> &nbsp; <input type='text' size='11' name='close_time_date' value='{$mytimes['close_date']}' /> &nbsp; <span class='desc'>{$this->ipsclass->lang['mod_time_format']}</span> &nbsp; <input type='text' size='5' name='close_time_time' value='{$mytimes['close_time']}' /></span>
	</td>
   </tr>
  </table>
 </div>
 </td>
</tr>
</if>

Remove all that and save. :)

It then looks like this (you'll see they still have the 'after posting' choice, which is a good idea) but no open / close times)

Attached File  236_remove_open_close_times.png   34.1K   0 downloads

View my tutorials

Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!



A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6

#3 dbxpx

dbxpx

    n00b

  • Members
  • Pip
  • 4 posts
  • Real Name:John Miller
  • IPB Version:v1.3.x

Posted 15 August 2010 - 05:44 PM

Thank you! :D

#4 AndyF

AndyF

    Cogito ergo sum

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 8,414 posts
  • Location:Derby, UK
  • Real Name:Andy
  • IPB Version:v3.2.x
Contributor

Posted 15 August 2010 - 06:57 PM

The issue this topic was opened for has now been resolved. :)

View my tutorials

Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!



A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users