vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - Seperate Categories (without plugin & product) (https://vborg.vbsupport.ru/showthread.php?t=209961)

Allan 03-30-2009 10:00 PM

Seperate Categories (without plugin & product)
 
1 Attachment(s)
Seperate Categories (without plugin & product)
______________________


Description: Seperate the categories on forumhome

Installation:
  • In the "forumhome_forumbit_level1_nopost" template, find (first on the top):
PHP Code:

<tbody

  • Add above:
PHP Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
br /> 

  • In the same template, find:
PHP Code:

<if condition="!$show['collapsable_forums']">
<
tbody id="collapseobj_forumbit_$forumidstyle="{$collapseobj_forumid}"

  • Add after:
PHP Code:

<tr align="center">
      <
td class="thead">&nbsp;</td>
      <
td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
      <
td class="thead" width="175">$vbphrase[last_post]</td>
      <
td class="thead">$vbphrase[threads]</td>
      <
td class="thead">$vbphrase[posts]</td>
      <if 
condition="$vboptions['showmoderatorcolumn']">
      <
td class="thead">$vbphrase[moderator]</td>
      </if>
    </
tr

  • In the "forumhome" template, find et delete:
PHP Code:

 <thead> <tr align="center">
      <
td class="thead">&nbsp;</td>
      <
td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
      <
td class="thead" width="175">$vbphrase[last_post]</td>
      <
td class="thead">$vbphrase[threads]</td>
      <
td class="thead">$vbphrase[posts]</td>
      <if 
condition="$vboptions['showmoderatorcolumn']">
      <
td class="thead">$vbphrase[moderator]</td>
      </if>
    </
tr>
</
thead


Kolbi 03-31-2009 03:42 PM

Only worked in 1 of 5 categories?
I´m using 3.8.1pl1, do you think that´s the reason?

Jasem 04-01-2009 03:17 AM

Nice work, thank you!

Installed

Magnumutz 04-02-2009 07:47 AM

Quote:

Originally Posted by Kolbi (Post 1781147)
Only worked in 1 of 5 categories?
I?m using 3.8.1pl1, do you think that?s the reason?

Same here, just 1 category.

Allan 04-02-2009 12:46 PM

Updated.

Kolbi 04-02-2009 06:17 PM

What has changed? :)

Allan 04-02-2009 07:17 PM

<br /> deplaced :p

check second quote.

Kolbi 04-03-2009 04:52 PM

Working now :)
But there is a bug!
Now i can?t minimize the categories anymore!

ftaunlimited 04-22-2009 03:59 PM

Works perfectly thank you, with one exception....... The last post column's are all different sizes so the forum is not uniform anymore.

jolinary 04-24-2009 07:50 PM

Quote:

Originally Posted by ftaunlimited (Post 1796811)
Works perfectly thank you, with one exception....... The last post column's are all different sizes so the forum is not uniform anymore.

Hi,

It's normal change this template"forumhome_lastpostby"

search this code:
Code:

<div class="smallfont" align="$stylevar[left]">
And replace for this:
Code:

<div class="smallfont" align="$stylevar[left]" style="width:200px;">
change the valeur in red, for your width :)

Sorry i am not english.

ftaunlimited 05-10-2009 02:30 PM

Quote:

Originally Posted by jolinary (Post 1798383)
Hi,

It's normal change this template"forumhome_lastpostby"

search this code:
Code:

<div class="smallfont" align="$stylevar[left]">
And replace for this:
Code:

<div class="smallfont" align="$stylevar[left]" style="width:200px;">
change the valeur in red, for your width :)

Sorry i am not english.




Worked perfectly, thanks so much:D

Silver Knight 05-19-2009 10:58 PM

Is this optional like, can you select it in the forum management part of acp?

Been Told 01-10-2010 01:08 PM

1 Attachment(s)
This doesn't seem to work properly on Chrome and Safari. It leaves a thin line above the first category.
See the attached image.

Been Told 01-12-2010 06:39 PM

Any word on this? Does nobody experience this issue?

final kaoss 01-14-2010 10:58 PM

If your going to post an image don't blur the text...

Been Told 01-22-2010 12:22 PM

Why? I'm working on something for a client that I don't want to let out of the bag. It's their choice when to announce something and not for me to blurt out.

Karm4 03-24-2010 07:59 AM

Does anyone know if theres a way to only seperate some categories?

killa seven 06-25-2010 12:39 AM

Is there a way to put a footer on every forum after it is seperated? You know what i mean? Have the category strip, then the header....then the forum subjects then a footer to end it off? Kinda close the box. IMO this would make this cleaner. i really enjoyed this, and it worked wonderfully for me, thank you.

vat0r 06-25-2010 01:15 PM

1 Attachment(s)
Quote:

Originally Posted by Been Told (Post 1951914)
This doesn't seem to work properly on Chrome and Safari. It leaves a thin line above the first category.
See the attached image.

Same issue here. Any way to resolve this?

EDIT: This hack works correctly.

Clydesdale 05-10-2011 02:56 AM

Worked like a charm and simple enough for a novice like me!

Thanks for all of your efforts!!!

SPARKS MAN 10-12-2011 03:29 PM

thankx but after modification is applied i get an 62 error on http://validator.w3.org/
without it i get zero error

i don't no why this happen?

Project Boredom 09-29-2012 05:34 PM

To fix the safari/chrome problem:

In the first add, you should do this instead:

PHP Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]style="border-bottom:15px; width="100%" align="center"> 



All times are GMT. The time now is 04:54 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.01225 seconds
  • Memory Usage 1,783KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)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