Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forums arranged in columns on forumhome Details »»
Forums arranged in columns on forumhome
Version: 1.2.1, by Xenon Xenon is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 01-08-2004 Last Update: 01-16-2005 Installs: 118
 
No support by the author.

As requested several times, this hack allows you to arrange forums on forumhome in xx columns instead of just one per row as it is in standart vb3.

Look at the screenshot to know what i mean

The design is changeable in the templates of course

I've tested it, and it should work, but as i don't use it myself, i cannot do a longtime test, so if you find any bugs, report them

You can apply the changes to forumdisplay as well if wanted

Show Your Support

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

Comments
  #142  
Old 04-08-2004, 02:00 AM
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Location: london
Posts: 854
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can some one please release a nicer looking forumhome_forumbit_columncell to include the last poster info/post and thread counts ? PLSSS
Reply With Quote
  #143  
Old 04-08-2004, 10:53 PM
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Location: london
Posts: 854
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heres mine all done took me ages ! thanks to m.c for some code :smoke:
Reply With Quote
  #144  
Old 04-09-2004, 06:20 PM
jb605 jb605 is offline
 
Join Date: Feb 2004
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xenon
Shouldn't be hard to do.

actually it works for forums as well as for categories, and the forumdisplay would be an edit of a few lines i think
Hi, Xenon, would you mind give some more details on what you think needs to be done to make it work for forums in forumdisplay?

I have modified forumdisplay.php to add in

PHP Code:
'$forumhome_subforum_columncell'
as well as editing template FORUMDISPLAY within forumdisplay template group, by replacing

PHP Code:
<if condition="$show['forumslist']">
<!-- 
sub-forum list  -->
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center" style="border-bottom-width:0px">
<
tr>
    <
td class="tcat" width="100%">$vbphrase[subforums]<span class="normal">: $foruminfo[title]</span></td>
    <if 
condition="$show['forumsearch']">
    <
td class="vbmenu_control" id="forumsearch.subforums"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]">$vbphrase[search_this_forum]</a> <script type="text/javascript"vbmenu_register("forumsearch.subforums"); </script></td>
    </if>
</
tr>
</
table>
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
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" nowrap="nowrap">$vbphrase[last_post]</td>
      <
td class="thead" nowrap="nowrap">$vbphrase[threads]</td>
      <
td class="thead" nowrap="nowrap">$vbphrase[posts]</td>
      <if 
condition="$vboptions[showmoderatorcolumn]">
      <
td class="thead" nowrap="nowrap" width="85">$vbphrase[moderator]</td>
      </if>
    </
tr>
</
thead>
$forumbits
</table>
<
br />
<!-- / 
sub-forum list  -->
</if> 
with the part from you code
PHP Code:
<if condition="$childforumbits">
<
tbody id="collapseobj_forumbit_$forumidstyle="{$collapseobj_forumid}">
<if 
condition="$forum['subforumcolumns'] > 1">
  <
tr>
    <
td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<
table style="border: none; width: 100%;">
      
$childforumbits
</table>
    </
td>
  </
tr>
<else />
  
$childforumbits
</if>
</
tbody>
</if> 
But I didn't get the subforums to show in column in forumdisplay, instead, my frontpage now has all categories collapsed, and cannot even expand them.

Would mind provide some more details?

Thanks.
Reply With Quote
  #145  
Old 04-11-2004, 03:13 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in functions_forumlist.php

you have to remove
Code:
THIS_SCRIPT == 'index' AND
in the modified code, as this prevents the colhumns from appearing on forumdisplay

i thin that should be all, except from some design glitches you have to manage in forumdisplay template

@Corsa: hey, looking nice
Reply With Quote
  #146  
Old 04-17-2004, 01:30 AM
deaconxgp deaconxgp is offline
 
Join Date: Dec 2003
Location: Dallas
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by M.C.
trying to make same like on http://www.wiredgamers.com/ but can`t.... is any spetial modifyin` was made for that or not?

Can someone install this for me lol

I don't want to screw things up..but I want it to look like the image attached on MC's post
Reply With Quote
  #147  
Old 04-18-2004, 02:34 AM
dustyb dustyb is offline
 
Join Date: Apr 2004
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Xenon, looks like a very popular hack! Quick question here from a new user... my setup has a dozen forums at the top level, in other words no Parent Forum/Category, just 12 forums. I'm looking for a very simple forums home display. I'll probably even take out the table head row and display just the 12 forum name/descriptions and last posts fields. But I'd like to do it in 2 columns, somethign like this:

************************** T A B L E **************************
Forum Decription - Last Post Info || Forum Description - Last Post Info
Forum Decription - Last Post Info || Forum Description - Last Post Info
Forum Decription - Last Post Info || Forum Description - Last Post Info
Forum Decription - Last Post Info || Forum Description - Last Post Info
Forum Decription - Last Post Info || Forum Description - Last Post Info
Forum Decription - Last Post Info || Forum Description - Last Post Info
************************** T A B L E **************************

Any suggestions? Have you seen a hack for this already?
Reply With Quote
  #148  
Old 04-18-2004, 12:22 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, the easiest way would be to create a Dummy categorie.

So one parent forum for all 12 forums. Then you just have to install my hack here, and then just edit some templates, so the dummy category won't show up anymore (so remove the info lines and such, and just leave the table generation for the subforums
Reply With Quote
  #149  
Old 04-19-2004, 05:29 PM
deaconxgp deaconxgp is offline
 
Join Date: Dec 2003
Location: Dallas
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so I guess I'm on my own then? No one wants to help me install?
Reply With Quote
  #150  
Old 04-21-2004, 11:37 PM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

absolutely beautiful.
still working out all of the images, and i'm hoping to get some help in the custom header thread (for sub-forums instead of just on forum home), but great hack.
thanks a lot xenon. much appreciated.
Reply With Quote
  #151  
Old 04-22-2004, 03:50 AM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

correct me if i'm wrong (not much of a php coder)... i pieced together some code from posts here, and was hoping it would workin forumdisplay, but it doesn't... any thoughts?

Code:
<if condition="$subforum['subforumcolumns'] > 1">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
$forumbits
</table>
<else />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<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>
$forumbits
</table>
</if>
basically, if more than one column, don't display the table row with the descriptions. any help would be appreciated. this is for subforums on forumdisplay.

thanks.
Reply With Quote
Reply


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 05:47 AM.


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.05458 seconds
  • Memory Usage 2,348KB
  • 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
  • (2)bbcode_code
  • (3)bbcode_php
  • (2)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
  • (2)pagenav_pagelinkrel
  • (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