vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Show your forum key horizontaly (https://vborg.vbsupport.ru/showthread.php?t=90644)

yupfish 04-13-2005 10:00 PM

Show your forum key horizontaly
 
This is my first vB template hack to be released, So enjoy it and i hope it helps some people out! :)

In your FORUMHOME template find:
PHP Code:

<table cellpadding="2" cellspacing="0" border="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>
</
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>
</
table

Replace with:
PHP Code:

<!-- MichaelJM's vB Template hack -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<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>
</table>
<!-- end MichaelJM'
s vB Template hack --> 


mgurain 04-14-2005 09:51 PM

Hello,,

Thanks nice hack :)

but I have one small question :

Why does the code have :
Code:

</table>
</table>

twice ?

when I remove one of them, it shows the table with no 100% width !!

yupfish 04-15-2005 04:28 AM

Thanks just saw that myself x_X

Edit: Cleaned up the code, should be fine now.

Sooner95 05-26-2005 10:10 PM

had to make a couple changes for my styles, but other than that, works very well, thx!

Pion 05-29-2005 05:17 PM

Had to make little changes, but works nicely.

angelicGrace 05-29-2005 09:29 PM

This has been on my list of things to do for a while. I hated all that extra blanks space at the foot of my page. Drove me nuts. (Cause I am a picky sod). Thanks bunches!

G3MM4 07-09-2005 05:06 PM

Thanks for releasing this little modification... it's improved my style. I had to make some changes for it to fit in with my style though (basically I just removed the class="tborder" part from the table tag, and moved the log out code to the footer template).

m0nde 07-09-2005 05:59 PM

Changed it a bit, but good idea...it looks much neater! :up:

atxhorn 07-15-2005 01:46 PM

nice hack...but I can't get the color to match

G3MM4 07-21-2005 03:16 AM

How about doing the same for the icon key on the forumdisplay page?


All times are GMT. The time now is 06:04 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.01094 seconds
  • Memory Usage 1,743KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_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