View Full Version : Removing Icon legend and style chooser
I would like to have removed the Icon legend part down under the forum and also the styles chooser.
On my 3.X forum i could hide the styles option down under the forum, but i cant find it in v4.2.1
Anyone has an idea how to remove the icon legend part?
nhawk
09-30-2013, 04:54 PM
To stop users from changing styles go to ACP->Settings->Options->Style & Language Settings. Set 'Allow Users To Change Styles' to 'No'.
I did that already, but it still can be seen. Is it possible that it stays enabled because i have the mobile theme also activated? But even when i deactivate the mobile theme the style chooser stays visible :(
squidsk
09-30-2013, 07:43 PM
I did that already, but it still can be seen. Is it possible that it stays enabled because i have the mobile theme also activated? But even when i deactivate the mobile theme the style chooser stays visible :(
Are you testing as yourself (an admin) or as a regular user?
I had to disable the mobile theme to get rid of the style chooser. Also i have found the solution for removing the Icon Legend.
Go to template FORUMHOME and remove
<div id="wgo_legend" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/legend.png" alt="{vb:rawphrase icon_legend}" />{vb:rawphrase icon_legend}</h3>
<div>
<dl id="icon_legends" class="icon_legends">
<dt><img src="{vb:stylevar imgdir_statusicon}/forum_new-16.png" alt="{vb:rawphrase new_posts_forum}" /></dt><dd>{vb:rawphrase new_posts_forum}</dd>
<dt><img src="{vb:stylevar imgdir_statusicon}/forum_old-16.png" alt="{vb:rawphrase no_new_posts_forum}" /></dt><dd>{vb:rawphrase no_new_posts_forum}</dd>
<vb:if condition="$vboptions['showlocks']"><dt><img src="{vb:stylevar imgdir_statusicon}/forum_lock-16.png" alt="{vb:rawphrase forum_is_closed_for_posting}" /></dt><dd>{vb:rawphrase forum_is_closed_for_posting}</dd></vb:if>
<dt><img src="{vb:stylevar imgdir_statusicon}/category-16.png" alt="{vb:rawphrase category_forum}" /></dt><dd>{vb:rawphrase category_forum}</dd>
<dt><img src="{vb:stylevar imgdir_statusicon}/forum_link-16.png" alt="{vb:rawphrase link_forum}" /></dt><dd>{vb:rawphrase link_forum}</dd>
{vb:raw template_hook.forumhome_icon_legend}
</dl>
</div>
</div>
Hope i made someone happy with it :)
tbworld
09-30-2013, 09:22 PM
Thanks for sharing your tip. Good work!
Instead of removing the code, I would wrap the code with a template conditional. If you have not used them before, it is worth learning about.
http://www.vbulletin.com/docs/html/template_conditionals
ozzy47
09-30-2013, 09:32 PM
You could just wrap the code in the following.
<vb:comment> </vb:comment>
Then it won't show up, but will still be there should you need it again. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.