vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Horizontal forumhome statusicons (https://vborg.vbsupport.ru/showthread.php?t=115791)

bashy 05-15-2006 10:00 PM

Horizontal forumhome statusicons
 
Hi peeps

Heres a very small modification that changes the (statusicons) (new post, no new post and forum lock)
thats vertical at the bottom of the forumhome and changes them to horizontal, this to me tidies up the
bottom of the forum a tad (removes a gap)

Hope you find it useful, i do :)

Ps. (go easy on me, tis mt 1st hack on my own):banana:

Instructions

In your forumhone template find this code (near the bottom)

Code:

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

and replace with this

Code:

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

Or replace with this code to show with the nice box like mine :)

Code:

<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
    <td><table class="tborder" border="0" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" align="center">
<tr>
<td class="thead" align="center" colspan="6">Status Icons</td>
</tr>
<tr  class="alt1">
            <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>

Please click install if you use this :)
I will try and help if you need it but i am still very much a novice

peterska2 05-16-2006 08:26 PM

looks good bashy.

Well done :D

bashy 05-16-2006 08:33 PM

Cheers Peterska2, just thought i'd share it as i couldnt find it on here... :)

Ziki 05-17-2006 11:49 AM

Nice.Too bad I don't have any need for it! :(

FleaBag 05-17-2006 12:01 PM

Everyone has a need! This is how it should be by default.

Snake 05-17-2006 12:23 PM

I have done that already on my forums before you release this hack. :p

http://www.bonethugsforums.com/index.html

Check it out, look at the very bottom of the page.

Lady Divus 05-17-2006 02:33 PM

Quote:

Originally Posted by bashy
Ps. (go easy on me, tis mt 1st hack on my own)

Worked perfectly bashy. Thank you. I do like it much better with the horizontal view. Be well -

Lady Divus

bashy 05-17-2006 02:35 PM

Should have done a hack, would have saved me struggling :confused:

Quote:

Originally Posted by Lil Ripsta
I have done that already on my forums before you release this hack. :p

http://www.bonethugsforums.com/index.html

Check it out, look at the very bottom of the page.

No worries Lady Divus, glad it went in ok for you :)

Quote:

Worked perfectly bashy. Thank you. I do like it much better with the horizontal view. Be well -

Lady Divus

Lady Divus 05-17-2006 02:52 PM

<font color="Red">*Clicks Install*</font>

COBRAws 05-17-2006 03:50 PM

Quote:

Originally Posted by FleaBag
Everyone has a need! This is how it should be by default.

I second that. Vertical is a waste of space.


All times are GMT. The time now is 03:40 AM.

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.01799 seconds
  • Memory Usage 1,747KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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