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
  #162  
Old 04-23-2004, 06:57 PM
deaconxgp deaconxgp is offline
 
Join Date: Dec 2003
Location: Dallas
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fixed except for the part where there is no Forum and Post strip to identify the subforums so users can't see how many posts or who last posted
Reply With Quote
  #163  
Old 04-24-2004, 10:14 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
            $forum['threadcount'] = $counters["$forum[forumid]"]['threadcount'];
            
$forum['replycount'] = $counters["$forum[forumid]"]['replycount']; 
you see both wariables are defined, so you just have to add them to the template
same with lastpostinfo
Reply With Quote
  #164  
Old 04-24-2004, 01:16 PM
dndog dndog is offline
 
Join Date: Apr 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The forums display corrently on the homepage, but when I click on the category they are in they revert back to the original stacking. How can I apply this setting to categories viewed?

Thanks.
Reply With Quote
  #165  
Old 04-25-2004, 04:11 PM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm still struggling with getting rid of that table row in forumdisplay if anyone can help me.
(see my posts on the top of this page - #152-153)
thanks.
Reply With Quote
  #166  
Old 04-25-2004, 08:34 PM
deaconxgp deaconxgp is offline
 
Join Date: Dec 2003
Location: Dallas
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
 <tbody>
    <
tr>
        <
td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
            <
a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumidsrc="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
            <
a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
            <if 
condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
            <if 
condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
        </
td>
    </
tr>
</
tbody>
<if 
condition="$childforumbits">
<
tbody id="collapseobj_forumbit_$forumidstyle="{$collapseobj_forumid}">
<if 
condition="$forum['subforumcolumns'] > 1">
<
tr align="center"
      <
td colspan="2" class="thead" width="40%" align="$stylevar[left]">$vbphrase[forum]</td
          <
td class="thead">$vbphrase[posts]</td
          <
td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td
      <
td class="thead">$vbphrase[posts]</td
      </
tr

    <
tr>
        <
td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<
table style="border: none; width: 100%;">
            
$childforumbits
</table>
        </
td>
    </
tr>
<else />
<
tr align="center">
<
td class="thead" width="38">&nbsp;</td>
<
td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
<
td class="thead" width="240">$vbphrase[last_post]</td>
<
td class="thead" width="30">$vbphrase[threads]</td>
<
td class="thead" width="100">$vbphrase[posts]</td>
<if 
condition="$vboptions['showmoderatorcolumn']">
<
td class="thead" width="120">$vbphrase[moderator]</td>
</if>
</
tr>

    
$childforumbits
</if>
</
tbody>
</if> 
this is my level1 no post....the problem i'm having is that the threads and posts don't seem to line up correctly...the thread is like too long and the posts is too thin

I've attached a screen shot.

Reply With Quote
  #167  
Old 04-26-2004, 12:13 AM
deaconxgp deaconxgp is offline
 
Join Date: Dec 2003
Location: Dallas
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i can't seem to change the width of the threads, last post etc information under the columns forums without it affecting the categories for the forums without columns
Reply With Quote
  #168  
Old 04-26-2004, 02:52 AM
dndog dndog is offline
 
Join Date: Apr 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want this to appear not on the forum home, but when a user clicks on the category title. What template do I need to edit, and what changes should be made?
Reply With Quote
  #169  
Old 04-28-2004, 12:06 PM
deaconxgp deaconxgp is offline
 
Join Date: Dec 2003
Location: Dallas
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any help on getting the Post, Threads, Last Post to line up correctly??
Reply With Quote
  #170  
Old 05-02-2004, 05:08 PM
xQuEeNzNaZcHox xQuEeNzNaZcHox is offline
 
Join Date: May 2003
Location: New York
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
Database error in vBulletin 3.0.1:

Invalid SQL: UPDATE vbulletin_forum SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
	title = 'New York Mets',
	description = '',
	link = '',
	displayorder = '1',
	daysprune = '1',
	parentid = '-1',
	subforumcolumns = '2',
	newpostemail = '',
	newthreademail = '',
	styleid = '0',
	password = '',
	options = '86017',
	parentlist = '1,-1'
WHERE forumid=1
mysql error: Unknown column 'subforumcolumns' in 'field list'

mysql error number: 1054

Date: Sunday 02nd of May 2004 06:07:16 PM
Script: http://www.innerchambers.com/~nymfan...incp/forum.php
Referer: http://www.innerchambers.com/~nymfan...t&forumid=1&s=
Username: Noah
IP Address: **.***.***.***
I get that error. Why?
Reply With Quote
  #171  
Old 05-02-2004, 05:22 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
mysql error: Unknown column 'subforumcolumns' in 'field list'
that shows exactly, that you have no installed the hack correctly.

you have to run the queries in the instructions.
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 08:08 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.05287 seconds
  • Memory Usage 2,342KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_php
  • (1)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