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)

Indy 01-22-2004 11:00 PM

When I was pasting the code changes in, I duplicated the following code by not pasting on the correct line. :nervous:

Removed the dup code and I can now collapse/expand catagories.

Thanks!

Code:

<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">


Indy 01-22-2004 11:18 PM

To give the columnized catagory a similar look as my regular catagories, I added one small bit of code to the level1_nopost template.

Code:

<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">

<if condition="$forum['subforumcolumns'] > 1">
<tr>
    <td class="thead" width="100%">By Manufacturer</td>
</tr>


Xenon 01-23-2004 01:44 PM

nice additions :)

surfhog 01-23-2004 02:17 PM

forgive me for asking :o has the image addition part been written yet?

as i said in a previous post, i do like this modification ;) and i am waiting for the image part LOL

NTLDR 01-23-2004 02:35 PM

The image is just a template conditional:

HTML Code:

<if condition="$forum['forumid'] == X"><img src="x" alt ="zx" /></if>

Blackbeard 01-23-2004 03:33 PM

Are we going to get the image addon for this one?

Xenon 01-23-2004 10:48 PM

as it's just a template edit as NTLDR posted, the answer is no :)

M.C. 01-24-2004 11:03 PM

if you don`t mind to change first post attachements for us, couse after installation got a lot of trouble and need to go check topic to fix it...

Thanks!

Xenon 01-25-2004 12:22 AM

erm, no i won't change the hack instructions, as the hack is working, if you apply any of the additional things within this threads, you have to do that on your own risk, as it's not part of my hack and therefore not beeing added to the instructions

M.C. 01-25-2004 01:50 AM

ok, got it now... sorry! ;)

Xenon 01-25-2004 07:50 PM

:)

good to hear :)

MaDCaT75 01-27-2004 03:33 AM

Hi I have a small problem here. I put in the replycount column here as you can see but its broken up and doesnt fill the entire length (vertical) of the forum section. What did I do wrong? What can I do to fix it? :confused:

Attatched is my code for my column addon and a screenshot.

MindTrix 01-27-2004 05:09 PM

Im guessing its because you need to set up an additional table. Just my guess.

MaDCaT75 01-27-2004 08:06 PM

I tried putting <table> tags in the template but it screws it up :confused:

MaDCaT75 01-29-2004 10:25 PM

What happened to the support in this thread :confused:

Xenon 01-31-2004 12:12 AM

Support does not mean to do stylechanges for you if you cannot do them yourself.
Support means resolving problems the modification produces itself.

LordJMann 02-01-2004 03:01 AM

Does this work for vBulletin RC3?

assassingod 02-01-2004 02:47 PM

Quote:

Originally Posted by LordJMann
Does this work for vBulletin RC3?

Yes.

LordJMann 02-01-2004 08:40 PM

Quote:

Originally Posted by assassingod
Yes.

I found some problems though in the code which don't allow you to have the forum description when displaying the information. Not sure if that was on purpose or not if anybody needs the correction I'll gladly give it to them.

Blackbeard 02-04-2004 09:55 AM

Quote:

Originally Posted by NTLDR
The image is just a template conditional:

HTML Code:

<if condition="$forum['forumid'] == X"><img src="x" alt ="zx" /></if>

where do i put this code???

and when we had it for version 2 each forum was in a box, look tidy haw do i do this???

Mr. Brian 02-10-2004 02:32 PM

An error occurred while attempting to execute my query. The following information was returned.
error number: 1146

error desc: Table 'abc.forum' doesn't exist

That's werid! No mater how I tried still getting the same result..

No ideal what's the main causes of it..any bro here ever encountered such problem before?

Any help will be GREATLY APPRECIATED.

Many thanks in advance.

Xenon 02-10-2004 04:30 PM

do you use a table prefix?

if yes you have to manually change the query
[sql]ALTER TABLE forum ADD subforumcolumns TINYINT(3) UNSIGNED DEFAULT '1' NOT NULL ;[/sql]

into
[sql]ALTER TABLE yourprefixhereforum ADD subforumcolumns TINYINT(3) UNSIGNED DEFAULT '1' NOT NULL ;[/sql]

if you don't have a tableprefix set up, you have a serious problem on your board..

Mr. Brian 02-10-2004 06:53 PM

Is it possible to check whether there's any tableprefix'ed on my forum...?

Xenon 02-10-2004 06:57 PM

it's set up in your config.php

Mr. Brian 02-10-2004 07:12 PM

Looks something like this:- ?

Quote:

// Prefix that your vBulletin tables have in the database.
// For example: $tableprefix = '';
$tableprefix = 'mydatabasename';

// Prefix that all vBulletin cookies will have
// For example
$cookieprefix = 'bb';
am I right?

thanks

Xenon 02-10-2004 07:15 PM

exactly.

so you ahve to add this prefix before the 'forum' within that query

Mr. Brian 02-10-2004 07:43 PM

alright. thanks a lot bro..

I'm gonna install it right now!

Alien 02-10-2004 08:11 PM

Does the image add-on control custom on/off images per forum, or just add just an image for the forums there for eye candy? I definatly want to incorporate this into our new design but with custom on/off images for a particular category.

Thanks for any clarity you can provide. :D Nice job, btw!

Xenon 02-10-2004 09:49 PM

you can change that:
HTML Code:

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

<img src="$stylevar[imgdir_statusicon]/forum_$forum[forumid]_$forum[statusicon].gif" alt="" border="0" />
and then create on of status icons within the statusicon folder containing the forumid :)

Alien 02-11-2004 02:20 AM

* Alien moans softly.

Thank you SO much. :D

Xenon 02-11-2004 01:35 PM

:)

you're welcome :)

M.C. 02-15-2004 09:39 PM

trying to make same like on http://www.wiredgamers.com/ but can`t.... is any spetial modifyin` was made for that or not?

MindTrix 02-15-2004 09:49 PM

If you want the images there then it was an add on released by assassingod

Xenon 02-15-2004 10:49 PM

just the vb2 version was by Steve Mindtrix, for vb3 the way has been posted here :)

M.C. 02-15-2004 11:16 PM

no, sorry, but i was mean other... i did red underline on screenshot what i want to chane....

i have no problems with add images, my problem is that i can`t make row with only "Forum|Posts" for columnized category instead of "Forum|Last Post|Topics|Posts" wich is for usual tables.... other is perfect...

MindTrix 02-15-2004 11:19 PM

<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=59808" target="_blank">https://vborg.vbsupport.ru/showt...threadid=59808</a>

Theres the vB2 version of what i believe you want. You might be able to convert it over for this one, shouldnt be to hard

M.C. 02-15-2004 11:34 PM

ok, i`ll try it! thanks! ;)

Mr. Brian 02-16-2004 06:50 PM

Quote:

Originally Posted by Matthew Lam
alright. thanks a lot bro..

I'm gonna install it right now!

That's werid.. However how har I try but I just fail to run any query... no ideal what I missed out

any clue?

Xenon 02-16-2004 08:30 PM

Quote:

Originally Posted by Matthew Lam
That's werid.. However how har I try but I just fail to run any query... no ideal what I missed out

any clue?

well, i cannot help if you are not able to run a query.
that's a beyond my hack problem.

you may read this, which may help ya:
[sql]-[/sql]

The Watcher 02-17-2004 01:32 PM

Great hack great support - installed first time and with conditionals is easy to make it look just as you want. All hacks should be like this one. GREAT !!!


All times are GMT. The time now is 04:20 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.01766 seconds
  • Memory Usage 1,794KB
  • 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_code_printable
  • (4)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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