Hack Forums
[MyBB] Adding Dropdown List To Report Page - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Webmasters (https://hackforums.net/forumdisplay.php?fid=141)
+---- Forum: Website Construction (https://hackforums.net/forumdisplay.php?fid=50)
+---- Thread: [MyBB] Adding Dropdown List To Report Page (/showthread.php?tid=4029122)



[MyBB] Adding Dropdown List To Report Page - • α∂∂ιcтιση • - Jan 29, 2014

This small but easy tutorial is for those who want to change how the report page looks for mybb.

By default it looks something like this:

[Image: c11bdbd175df19b3f07c6da987413409.png]

In this tutorial we are going to change it to this:

[Image: 2b34f02f8feb2fb847068fb054849ca3.png]

Simply goto to ACP>Templates & Style>Templates>your theme templates>Report Templates>Report

Find the line:
Code
<input type="text" class="textbox" name="reason" size="40" maxlength="250" />

Change to:

Code
<select name="reason">
<option value="Option 1">Option 1</option>
<option value="Option 2">Option 2</option>
<option value="Option 3">Option 3</option>
<option value="Option 4">Option 4</option>
</select>

(change the wording "Option # to whatever reasons you want listed)

Voila, you have now changed the look of your report template!


* - Hуѕтєяιa X™ - Jan 29, 2014

Yup, easy tutorial but pretty useful. I use it on my forum. Nicely worded.


* - • α∂∂ιcтιση • - Jan 29, 2014

Thanks man, hoping to help some of the newbies out with MyBB stuff.