Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
Table ordered categories Details »»
Table ordered categories
Version: 1.00, by vladig vladig is offline
Developer Last Online: Oct 2016 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.x.x Rating:
Released: 10-25-2012 Last Update: Never Installs: 13
Template Edits
Additional Files  
No support by the author.

Hi.
My name is Vlad Gincher, and this is my first mod. This mod allows you to arrange your categories in table form. This fits multiple forums community issues. Besides the arrangement, mod allows displaying an icon for each category.

So what to do?

Open the file "FORUMHOME" and find:
Code:
	<!-- main -->
        {vb:raw template_hook.forumhome_above_forums}
	<ol id="forums" class="floatcontainer">
		{vb:raw forumbits}
	</ol>
        {vb:raw template_hook.forumhome_below_forums}
	<!-- /main -->
Delete it and write instead:
Code:
	<!-- main -->
        {vb:raw template_hook.forumhome_above_forums}
        <div style=" margin-right: 42px; margin-top: 13px; ">
		{vb:raw forumbits}
	</div>
        {vb:raw template_hook.forumhome_below_forums}
	<!-- /main -->
Save and close it.

Open the file "forumhome_forumbit_level1_nopost", erase everything and write instead:
Code:
<div class="cat_cs" id="cat{vb:raw forum.forumid}" style="height: 300px;width: 160.5px;  float: right;  margin: 0 6px 30px;  border: 1px solid hsla(0, 0%, 0%, 0.26);  border-radius: 5px;  padding: 1px;">
				<div class="cat_cs_title" style=" background: url(images/toc/new_cs_title.gif);width: 155px!;height: 41px;">
					<table style="height: 92%;margin-right: 5px;"><tbody><tr><td>
						
					<a href="{vb:link forum, {vb:raw forum}}" style="text-decoration: none;  color: hsl(199, 100%, 20%);  font: bold 16px arial;">{vb:raw forum.title}</a></td></tr></tbody></table>
				</div>
				<img src="newcs/{vb:raw forum.forumid}.png" style="height: 50px;width: 159px;margin-bottom: -1px;">
				
					<ol id="c_cat{vb:raw forum.forumid}" class="childforum" style="background: url(images/toc/new_cs_forum.gif) top center;  background-repeat: repeat-x;  padding-top: 5px;  padding-right: 5px;">
		{vb:raw childforumbits}
</ol>
</div>
Save and close it.

Open the file "forumhome_forumbit_level2_post", erase everything and write instead:
Code:
<li id="forum{vb:raw forum.forumid}">
 <img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" id="forum_statusicon_{vb:raw forum.forumid}" alt="" width="6" height="6" style="vertical-align: middle;">
 <a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a>
</li>
Save and close it.

Open the file "forumhome.css" and write in the end:
Code:
.childforum > li > a {
color: hsl(0, 0%, 49%);
font: bold 11px arial;
text-decoration: none;
}
.childforum > li > a:hover {
color: hsl(202, 78%, 41%);
text-decoration: underline;
}
Save and close it.

Now download the attachment below and upload them file to the server.

To change the category image you need to upload the image to the file "newcs". The name of the image to order this way: *ID*.png, so if the ID of the category is "1", call the picture 1.png.

Download Now

File Type: zip upload.zip (6.6 KB, 89 views)

Screenshots

File Type: png Untitled-1.png (127.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
artscripts, RaSa

Comments
  #2  
Old 10-27-2012, 01:53 PM
snakedevil snakedevil is offline
 
Join Date: Jul 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Demo please
Reply With Quote
  #3  
Old 10-27-2012, 03:02 PM
vladig vladig is offline
 
Join Date: May 2010
Location: Israel
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT:
They changed the arrangement categories, so now there is no demo.
Reply With Quote
  #4  
Old 10-27-2012, 10:32 PM
YOODA230 YOODA230 is offline
 
Join Date: Jun 2011
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is my forum
http://www.windos.me/forum.php
looks the same lol
Reply With Quote
  #5  
Old 10-28-2012, 02:35 PM
vladig vladig is offline
 
Join Date: May 2010
Location: Israel
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by YOODA230 View Post
this is my forum
http://www.windos.me/forum.php
looks the same lol
In Israel there are lots of kinds of arrangement, it surprises me that you Israeli who does not familiar with the FXP and other forums with this arrangement. This arrangement is mine.

בתור ישראלי ציפיתי ממך שדווקא תדע שיש המון סוגים של מוד הCS, הספציפי פה הוא שלי. אתה באמת לא מכיר את FXP.CO.IL? זאת קהילה עם כמעט מיליון משתמשים רשומים! זאת הקהילה הגדולה בישראל, ולפי מה שאני הבנתי היא זו שהמציאה את הסידור.
Reply With Quote
  #6  
Old 10-28-2012, 03:28 PM
YOODA230 YOODA230 is offline
 
Join Date: Jun 2011
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you tell me how to make it 4 tables instead of 5
Reply With Quote
  #7  
Old 10-28-2012, 06:57 PM
vladig vladig is offline
 
Join Date: May 2010
Location: Israel
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Number of categories line is not a fixed number, it depends on what the width of the site. You can see in the first row, in "forumhome_forumbit_level1_nopost", registered in the name of "Width: 160PX" As you increase the number so will decrease the space between the categories until the fifth category spinach line.
Reply With Quote
  #8  
Old 10-28-2012, 07:08 PM
YOODA230 YOODA230 is offline
 
Join Date: Jun 2011
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works good thanks!!
i see anoter option can you guid me?
http://www.ngc.co.il/
like here
if you mous point on a forum its show you the last thard in navbar
Reply With Quote
  #9  
Old 10-28-2012, 07:35 PM
vladig vladig is offline
 
Join Date: May 2010
Location: Israel
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by YOODA230 View Post
works good thanks!!
i see anoter option can you guid me?
http://www.ngc.co.il/
like here
if you mous point on a forum its show you the last thard in navbar
I can to builed this mod, but I don't allowed to. It's not mine design...
Reply With Quote
  #10  
Old 11-05-2012, 05:13 PM
v123shine v123shine is offline
 
Join Date: Sep 2008
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice mod
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 08:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04425 seconds
  • Memory Usage 2,318KB
  • Queries Executed 24 (?)
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
  • (5)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete