Come And Feel the Difference
[Tips & Trik] Change Text-Box to Text-Area For Banning Multiple IPs - Printable Version

+- Come And Feel the Difference (https://www.gookil.com/x2)
+-- Forum: Cyberspace (https://www.gookil.com/x2/forum-18.html)
+--- Forum: MyBB (https://www.gookil.com/x2/forum-151.html)
+--- Thread: [Tips & Trik] Change Text-Box to Text-Area For Banning Multiple IPs (/thread-518.html)



Change Text-Box to Text-Area For Banning Multiple IPs - Freya - 06-22-2013

pada trik ini, kita akan merubah Text Box menjadi Text Area, seperti gambar berikut:

[Image: banned-IP-addresses.png]

menjadi:
[Image: banned-IP-addresses1.png]

caranya,
masuk ./admin/modules/config/banning.php and find;

PHP Code:
$form_container->output_row($lang->ip_address." <em>*</em>"$lang->ip_address_desc$form->generate_text_box('filter'$mybb->input['filter'], array('id' => 'filter')), 'filter'); 

ganti dengan:
PHP Code:
$form_container->output_row($lang->ip_address." <em>*</em>"$lang->ip_address_desc$form->generate_text_area('filter'$mybb->input['filter'], array('id' => 'filter')), 'filter'); 

[-info-]sumber: Yaldaram[/-info-]