News:

Wondering if this will always be free?  See why free is better.

Main Menu

In what file is the board legend?

Started by Steve, September 21, 2014, 09:04:04 AM

Previous topic - Next topic

Steve

Where is the board legend (just above the info center) so I can get rid of it? And any other board legends for that matter.
DO NOT pm me for support!

Kindred

What specifically do you mean by board legend?

The bit that tells the membergroups?
Boardindex.template.php

Or the bit that tells what the icons mean in the message index?
Message index.template.php
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Illori

boardindex.template.php

echo '
<ul class="reset">
<li class="floatleft"><img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'new_some.png" alt="" /> ', $txt['new_posts'], '</li>
<li class="floatleft"><img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'new_none.png" alt="" /> ', $txt['old_posts'], '</li>
<li class="floatleft"><img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'new_redirect.png" alt="" /> ', $txt['redirect_board'], '</li>
</ul>
</div>';


change to

echo '

</div>';

Steve

Thanks Illori. :D

Quote from: Kindred on September 21, 2014, 09:40:02 AM
What specifically do you mean by board legend?

Or the bit that tells what the icons mean in the message index?
Message index.template.php

That. And thanks. :D
DO NOT pm me for support!

Steve

I'm not sure who marked this solved but it's not. I didn't get a chance to test this until this morning.

While Illori's response does get rid of the legend, it has an unpleasant side effect (unpleasant to me anyway).

The first attached image is the original and the second is the changed boardindex.template.php ...

The 'mark all messages as read' button now doesn't have a space under it. How would I make it so it still has a gap between it and the info center?
DO NOT pm me for support!

Kindred

add bottom-padding or bottom-margin to the CSS for the mark as read button?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Steve

If that's in index.css of the theme it doesn't work unless I put it in the wrong place which is a good possibility.
DO NOT pm me for support!

margarett

You can also use the lazy option :P and use this code:
echo '
<ul class="reset">
<li class="floatleft">&nbsp;</li>
</div>';
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Steve

Lazy works. :P

Not perfectly but it'll have to do. Thanks M. :)
DO NOT pm me for support!

Steve

Okay, I'm going to ask one more question, then I'll give up.

How would I add a second blank line under the 'mark all as read' button (or increase the height of the space beneath it, whichever way you want to look at it) so that it's essentially centered vertically between the last category and the info center?
DO NOT pm me for support!

Kindred

Css adjustment.  Use Firefox and firebug, or the web dev kit in ff or chrome to figure out which css
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: