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.


All times are GMT. The time now is 09:58 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.01102 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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