vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Forums arranged in columns on forumhome (https://vborg.vbsupport.ru/showthread.php?t=41529)

Xenon 12-02-2003 05:53 PM

Yes you can change the number of columsn, it'S an acp option

Hmm, theoretically it's possible to integrate the hack into forumdisplay.php (sub sub forums) as well, but i haven't tested it, and can't test it anymore :)

fengshui-123 12-06-2003 09:34 AM

I did the mod on 2.3.3, it gave me blank page after that. Not compatible with 2.3.3?

assassingod 12-06-2003 10:16 AM

Quote:

Originally Posted by fengshui-123
I did the mod on 2.3.3, it gave me blank page after that. Not compatible with 2.3.3?

It should work on 2.3.3
Are you sure you installed it correctly?

fengshui-123 12-06-2003 11:49 AM

Thanks. I will try again.

MaDCaT75 12-11-2003 11:52 PM

I'm having a problem here. I want the word "forum" to be lined up with my two colums of 3 forums but I dont know how to do that. Also I am trying to get the post count column in there too. Can anyone help?

MaDCaT75 12-12-2003 08:24 AM

Quote:

Originally Posted by Blindchild02
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.

Has anyone gotten this yet?????

MaDCaT75 12-13-2003 07:57 AM

Quote:

Originally Posted by MaDCaT75
Has anyone gotten this yet?????

anyone at all?

stan68 12-16-2003 02:31 AM

it's saying i have a parse error on line 399

this is what is there.
PHP Code:

if(strstr(" ".$columnparent." "" ".$forum['forumid']." ")) { 


Xenon 12-16-2003 10:47 PM

this line is correct, it may be in the nearer environment of this line..

stan68 12-17-2003 02:51 AM

Ok tried it again
this time got a parse error on line 410
so i copyed a bit over and under the hack itself.

btw im running 2.3.2


PHP Code:

if ( !isset($forum['moderators']) ) {
          
$forum['moderators'] = ' ';
        }

        if (
$forum['cancontainthreads']==1) {
          
$tempext '_post';
        } else {
          
$tempext '_nopost';
        }

            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")."\";");
          }


          
        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) {
     
        }


        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"]) ) { 
      
// END if can view
    
// END while ( list($key2,$forum)=each($val1) ) {
  
// END while ( list($key1,$val1)=each($iforumcache["$forumid"]) ) { 


this copied section is about where line 410 is in my index.php.

PHP Code:

}

        }

        if (
$depth<$forumhomedepth) {
     
        }


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



All times are GMT. The time now is 01:08 PM.

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.01294 seconds
  • Memory Usage 1,765KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete