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 Home Enhancements - ForumHome Category Spacing (https://vborg.vbsupport.ru/showthread.php?t=123530)

DaPro 08-08-2006 10:00 PM

ForumHome Category Spacing
 
This is a small port from what Floris and Zachery have written on Forum Category Spacing. I hope that some of you will find this bit of information usefull. Don't forget to click INSTALL :). Thanks.

Credits:
Floris - http://www.vbulletin.com/forum/showthread.php?t=110590
Zachery - https://vborg.vbsupport.ru/showthread.php?t=88983

Changelog:

*Note: I skipped 1.4 because 1.5 just looks better :D
v1.5 (May 12 2007)
========================
- Updated to Support vBulletin 3.6.6

v1.3 (Nov 03 2006)
========================
- Fixed forumhome Guest Message break.
- Fixed lastpost break.

v1.2 (Oct 31 2006)
========================
- Fixed some random HTML problems.
- Reworked the Last Post Optional Edit
- Should be 3.6.2 compatible

v1.1 (Aug 10 2006)
========================
- Updated to be XHTML Transitional Valid

v1.0 (Aug 9 2006)
========================
- Initial port & release

Brandon Sheley 08-09-2006 07:39 PM

thx, but can u link to the previous hack or a screen shot ?

thank you :)

DaPro 08-09-2006 08:32 PM

Quote:

Originally Posted by Loco.M
thx, but can u link to the previous hack or a screen shot ?

thank you :)

Sure no problem, did both for you guys! Enjoy.

Snatch 08-10-2006 06:05 AM

Cool, I searched for this so much.

but one question. How can I delete this Line (show Attach)

GreeTz
Snatch

Oblivion Knight 08-10-2006 06:15 AM

Quote:

Originally Posted by Snatch
Cool, I searched for this so much.

but one question. How can I delete this Line (show Attach)

GreeTz
Snatch

Delete this part of code in the FORUMHOME_FORUMBIT_LEVEL1_NOPOST template:
HTML Code:

<tr><td class="thead" style="line-height: 0; padding: 0; margin: 0;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><img src="$vboptions[cleargifurl]" alt="" width="1" height="12" /></td></tr>

Doc Great 08-10-2006 06:31 AM

One question, is it valid xhtml Transitional?

Cheers,
Sven

Snatch 08-10-2006 08:11 AM

Thank YOU !!!

GreeTz
Snatch

DaPro 08-10-2006 10:44 AM

Quote:

Originally Posted by Doc Great
One question, is it valid xhtml Transitional?

Cheers,
Sven

My apologies, I forgot to check the code for validation like I should :-|. I have updated the port to reflect the changes and just grab the new TXT file. For those who don't wanna go through it all here are the XHTML Validation changes. (If you find more let me know :))

Find the following code in FORUMHOME
======================================
HTML Code:

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <if condition="$show['guest']">
    <!-- guest welcome message -->
    <tr>
        <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
    </tr>
    <tr>
        <td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
            <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
        </td>
    </tr>
    <!-- / guest welcome message -->
    </if>
</thead>
$forumbits
$forumhome_markread_script
<!-- /main -->

Replace that code with the following:
======================================
HTML Code:

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <if condition="$show['guest']">
    <!-- guest welcome message -->
    <tr>
        <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
    </tr>
    <tr>
        <td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
            <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
        </td>
    </tr>
    <!-- / guest welcome message -->
    </if>
</table>
$forumbits
$forumhome_markread_script
<!-- /main -->

All done.

StuntFactoryX 08-10-2006 04:13 PM

what does this mean or do? xml stuff?

DaPro 08-10-2006 04:23 PM

Quote:

Originally Posted by StuntFactoryX
what does this mean or do? xml stuff?

It is pretty self explainitory. It seperates each forum category on the forumhome so it looks neater and more organized. Can be seen on many forums today. I even have a screenshot up there for you.


All times are GMT. The time now is 03:13 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.01168 seconds
  • Memory Usage 1,749KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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