Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Seperate Categories (other mod again ^^) Details »»
Seperate Categories (other mod again ^^)
Version: 1.00, by Allan Allan is offline
Developer Last Online: Mar 2017 Show Printable Version Email this Page

Version: 3.6.4 Rating:
Released: 01-05-2007 Last Update: Never Installs: 97
 
No support by the author.

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"


Show Your Support

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

Comments
  #22  
Old 03-27-2007, 02:29 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JamieLee2k View Post
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.
Reply With Quote
  #23  
Old 03-29-2007, 12:12 AM
JamieLee2k's Avatar
JamieLee2k JamieLee2k is offline
 
Join Date: Sep 2006
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome but I needed to put a </if> in there
Reply With Quote
  #24  
Old 03-29-2007, 12:54 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JamieLee2k View Post
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>
Reply With Quote
  #25  
Old 06-09-2007, 09:03 PM
Ultimative Ultimative is offline
 
Join Date: May 2006
Location: Scotland
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FunaGuy View Post
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

See this Screenshot,
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
Reply With Quote
  #26  
Old 06-11-2007, 10:29 PM
Sinistra's Avatar
Sinistra Sinistra is offline
 
Join Date: Jun 2005
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #27  
Old 06-17-2007, 02:30 AM
BigDog56 BigDog56 is offline
 
Join Date: Jan 2007
Posts: 430
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works like a charm! I tried a few others and could not get them to work. Excellent work and thank you very much!
Reply With Quote
  #28  
Old 07-02-2007, 05:18 AM
wickedstangs wickedstangs is offline
 
Join Date: Mar 2007
Location: San Diego
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed 3.6.7PL1 works great...
Reply With Quote
  #29  
Old 08-05-2007, 01:05 AM
LjubavnaZona LjubavnaZona is offline
 
Join Date: Feb 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is awesome!
Reply With Quote
  #30  
Old 08-20-2007, 05:18 PM
SpeedyHire SpeedyHire is offline
 
Join Date: Apr 2005
Location: wales
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dont align on 3.6.8 last table is well out
thanx anyway
Reply With Quote
  #31  
Old 08-21-2007, 02:23 AM
SCRIPT3R SCRIPT3R is offline
 
Join Date: Jan 2005
Posts: 1,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

seperate >> separate.
Reply With Quote
Reply

Thread Tools

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 02:30 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.04770 seconds
  • Memory Usage 2,328KB
  • Queries Executed 25 (?)
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
  • (6)bbcode_code
  • (5)bbcode_php
  • (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