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)
-   -   Seperate Categories (other mod again ^^) (https://vborg.vbsupport.ru/showthread.php?t=135731)

Allan 01-05-2007 10:00 PM

Seperate Categories (other mod again ^^)
 
Seperate Categories (other mod again ^^)
(compatible with All vB3.6.x)


[left]

Description: Seperate the categories on forumhome
  • In the forumhome_forumbit_level1_nopost template, find:
PHP Code:

<tbody

  • Add before:
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="$childforumbits">
 <
tbody id="collapseobj_forumbit_$forumidstyle="{$collapseobj_forumid}"

  • Add under:
PHP Code:

<tr align="center">
       <
td class="thead">&nbsp;</td>
       <
td class="thead" width="100%" align="$stylevar">$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 and delete:
PHP Code:

<thead>
 <
tr align="center">
       <
td class="thead">&nbsp;</td>
       <
td class="thead" width="100%" align="$stylevar">$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

Enjoy ^^


PS: Click Install if you use this mod please "Install"



kcmandava 01-07-2007 12:44 AM

Thank you!

DPSR 01-07-2007 02:23 AM

I'am gona try it right now

FunaGuy 01-07-2007 03:31 AM

Looks easy and simple.
But After Applied this code, Last Post Cell is not same as before in each categories. This problem is in all Mods :D

See this Screenshot,
https://vborg.vbsupport.ru/

Allan 01-07-2007 06:22 AM

Quote:

Originally Posted by FunaGuy (Post 1152373)
Looks easy and simple.
But After Applied this code, Last Post Cell is not same as before in each categories. This problem is in all Mods :D

See this Screenshot,
https://vborg.vbsupport.ru/

In the forumhome_lastpostby template, find:
Code:

<table cellpadding="0" cellspacing="0" border="0" width="200"><tr align="$stylevar[right]">
Replace with:
Code:

<table cellpadding="0" cellspacing="0" border="0" width="225"><tr align="$stylevar[right]">
Increase this value "225" if need ^^

NuclioN 01-07-2007 02:37 PM

I looked for this in forumhome_lastpostby but there's no table at all (??)

masterme 01-08-2007 12:46 PM

Same prob here, categories are seperate, but also the cell problem here and no such line in the forumhome..... template

KURTZ 01-08-2007 01:28 PM

thx for sharing but i use THIS hack :)

masterme 01-08-2007 05:12 PM

That one is easier with install, but also has the same prob with the lastpost. Shame, seems that it is a prob with some designs, so I cannot use it.

NeoToxic 01-21-2007 06:38 PM

100% PERFECT!!!!!!!!!!!! thank you so much.

Shazz 01-21-2007 06:47 PM

Quote:

Originally Posted by Allan (Post 1152424)
In the forumhome_lastpostby template, find:
Code:

<table cellpadding="0" cellspacing="0" border="0" width="200"><tr align="$stylevar[right]">
Replace with:
Code:

<table cellpadding="0" cellspacing="0" border="0" width="225"><tr align="$stylevar[right]">
Increase this value "225" if need ^^

Theres no code of that to find :confused:

Allan 01-21-2007 08:14 PM

Quote:

Originally Posted by Shazz (Post 1164468)
Theres no code of that to find :confused:

It's for defaut style normaly ^^

ep13 01-22-2007 02:55 PM

i get a we problem were theres a Dot above the top cat in the middle

ep13 01-22-2007 03:07 PM

http://img252.imageshack.us/img252/9280/thedot4rb.jpg

Allan 01-22-2007 03:42 PM

In foruhome template, find:
Code:

<tr align="center">
      <td class="thead">&nbsp;</td>
      <td class="thead" width="100%" align="$stylevar">$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>

Replace with
Code:

<thead>
 <tr align="center">
      <td class="thead">&nbsp;</td>
      <td class="thead" width="100%" align="$stylevar">$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>


ep13 01-22-2007 04:10 PM

In the main thread it says delete this

Smoothie 03-23-2007 12:01 AM

This is one of the few mods that works with little effort. Installed and aligned

Ohiosweetheart 03-25-2007 01:51 PM

Looks like this can't be used with customized skins. Too bad :(

Shazz 03-25-2007 01:56 PM

Basically how it is on all seperate catagory tricks :|

JamieLee2k 03-27-2007 12:27 AM

How do I get rid of the dot too, I done what was asked and it's there

Smoothie 03-27-2007 02:29 AM

Quote:

Originally Posted by JamieLee2k (Post 1213254)
How do I get rid of the dot too, I done what was asked and it's there

forumhome_forumbit_level1_nopost

at the very top, add this:
Code:

<if condition="$forum[forumid] != X">
Where X is the forumid of the top category on the page. This will prevent the forum listing table from being restarted for that category.

JamieLee2k 03-29-2007 12:12 AM

awesome but I needed to put a </if> in there

Smoothie 03-29-2007 12:54 AM

Quote:

Originally Posted by JamieLee2k (Post 1214917)
awesome but I needed to put a </if> in there

Oops, sorry. Add here, like this

Code:

<if condition="$forum[forumid] != X">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<br />
</if>


Ultimative 06-09-2007 09:03 PM

Quote:

Originally Posted by FunaGuy (Post 1152373)
Looks easy and simple.
But After Applied this code, Last Post Cell is not same as before in each categories. This problem is in all Mods :D

See this Screenshot,
http://xs511.xs.to/xs511/07010/broken-screeb.JPG

Okay, I've worked out a way to correct this;

Open forumhome_forumbit_level1_nopost

Find:
Code:

<td class="thead" width="175">$vbphrase[last_post]</td>
Replace with:
Code:

<td class="thead" style="display: block; width: 250px;" width="250">$vbphrase[last_post]</td>
Should correct the problem :)

Sinistra 06-11-2007 10:29 PM

Fore those looking to remove that pointless table cell above the new post images.

In the forumhome_forumbit_level1_nopost template, find:
Code:

<tr align="center">
      <td class="thead">&nbsp;</td>
      <td class="thead" width="100%" align="$stylevar">$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>

Replace with

Code:

<tr align="center">
      <td class="thead" width="100%" align="$stylevar" colspan="2">$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>


BigDog56 06-17-2007 02:30 AM

Works like a charm! I tried a few others and could not get them to work. Excellent work and thank you very much!

wickedstangs 07-02-2007 05:18 AM

installed 3.6.7PL1 works great...

LjubavnaZona 08-05-2007 01:05 AM

This is awesome!

SpeedyHire 08-20-2007 05:18 PM

dont align on 3.6.8 last table is well out:(
thanx anyway

SCRIPT3R 08-21-2007 02:23 AM

seperate >> separate. ;)

elmati 08-22-2007 01:55 AM

i dont think that <br /> can be after <table> tag...

so, i did this:

in forumhome_forumbit_level1_nopost (at very top)

Code:

<if condition="$forum[forumid] == XX">
<else />
</tbody>
</table>
<br />
</if>

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

where XX its the id of your top category forum..

now, everything its ok :)

lutics 08-22-2007 07:52 AM

https://vborg.vbsupport.ru/external/2007/08/8.jpg

Hey between my posts I have an "a" As you can see. How would I remove it :|

elmati 09-11-2007 05:10 AM

so? this hack no touch that... but i thin u have a problem in spacer_open, spacer_close ;)
check that templates...

ReQueM 09-26-2007 04:24 PM

thank you allan :up:

hrk 10-03-2007 06:36 PM

swett and simple.
tested on VB3.6.8

thank you:)

Ricsca 10-16-2007 11:18 PM

http://img146.imageshack.us/img146/5039/3333zv2.jpg


???

Very Thanks :)

ciprianrpp 10-22-2007 05:24 AM

not valid xhtml. working but not VALID!!!

pedro84 10-25-2007 06:19 PM

There's simple way to fix it.

Change in forumhome_forumbit_level1_nopost

Code:

<tr align="center">
      <td class="thead">&nbsp;</td>
      <td class="thead" width="100%" align="$stylevar">$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>

to


Code:

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

It works for me:)


Let me know what about yoy.

Greetings
Pedro

Audentio 11-07-2007 01:05 AM

Thanks a lot, perfect :).

VADOS 01-07-2008 08:25 PM

Works much better than others...
Thanx!

*installed*


All times are GMT. The time now is 04:59 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.01566 seconds
  • Memory Usage 1,851KB
  • 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
  • (15)bbcode_code_printable
  • (5)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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