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
  #192  
Old 07-05-2003, 10:08 PM
croft croft is offline
 
Join Date: Aug 2002
Location: Sweden
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah this is messing up my 2.3.0 to =(

Im having a bit of problem with the index.php myself here =(

Im looking for this code
PHP Code:
global $DB_site,$bbuserinfo,$iforumcache,$ipermcache,$imodcache,$session,$accesscache,$usergroupdef,$noperms;
global 
$showlocks,$hideprivateforums,$showforumdescription,$forumhomedepth,$dateformat,$timeformat,$enableaccess;
global 
$bbforumview
But i cant find the
PHP Code:
global $bbforumview
Where is that or how do i fix this ?
Reply With Quote
  #193  
Old 07-20-2003, 03:37 AM
joeboo's Avatar
joeboo joeboo is offline
 
Join Date: Jun 2002
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just put whatever u need to add after
PHP Code:
global  $DB_site,$bbuserinfo,$iforumcache,$ipermcache,$imodcache,$session,$accesscache,$
usergroupdef,$noperms
global  
$showlocks,$hideprivateforums,$showforumdescription,$forumhomedepth,$dateformat,
$timeformat,$enableaccess
It worked for me.
Reply With Quote
  #194  
Old 08-16-2003, 06:32 AM
Hypey Hypey is offline
 
Join Date: Oct 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using a 2.3.2.. When I load the main forum page, well, nothing loads LOL its completly blank o_O I think it must be the Index.php.. Anyone had a similar problem?
Reply With Quote
  #195  
Old 08-23-2003, 06:18 PM
dniMTheory dniMTheory is offline
 
Join Date: Apr 2003
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this to wrk in 2.30. It should work in 2.32 also I would think.

I used a combo of Mr. P's version and Xenon's version

For colforumtableheader i modified my "forumhome_forumbit_level1_nopost" template a little and pasted it. It works fine with my style(ekko) but I couldnt use the variables, I had to hard code the forum title and link.
Reply With Quote
  #196  
Old 09-14-2003, 01:41 AM
kid_ttvn kid_ttvn is offline
 
Join Date: May 2003
Location: VIETNAM
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

soory!

File index.php of me: no have this code:
global $bbforumview;

only have:
global $DB_site,$bbuserinfo,$iforumcache,$ipermcache,$imo dcache,$session,$accesscache,$ usergroupdef,$noperms;
global $showlocks,$hideprivateforums,$showforumdescriptio n,$forumhomedepth,$dateformat, $timeformat,$enableaccess;

Help me
Reply With Quote
  #197  
Old 09-14-2003, 02:30 AM
Blindchild02's Avatar
Blindchild02 Blindchild02 is offline
 
Join Date: Apr 2002
Location: USA
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did anyone ever get the modifications so you can add your own images like wiredgamers??

also.. how do u add lines between each one

heres mine www.xamira.net - look at showcase.
Reply With Quote
  #198  
Old 09-14-2003, 03:04 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to have this working on forumdisplay as well as index?

I also have the category sponsors hack installed, and here's that section of code from my index.php:

PHP Code:
if ($forum['sponsorimg'] && $forum['cancontainthreads']==&& $depth==1) {
         eval(
"\$forumbits .= \"".gettemplate("forumhome_forumbit_level1_nopost_sponsor")."\";");
        } else {
//         eval("\$forumbits .= \"".gettemplate("forumhome_forumbit_level$depth$tempext")."\";");
        
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 (
$depth<$forumhomedepth) {
         
$forumbits.=makeforumbit($forum['forumid'],$depth+1,$forumperms);
        }
     } 
// END if can view
    
// END while ( list($key2,$forum)=each($val1) ) {
// END while ( list($key1,$val1)=each($iforumcache["$forumid"]) ) { 
Is that right?
Reply With Quote
  #199  
Old 09-14-2003, 02:59 PM
Hogwarts
Guest
 
Posts: n/a
Default

Thanks for the hack!
Reply With Quote
  #200  
Old 09-14-2003, 03:01 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hogwarts
hmm it want's me to find this:

Code:
$templatesused='forumhome_birthdaybit,error_nopermission,forumhome_pmloggedin,forumhome_welcometext,forumhome_logoutcode,forumhome_newposts,forumhome_todayposts,forumhome_logincode,forumhome_loggedinuser,forumhome_loggedinusers,forumhome_lastpostby,forumhome_moderator,forumhome_forumbit_level1_nopost,forumhome_forumbit_level1_post,forumhome_forumbit_level2_nopost,forumhome_forumbit_level2_post,forumhome,forumhome_unregmessage';
and it wants me to find it in index.php I am running vB2.3.2 and I see nothing like this at all, anyone have an idea?
It's there. Search harder by using bits of that code.

Alternativly, its on line 4
Reply With Quote
  #201  
Old 09-14-2003, 03:02 PM
Hogwarts
Guest
 
Posts: n/a
Default

yeah I noticed, ... I was looking at my phpnuke index, im an idiot!

- Hogwarts
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:37 AM.


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.11690 seconds
  • Memory Usage 2,329KB
  • 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
  • (4)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
  • (9)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