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)

croft 07-05-2003 10:08 PM

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 ?

joeboo 07-20-2003 03:37 AM

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.

Hypey 08-16-2003 06:32 AM

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?

dniMTheory 08-23-2003 06:18 PM

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.

kid_ttvn 09-14-2003 01:41 AM

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

Blindchild02 09-14-2003 02:30 AM

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.

X-Fan 09-14-2003 03:04 AM

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?

Hogwarts 09-14-2003 02:59 PM

Thanks for the hack!

assassingod 09-14-2003 03:01 PM

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 :p

Hogwarts 09-14-2003 03:02 PM

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

- Hogwarts


All times are GMT. The time now is 11:57 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.01930 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
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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