vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   FORUMHOME icon legend on single line? (https://vborg.vbsupport.ru/showthread.php?t=293434)

paulket 12-31-2012 12:36 AM

FORUMHOME icon legend on single line?
 
How can I have my FORUMHOME icon legend on a single line so instead of having:

image Contains unread forum posts
image Contains no unread forum posts
image Forum is a category
image Forum is a Link


I would have:

image Contains unread forum posts image Contains no unread forum posts image Forum is a category image Forum is a Link

Any help would be appreciated very much.

Amaury 12-31-2012 05:20 AM

Someone asked this question not too recently. This might help.

WorldCraft 12-31-2012 07:43 AM

Find:
HTML Code:

                                        <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>


Replace with:
HTML Code:

                                        <ul id="icon_legends" class="icon_legends">
                                                <li style="display:inline;"><img src="{vb:stylevar imgdir_statusicon}/forum_new-16.png" alt="{vb:rawphrase new_posts_forum}" /></li><li style="display:inline;">{vb:rawphrase new_posts_forum}</li>
                                                <li style="display:inline;"><img src="{vb:stylevar imgdir_statusicon}/forum_old-16.png" alt="{vb:rawphrase no_new_posts_forum}" /></li><li style="display:inline;">{vb:rawphrase no_new_posts_forum}</li>
                                                <vb:if condition="$vboptions['showlocks']"><li style="display:inline;"><img src="{vb:stylevar imgdir_statusicon}/forum_lock-16.png" alt="{vb:rawphrase forum_is_closed_for_posting}" /></li><li style="display:inline;">{vb:rawphrase forum_is_closed_for_posting}</li></vb:if>
                                                <li style="display:inline;"><img src="{vb:stylevar imgdir_statusicon}/category-16.png" alt="{vb:rawphrase category_forum}" /></li><li style="display:inline;">{vb:rawphrase category_forum}</li>
                                                <li style="display:inline;"><img src="{vb:stylevar imgdir_statusicon}/forum_link-16.png" alt="{vb:rawphrase link_forum}" /></li><li style="display:inline;">{vb:rawphrase link_forum}</li>
                                        {vb:raw template_hook.forumhome_icon_legend}
                                        </ul>


paulket 12-31-2012 01:04 PM

Quote:

Originally Posted by Amaury25 (Post 2393716)
Someone asked this question not too recently. This might help.

Thank you for the reply, Amaury25. I saw that thread and I think the OP was asking to do something a little different, like placing the icon legend next to the stats.

--------------- Added [DATE]1356962823[/DATE] at [TIME]1356962823[/TIME] ---------------

Quote:

Originally Posted by WorldCraft (Post 2393735)
Find:

code

Replace with:

code

Thank you, WorldCraft! That did it :)

WorldCraft 01-01-2013 03:25 AM

Cheers mate. :)


All times are GMT. The time now is 01:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01094 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete