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)

Doc Great 01-09-2007 12:03 PM

Quote:

Originally Posted by DaPro (Post 1048997)
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.

Hi folks,

DaPro, you should update your txt with this chances, now it's not xhtml transitional valid :)

Cheerio

obmob 01-18-2007 05:44 PM

Nice, i was able to use it, even i had a lot of mods in forumhome :)

Smoothie 02-05-2007 01:12 PM

Quote:

Originally Posted by Doc Great (Post 1175198)
Here comes the TMS Product for the category spacing hack.

Before installing, make sure you have installed the Template Modification System http://www.vbhacks-germany.org/showthread.php?t=5572

What's the template modification system? And why do you need to register to view that thread?

Doc Great 02-05-2007 01:34 PM

The template modification system is a great mod from Andreas (KirbyDE), but unfortunately only released at vbhacks-germany.org, the official german vbhack site. I hope the modification will be released at vb.org :-)

The tms allows you making code changes to templates without editing the original templates.


Smart, here it was :D

Clayton 02-18-2007 11:52 AM

firstly thank you for your work

then I would like to ask how I could line the various forums up, please?

the lines are not 'in-line'

see attachment

ps.. I created categories but did not make some forums as part of those categories .. as I want to be able to display those forums on my Forum Home as I use show only 1 forum on Forum Home. This was the best solution i could find unless u can suggest somehting else

Detomah 02-28-2007 01:02 PM

I've always loved the hacks that do this as they make the forum look much nicer, why it can't be a vBulletin default is beyond me though.

The one thing that always annoys me is the lining up bit, it's such a pain to get right.

Anyhoo...

/me happily installs this version, as the other "automatic" version available leaves the tables out of line anyway, so manual editing is a must for me, either way.

prowarfare 03-03-2007 09:11 PM

I have done it and it looks great. but when browsing my forums i have come across a problem.

http://img214.imageshack.us/img214/386/problemnc5.jpg

Seems like it only effects it if there are borders on. If it didnt have borders it would look normal. Is there a way to fix this problem and keep the borders on.

NFLfbJunkie 03-19-2007 03:14 PM

How can I fix the large gap between my last forum and the 'what's going on' box to match the spacing between the separate forums?

ksfrogman 03-31-2007 05:01 PM

Quote:

Originally Posted by Oblivion Knight (Post 1048906)
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>

Awesome, I just deleted that code and it works like a charm!

itorrents 04-03-2007 07:04 PM

I like it, thanks m8 :)


All times are GMT. The time now is 08:03 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.01191 seconds
  • Memory Usage 1,755KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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