Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x 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.00, by Xenon Xenon is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-25-2002 Last Update: Never Installs: 62
 
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 now.

You have to set up a new category(s). All direct subforums to this category(s) will be arranged in columns.
It can be very usefull if you have very much Subforums, so you haven't to scroll as much as you have before

Newest Version: 1.21
Known Bugs: none

Screenshots below.

Design can be changed in templates..

Show Your Support

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

Comments
  #122  
Old 10-30-2002, 05:21 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lol im a nuiscance i know but i still am desperate to get my forum columns looking like here at:

http://www.wildvibes.net/forum

Regards

- miSt
Reply With Quote
  #123  
Old 10-30-2002, 07:38 PM
Mr_P Mr_P is offline
 
Join Date: Jan 2002
Location: Uk.
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i suzzed my prob out i added instead of replacing inside index.php so was down to User Error (cause of to many probs on vbull i bet


In index.php (root) find this :


PHP Code:
find:
eval(
"\$forumbits .= \"".gettemplate("forumhome_forumbit_level$depth$tempext")."\";");

if (
$depth<$forumhomedepth) {
$forumbits. =makeforumbit($forum['forumid'],$depth+1,$forumper
ms
);

Now REPLACE this in index.php to this

PHP Code:
if(strstr(" ".$columnparent." "" ".$forum['parentid']." ")) {
if(
$colsdone!=1) {
$colsdone=1;
$colcounter=1;
eval(
"\$forumbits .= \"".gettemplate("colforumtableheader")."\";");
} else {
$colcounter++;
if(
$colcounter%($forumcols+1)==0) {
$forumbits .= "</tr><tr>";
$colcounter=1;
}
}
$width="width=".(100/$forumcols)."%"//take out if you want variable column widths
eval("\$forumbits .= \"".gettemplate("colforumbit")."\";");


} else {
if(
$colsdone==1) {
$colsdone=0;
$colcounter=0;
eval(
"\$forumbits .= \"".gettemplate("colforumtablefooter")."\";");
}

// eval("\$forumbits .= \"".gettemplate("forumhome_forumbit_level$depth$tempext")."\";");
if(strstr(" ".$columnparent." "" ".$forum['forumid']." ")) {
eval(
"\$forumbits .= \"".gettemplate("forumhome_colbit_level$depth$tempext")."\";");
} else {
eval(
"\$forumbits .= \"".gettemplate("forumhome_forumbit_level$depth$tempext")."\";");
}

}

if (
$depth<$forumhomedepth) {
// $forumbits. =makeforumbit($forum['forumid'],$depth+1,$forumper
ms);
}


if (
$depth<$forumhomedepth) {
$forumbits. =makeforumbit($forum['forumid'],$depth+1,$forumper
ms
);
}
// END if can view
// END while ( list($key2,$forum)=each($val1) ) {
// END while ( list($key1,$val1)=each($iforumcache["$forumid"]) ) { 
and now it works fine the bars have totally disappeared for me.

So if it dont work just go over tha hack again.If you installed the one that adds a GFX to the section recheck this as well.
Reply With Quote
  #124  
Old 10-30-2002, 07:42 PM
Mr_P Mr_P is offline
 
Join Date: Jan 2002
Location: Uk.
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i have re-add the install file for this hack as i have made a few template changes and it works Deffo.

just go over it and see whats different and tell me if it works for u.
Reply With Quote
  #125  
Old 10-31-2002, 12:36 AM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent work guys.
thank you very much. works like a charm, and allows me a lot of freedom with the templates to modify as i need to.

thanks!
Reply With Quote
  #126  
Old 10-31-2002, 04:41 AM
Mr_P Mr_P is offline
 
Join Date: Jan 2002
Location: Uk.
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Buddha
excellent work guys.
thank you very much. works like a charm, and allows me a lot of freedom with the templates to modify as i need to.

thanks!
Nps

Consider yourself lucky first time one of my fixes has work
Reply With Quote
  #127  
Old 10-31-2002, 10:05 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx, have to take a closer look at it.
Reply With Quote
  #128  
Old 11-01-2002, 07:27 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Xenon: Is there a quick fix for this:

I have this template mod installed: http://www.vbulletintemplates.com/mo...ghlight=header

It is the famous "add header cells under categories".

Now because of this it shows under the category for forums arranged in columns! I want to remove it from JUST that category, ie. all categories arranged in columns.

For Mr_P's code, do I just uninstall your hack [in index.php] and apply what he has done? And all is ok? Or do I actually need to create the extra templates he calls in his code?
Reply With Quote
  #129  
Old 11-01-2002, 07:33 PM
Mr_P Mr_P is offline
 
Join Date: Jan 2002
Location: Uk.
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm i dont call in no extra templates m8,all the orginal coding is done by Xenon

all i did was edit some of them to suit me and get the effect i wanted.

You dont need to uninstall the hack

just look at instructions in the zip file its the same as Xenons but i have already added the extra bits needed so check them against the code you have and add as needed.

Only takes a few mins to do the full hack anyway.

Quote:
For Mr_P's code, do I just uninstall your hack [in index.php] and apply what he has done? And all is ok? Or do I actually need to create the extra templates he calls in his code?
Change the code in index.php

and then in the txt file u notice the templates you have to make have a bit differetn code in them.Just cut and paste over the template you already have.
Reply With Quote
  #130  
Old 11-01-2002, 08:02 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't cut and paste them because you have hardcoded colours, use a tbody tag, and have hardcoded widths
Reply With Quote
  #131  
Old 11-01-2002, 10:20 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump.
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 12:01 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.05213 seconds
  • Memory Usage 2,324KB
  • 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_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