vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Horizontal Status/Forum Markers (https://vborg.vbsupport.ru/showthread.php?t=118399)

King Kovifor 06-11-2006 10:00 PM

Horizontal Status/Forum Markers
 
Introduction:

This will take the forum markers on the forum and place them in a horizontal line.

Installation:

ACP -> Styles & Templates -> forumhome [<< >>] -> FORUMHOME

Find:
HTML Code:

<!-- icons and login code -->
Highlight Until You See:
HTML Code:

<!-- / icons and login code -->
Replace Code With:
HTML Code:

<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
        <td align="center">
                <table cellpadding="2" cellspacing="0">
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
                        <td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
                        <td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
                        <td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
                </tr>
                </table>
        </td>
</tr>
        <if condition="!$show['guest']">
<tr>
                <!-- member logout -->
                <td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
                <!-- end member logout -->
</tr>
        </if>
</table>
<!-- / icons and login code -->

Live Demo:
As I don't have screenshots yet... I need to find screenshots. All it does is take the status icons put them in a row and center them.

rmxs 06-12-2006 08:03 PM

COOL installed :)

FleaBag 06-12-2006 09:10 PM

Nice idea, you might want to add "border=0" to the anchor though, doesn't look very nice otherwise.

King Kovifor 06-12-2006 09:44 PM

Quote:

Originally Posted by FleaBag
Nice idea, you might want to add "border=0" to the anchor though, doesn't look very nice otherwise.

I'll work on getting a setting for people to customize this...

Changed to 1.0.1 with a border="0" where border="1" was.

Moonkat 08-13-2006 11:31 AM

heheh I figured out how to do this on my own - I didn't know what the title of the thread meant :) Nice option to post for people to use though!!!

You might change the title to "Horizontal Status Icons" ... it's possible I just haven't slept enough to understand perfectly clear wording though lol :D

BlueEyesOnly 08-22-2006 01:12 PM

demo down. please add screenshots

King Kovifor 08-22-2006 04:51 PM

Quote:

Originally Posted by BlueEyesOnly
demo down. please add screenshots

I'll try to get some later...

xman_79 08-27-2006 06:42 PM

It's very good . Thanks

*I have attached the screenshots .

Snake 08-30-2006 04:04 PM

Thanks for the hack! I'll install it right away... :)

miner 08-30-2006 04:58 PM

Its simple & useful one...


All times are GMT. The time now is 02:52 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.02917 seconds
  • Memory Usage 1,742KB
  • 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
  • (3)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete