Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ForumHome Category Spacing Details »»
ForumHome Category Spacing
Version: 1.5, by DaPro DaPro is offline
Developer Last Online: Sep 2014 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.6 Rating:
Released: 08-08-2006 Last Update: 05-12-2007 Installs: 318
Template Edits
 
No support by the author.

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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 01-09-2007, 12:03 PM
Doc Great's Avatar
Doc Great Doc Great is offline
 
Join Date: Jan 2005
Location: Stuttgart
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DaPro View Post
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
Reply With Quote
  #63  
Old 01-18-2007, 05:44 PM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, i was able to use it, even i had a lot of mods in forumhome
Reply With Quote
  #64  
Old 02-05-2007, 01:12 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Doc Great View Post
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?
Reply With Quote
  #65  
Old 02-05-2007, 01:34 PM
Doc Great's Avatar
Doc Great Doc Great is offline
 
Join Date: Jan 2005
Location: Stuttgart
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #66  
Old 02-18-2007, 11:52 AM
Clayton Clayton is offline
 
Join Date: Nov 2004
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #67  
Old 02-28-2007, 01:02 PM
Detomah's Avatar
Detomah Detomah is offline
 
Join Date: Sep 2003
Location: South Shields UK
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #68  
Old 03-03-2007, 09:11 PM
prowarfare prowarfare is offline
 
Join Date: Feb 2007
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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



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.
Reply With Quote
  #69  
Old 03-19-2007, 03:14 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #70  
Old 03-31-2007, 05:01 PM
ksfrogman ksfrogman is offline
 
Join Date: Sep 2006
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight View Post
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!
Reply With Quote
  #71  
Old 04-03-2007, 07:04 PM
itorrents's Avatar
itorrents itorrents is offline
 
Join Date: Feb 2006
Location: Canada
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like it, thanks m8
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:51 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05289 seconds
  • Memory Usage 2,328KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete