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)
-   -   Forum Display Enhancements - Better layout of status icon's (https://vborg.vbsupport.ru/showthread.php?t=157498)

BarryoBrien 09-09-2007 10:00 PM

Better layout of status icon's
 
This will layout the statis icon's on the forum home and forum display. This sets them going left to righ rather than the default one under each other.

Open your forum home template and search for <!-- icons and login code --> remove the code upto the <!-- icons and login code -->

so it looks like this

Quote:

<!-- icons and login code -->
<table class="tborder" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><div align="center"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /><br />$vbphrase[forum_contains_new_posts]</div></th>
<th scope="col"><div align="center"><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /><br />$vbphrase[forum_contains_no_new_posts]</div></th>
<th scope="col"><div align="center"><if condition="$vboptions['showlocks']"><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /><br />$vbphrase[forum_is_closed_for_posting]</div></th>
</if>

<center><if condition="!$show['guest']">
<!-- member logout -->
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></center>
<!-- end member logout -->
</if>
</tr>
</table>
<!-- /end icon and login code -->


you can also do this in your forum display template so all of your forum looks like the homepage layout.

This update will be sent out to anyone who marks as installed.

It is a part of the new style im creating so when I make changes to it updates will be sent out.

Live demo http://www.websiteforumz.com/?styleid=20

staff80 09-10-2007 09:25 PM

why your forum icons too small :P thanks for sharing.

valdet 09-12-2007 02:35 PM

This one seems like it does the same thing as the following mod..

https://vborg.vbsupport.ru/showthrea...ght=horizontal

BarryoBrien 10-17-2007 07:59 PM

So it is there is alot of mod on VB.org that are close to the same or are them same just different code


All times are GMT. The time now is 03:50 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.01119 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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