PDA

View Full Version : set $show['misc_options'] to false?


cloferba
08-08-2011, 06:54 PM
i want to disable misc options...and on newthread template i have seen:

<vb:if condition="$show['misc_options']">

so i want to set a false to that condition, in order to hide the misc options

how can i do that?

i have tried
$show['misc_options'] = false

but it doesnt work :(

kh99
08-09-2011, 02:17 PM
If you want to set that to false you can create a plugin using hook newthread_form_complete and this code:

$show['misc_options'] = false;