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)
-   -   Arrange Sub-Forums in columns (https://vborg.vbsupport.ru/showthread.php?t=63498)

Alex Norton 04-11-2005 03:03 AM

I agree with the other members who state how great this hack is! It's much better than the standard version.

7mSeni 04-11-2005 07:53 AM

does it works with vBulletin 3.0.7 ?

Alex Norton 04-11-2005 04:55 PM

Yes it does.

Samira 04-15-2005 07:10 AM

Just wanted to post this ...

In Mozilla it will put a weird space under the word between the underline for links to sub-forums.

Changing the template code from:
Code:

<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><span class="smallfont">$forum[title]</span></a>
to:
Code:

<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" /> <span class="smallfont"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</span></a>
Will fix that. :) Just a matter of moving the <span> tag.
*clicks install*

htscpl 04-25-2005 10:48 AM

Very nice ** clicks install ** Thanks!

b65ran 06-05-2005 06:06 PM

Thanks for this hack. This is what I was looikg for. Can anybody tell how to add space between sub-forums. Please look at the attachment.

axi 06-05-2005 07:43 PM

i installed it and not working. i changed the 0 to 1 in vb options and did the template and file changes.

my forums are still looking same / standard.

what could be wrong?

tamarian 06-05-2005 08:00 PM

Quote:

Originally Posted by b65ran
Thanks for this hack. This is what I was looikg for. Can anybody tell how to add space between sub-forums. Please look at the attachment.

In this line:
Quote:

$output .= "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\" ><tr valign=\"top\"> ";
You can change the zero in cellspacing and/or cellpadding until it's spcaed enough for your style.

tamarian 06-05-2005 08:02 PM

Quote:

Originally Posted by axi
i installed it and not working. i changed the 0 to 1 in vb options and did the template and file changes.

my forums are still looking same / standard.

what could be wrong?

Not sure. Double check your steps.

yellowchaser 06-05-2005 09:42 PM

Beautiful ! Thanks for this great hack. **Clicks Install**

axi 06-06-2005 03:47 AM

Quote:

Originally Posted by tamarian
Not sure. Double check your steps.

i even quadtripple checked them.

everything is right.

b65ran 06-06-2005 10:50 AM

Quote:

Originally Posted by tamarian
In this line:


You can change the zero in cellspacing and/or cellpadding until it's spcaed enough for your style.


Thank you tamarin.

tamarian 06-06-2005 11:21 AM

Quote:

Originally Posted by axi
i even quadtripple checked them.

everything is right.

What's your forum url?

axi 06-06-2005 02:47 PM

<a href="http://www.beastclub.com.au/forums/" target="_blank">http://www.beastclub.com.au/forums/</a>

tamarian 06-06-2005 03:25 PM

Quote:

Originally Posted by axi

You forum does not contain any sub-forums. So the hack is working, but it has no sub-dorums to arrange :)

You have categories, and forums under those categories. So for category "Garage", it contains a forum called "Mechanical". If the "mechanical" forum had sub-forums, sich as "old motors" and "new motors", those two would become sub-forums.

axi 06-06-2005 04:51 PM

isnt this hack to view the whole system like yours?
because each forum has smaller subforums inside?

dsboyce8624 06-06-2005 04:54 PM

I have the same thing, is there a way to change the categories to forums, but not allow posting to them. I'd really like to use this, but I don't want threads in the top level.

Dennis

tamarian 06-06-2005 04:59 PM

Quote:

Originally Posted by axi
isnt this hack to view the whole system like yours?
because each forum has smaller subforums inside?

Yes, if you have sub-forums, they will look like mine. But your forum has no sub-forums.

For a quick test, create two new test forums, and choos the "Errors & Problems" as a parent, in the parent field. Then look at the main page, you will have the 2 new test forums listed like my sub-forums.

There is another hack, to arrange forums (not sub-forums) in a similar way. Check it out:

https://vborg.vbsupport.ru/showthread.php?t=59958

tamarian 06-06-2005 05:00 PM

Quote:

Originally Posted by dsboyce8624
I have the same thing, is there a way to change the categories to forums, but not allow posting to them.

Check Xenon's hack:

https://vborg.vbsupport.ru/showthread.php?t=59958

dsboyce8624 06-06-2005 05:02 PM

Quote:

Originally Posted by tamarian

Well, I changed one of the cats to a forum just for fun, attached is what happens.

I just checked the "Act as Forum" button. Could this be because of my custom skin?

dsboyce8624 06-06-2005 05:08 PM

Quote:

Originally Posted by tamarian

This will give me:

Cat Header

:laugh: Subforum :laugh: Subforum
:laugh: Subforum :laugh: Subforum
:laugh: Subforum :laugh: Subforum

With space between of course? His picture isn't very easy to look at.

tamarian 06-06-2005 05:18 PM

dsboyce, you might want to create some shell-forums under the existing categories, then put the actual forums of that category as children of that new shell forum.

Before:
-- Category name
---- Forum 1
---- Forum 2

After:
--- Category name
------ Shell forum
--------- Forum 1
--------- Forum 2

dsboyce8624 06-06-2005 05:27 PM

Quote:

Originally Posted by tamarian
dsboyce, you might want to create some shell-forums under the existing categories, then put the actual forums of that category as children of that new shell forum.

Before:
-- Category name
---- Forum 1
---- Forum 2

After:
--- Category name
------ Shell forum
--------- Forum 1
--------- Forum 2

Good idea, I'll give it a try.

Thanks for being so responsive.

EDIT:That worked, now I just have to figure out how to name them, since it'll be:

cat
--Shell
----Forum
----Forum

And the Cats are already named.

Any ideas on how to handle this?

axi 06-06-2005 05:36 PM

i dont get it
so how do i do subforums?
i thought they are already sub forums under each main forum title?

dsboyce8624 06-06-2005 05:42 PM

Okay I created a non-posting forum under the first two cats and called it categories, didn't know you could have multiple forums with the same name.

So here's what I did to resolve categories instead of parent forums:

Under each top category I created a new forum with posting turned off, then moved the child forums under it.

Like so:

Existing Category (Top Level with act as forum off)
--New Forum (With posting off, but act as forum on)
----Moved Exiting Child Forums

Hope this helps if others have the same problem.

Dennis

axi 06-06-2005 06:02 PM

so do i have to make the each main forum before the subforums, a subforum?

dsboyce8624 06-06-2005 06:07 PM

Quote:

Originally Posted by axi
so do i have to make the each main forum before the subforums, a subforum?

If your top level are Categories (Act as Forum is off) then you need to add a new Forum under that (I recommend turning off posting) and move the subs under the one you just created. Look at my site to see what I did.

Some are still the old way because I'm working on it now.

axi 06-06-2005 06:12 PM

i see what you done but i dont get it still?

where do i move the subs into? they are already under the categories that act as no forum. do i have to set them to act as no forum too?

im so confused

dsboyce8624 06-06-2005 06:17 PM

Quote:

Originally Posted by axi
i see what you done but i dont get it still?

where do i move the subs into? they are already under the categories that act as no forum. do i have to set them to act as no forum too?

im so confused

You can try to change them to act as forums and make them closed. I tried that but it messed things up. I added a NEW forum under each of the ones that were acct as forum=NO and put the child forums in it.

Kind of adding a top forum, since you don't have a top one, you have a category.

axi 06-06-2005 06:18 PM

so i have to re-add all the sub forums from scratch?

dsboyce8624 06-06-2005 06:36 PM

Quote:

Originally Posted by axi
so i have to re-add all the sub forums from scratch?

No, on the config for each forum, you move it under the new top forum you made.

axi 06-06-2005 06:38 PM

so i have to make a new category, and then just move them sub forums back into it. and delete the old categories?? is that right?

dsboyce8624 06-06-2005 06:48 PM

Quote:

Originally Posted by axi
so i have to make a new category, and then just move them sub forums back into it. and delete the old categories?? is that right?

Nope. Make a new FORUM under the caegories you have (I called mine "Categories") then move the sub forums under it.

Like this:

Existing Category
--New Forum <---you added this
----Existing Child Forums <---and moved these under it

tamarian 06-06-2005 06:51 PM

Yes, just what Dennis said. That should do it.

axi 06-06-2005 06:54 PM

a yeh, kind of get ya. il try that. thanks.

dsboyce8624 06-06-2005 06:56 PM

Quote:

Originally Posted by tamarian
Yes, just what Dennis said. That should do it.

It actually worked out pretty good. I wonder why converting the existing categories to forums broke it though?

tamarian 06-06-2005 07:00 PM

Quote:

Originally Posted by dsboyce8624
It actually worked out pretty good. I wonder why converting the existing categories to forums broke it though?

Because the main category was lost, so it was category-less :)

If you created a new catgory, then made the old catgory to be it's child, then made that old category to a forum, it would have worked. It wasn't really broken though, it just doesn't look as good as under a category.

dsboyce8624 06-06-2005 07:02 PM

Quote:

Originally Posted by tamarian
Because the main category was lost, so it was category-less :)

If you created a new catgory, then made the old catgory to be it's child, then made that old category to a forum, it would have worked. It wasn't really broken though, it just doesn't look as good as under a category.

So if I did that--^ then dumped the top category, would that work?

tamarian 06-06-2005 07:11 PM

Quote:

Originally Posted by dsboyce8624
So if I did that--^ then dumped the top category, would that work?

No, it will "work", but I'm sure you won't like the look. :)

vktechnology 06-06-2005 07:22 PM

Is it possible to make couter to count sub forums..it will look like directory style

something like

Computer (5)- Software (2) - Hardware (1)
- services(4) - Products (8)


All times are GMT. The time now is 05:49 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.01458 seconds
  • Memory Usage 1,827KB
  • 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
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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