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)

ambrosious 09-07-2004 01:41 AM

Rename your gif, or copy and name them forum_8 and forum_9. That worked for me, plus, not repeating the code twice. LOL.

dune 09-14-2004 04:03 AM

I can't find any reference with working code for this to work on forumdisplay. The pieces of code listed across this thread don't seem to be complete. Can someone who has it working put it all in one post please?

D@rkness 09-19-2004 08:59 PM

First let me say great mod, seen it on few boards and looks real nice when installed. Now let me say boy am I confused, after 17 pages of reading I still haven?t got a firm clue on how to install this hack with the image add-on.

I understand Xenon instructions real clear, but the other bits of code that are here and there in the different post are the problem.

So if some kind sole who has implemented this with the image add-on could shed some light on what needs to be done after Xenon?s installation that would be great.

New at modding and we all have to start somewhere, right? :)

Xenon 09-20-2004 12:21 PM

ok, let me descibe the quick and dirty way, hope it helps.

in the template forumhome_forumbit_columncell you'll find this:

HTML Code:

<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
replace it with:
HTML Code:

<if condition="$forum['forumid'] == x"><img src="path to image for forum x" alt="" border="0" /><else /><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></if>
that code will replace the statusicon for forum with forumid x.
you can do that recursively for all other forums as well

as said, quick but dirty :)

eblivion 09-22-2004 09:18 PM

----- Question 1 ---------------
How do I get the "Sub-Forums:..." to show below the descriptions. I tried using:

<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>

as was used in the forumhome_forumbit_level1_post template, but it doesn't work. Nothing appears where the subforums should be.

----- Question 2 ---------------
How can I get the same affect on the forumdisplay.php page for the subforums listed at the top? I've tried just about every variable I could think of an I can't figure out where to find the different variables used in $forumbits that generates they layout for the subforums on that page.

D@rkness 09-22-2004 11:11 PM

Ty for the reply, I managed to get it installed.

See attached.

Thanks again for a great mod.

jesse 09-24-2004 02:11 PM

i get this error
Fatal error: Call to undefined function: construct_forum_columns() in /home/causeyjr/public_html/forum/includes/functions_forumlist.php on line 272

I upload the default functions_forumlist and it seems to get rid of the error any help?

aranthorn 09-24-2004 05:41 PM

looks like when you modified the functions_forumlist, you missed a semicolon. This is a very typical error when doing mods, just try re-editing and being very careful to put all text exactly where instructed. I've done this to myself a few times :D

D@rkness 09-24-2004 10:53 PM

When you are changing yout forumlist.php, make sure you are adding the new function to the end of the file and not after the first change.

The install.txt indicates "then add this new function to the file:", copy the new function then add it to the end of your forumlist.php and you should be good.

jesse 09-26-2004 01:36 PM

Quote:

Originally Posted by D@rkness
When you are changing yout forumlist.php, make sure you are adding the new function to the end of the file and not after the first change.

The install.txt indicates "then add this new function to the file:", copy the new function then add it to the end of your forumlist.php and you should be good.


that seem to work mabe end of page would have been better understood thanks but now
all forums are collasped


All times are GMT. The time now is 02:12 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.01606 seconds
  • Memory Usage 1,742KB
  • 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
  • (2)bbcode_html_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