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)
-   -   [RC2] [HowTo] Category in a Box (https://vborg.vbsupport.ru/showthread.php?t=88298)

Floris 01-05-2004 10:00 PM

[RC2] [HowTo] Category in a Box
 
/*

[HowTo] Category in a Box


# version
vBulletin 3.0.0 Release Candidate 2

# author
floris (http://www.vBulletin.nl/)

# you can
use this for your own web site
(if you are a licensed vbulletin user)

# you can not
distribute or translate this
(or use it if you are not a licensed vbulletin user)

# credits
ME ME ME

# description
This template modification will learn you how to
split the categories from eachother (as if they were
each in their own box) and also cleans up the forumhome.

# original release thread
http://www.vbulletin.nl/community/showthread.php?t=1745

*/

Icheb 01-06-2004 04:40 PM

Works perfectly, thank you :) .

Xanthine 01-06-2004 06:31 PM

Thanks, working good

The Quibbler 01-08-2004 04:31 AM

Works wonderfully! Thank you so much! I've been wanting something like this for ages, but before now, none of them have worked for some reason.

sypher_again 01-08-2004 01:10 PM

Very very good work , thanks u very much

Brad 01-08-2004 04:51 PM

Thanks floris, good work as always. :)

Reimer 01-10-2004 09:30 PM

Sweet, that is one hack I was searching for. Good job!

Tony G 01-10-2004 10:41 PM

Nice mod, floris. :)

MKN 01-12-2004 02:00 PM

Is it possible to combine this mod, with the "category images" and the "center category names" mods?

macshrine 01-15-2004 01:40 PM

if you go on my site, www.macshrine.com, at the top you can see these 2 ugly lines, how can i get rid of them? apart from that its a great mod :)

gmarik 01-17-2004 12:01 PM

nice coding!

imported_LLFan 01-20-2004 05:10 AM

Fantastic, simple, understandable, concise. Now of course for me that is a recipe for disaster. =) I installed and everything looks fine but 1 thing, when guest you see the text area above the forums telling you about the FAQs and to register blah blah. But when logged in I see a small box (which appears to be the 1px border of that table) without the text in it.

Any ideas of where I went wrong?

poolking 01-24-2004 03:00 PM

Thanks xiphoid,

Just installed:

www.rwaforums.co.uk/pa2004

psico 03-04-2004 11:38 PM

tnx a lot dude!
It works perfect on RC4!!!

Owen 03-05-2004 12:32 PM

<a href="http://vxforums.com/" target="_blank">http://vxforums.com/</a>

Not exactly working for me...

Stuff isnt aligned anymore and there is a weird table at the top...

UPDATE: Got it fixed up, made the last post column wider.

Dan 03-06-2004 01:44 PM

*clicks install even know floris already knows he is using it*

StarBuG 03-31-2004 11:25 AM

How can I get the Forum columns aligned?

StarBuG

ChrisSy 04-01-2004 09:55 PM

would love a fix for the forum alignment :)

imported_Scope 04-08-2004 03:54 PM

I got the same aligning problem

imported_Synicide 04-09-2004 03:02 PM

*does the same thing that dan does*

Tony G 04-10-2004 03:19 AM

Quote:

Originally Posted by chrissy
would love a fix for the forum alignment :)

There's a small mod within Zachery's Forum spacing mod which will fix alignment.

Smike 04-18-2004 08:11 PM

Great !
With little modification it worck in vb 3.0.1

gldtn 02-21-2005 03:46 AM

I just installed this on vB3.06 and got a small error, which was a 1px dot at the top of the forums list when you were logged in.

To fix this do the following;

Open/Edit: FORUMHOME
Find:
[------------------------------------------------]

<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]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
<!-- / guest welcome message -->
</if>

</thead>

[------------------------------------------------]


Replace with:
[------------------------------------------------]

<if condition="$show['guest']">
<thead>
<!-- 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]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
<!-- / guest welcome message -->


</thead>
</if>

[------------------------------------------------]


Notice that the "<if condition="$show['guest']">" code got moved above "<thead>" and "</if>" below "</thead>", thus removing the 1px dot that the code left if you were logged in :D

Thanks for the great hack Floris


All times are GMT. The time now is 04:43 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.01075 seconds
  • Memory Usage 1,753KB
  • 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
  • (23)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