vb.org Archive

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

yoyoyoyo 01-13-2005 04:04 PM

I was editing the index.php as per the instructions when I came across this:
Quote:

then add this new function to the file:
I am not very adept at original php/sql coding - exactly WHERE is a good place to stick the new function code in that file? does it matter?

sabret00the 01-13-2005 04:56 PM

Quote:

Originally Posted by Oblivion Knight
Had any luck Sabe?

Nothing is jumping out at me yet.. It's driving me insane!

nah i actually forgot about it till now, but i'll play with it over the weekend.

Xenon 01-13-2005 05:02 PM

Quote:

Originally Posted by yoyoyoyo
WHERE is a good place to stick the new function code in that file? does it matter?

well, normally just place it after the last function in the file, but before the closing ?>

it doesn't really matter where you add it, depends on your own preferences ;)

Cheertobi 01-15-2005 08:34 PM

Hi Xenon,

can you please check this, my indexpage seems to be ok, only category "Smalltalk" shows "( Betrachter)", even if there are no users browser the forum!

At forumdisplay there an no lastpostby information!

I do not have any idea, had tested a few things, but I did not get it ;( Any ideas?

Tobias

Xenon 01-17-2005 08:26 PM

i'd remove the (Betrachter) code at all from the template, as the variables aren't defined in the column's function!

Cheertobi 01-17-2005 08:36 PM

Hi,

Quote:

Originally Posted by Xenon
i'd remove the (Betrachter) code at all from the template, as the variables aren't defined in the column's function!

ok, thanks!

Are the lastpostby variables defined at forumdisplay.php, because I cannot them when I set colums to 2! See this link!

Thanks,

Tobias

Guy G 01-17-2005 08:48 PM

Can this arrangement only apply forum i choose? so certain forum would be in a column and others in their regular form?

Xenon 01-17-2005 09:20 PM

@Guy: it's based on a parent base, so if you set up a parent forum that subforums are in columns, ALL subforums will be in cols, you cannot say one subforum shouldn't be.

Xenon 01-17-2005 09:22 PM

@Tobias: oops, you're right, i forgot something.

redownload the file, and overwrite the cunstruct_subforum... bit function, there were three lines (one if condition missing)

Oblivion Knight 01-17-2005 09:26 PM

Quote:

Originally Posted by Xenon
@Tobias: oops, you're right, i forgot something.

redownload the file, and overwrite the cunstruct_subforum... bit function, there were three lines (one if condition missing)

Should the new file fix the problems I had here, or is this a separate issue? :nervous:


All times are GMT. The time now is 04:32 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.01581 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)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