PDA

View Full Version : How do i disable these


the one
05-27-2015, 05:02 PM
Hello can you have a look at the screen print below

https://vborg.vbsupport.ru/external/2015/05/8.jpg

I would like to know what template do i have to make the changes.I want to delete Visitor Messages,Groups,group messages,all types and just leave posts and forums.

Many thanks

MarkFL
05-27-2015, 06:04 PM
Open the "search_common" template, and add the code below in red:

<h3 class="blocksubhead">{vb:rawphrase search_in}</h3>
<div class="section">
<div class="blockrow">
<label>{vb:rawphrase search_types}:</label>
<ul id="searchtypelist" class="checkradio floatcontainer rightcol">
<vb:comment><li>
<label><input type="checkbox" name="type[]" value="" id="searchtype_all" /> {vb:rawphrase all_types}</label>
</li></vb:comment>
<vb:each from="type_options" key="type" value="name">
<vb:if condition="in_array($type, array(1,3))">
<li>
<label><input type="checkbox" name="type[]" value="{vb:raw type}" class="searchtype"<vb:if condition="in_array($type, $selectedtypes)"> checked="checked"</vb:if> /> {vb:var name}</label>
</li>
</vb:if>
</vb:each>
</ul>
</div>
</div>

the one
05-27-2015, 06:20 PM
Thank you so much

All completed