The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I just made a normal forum and using it as a main forum for a few sub forums. Bit like a category but on the main page it looks like a forum (and is already in a category).
But when you go into the forum not only do you see the sub forums but this huge box saying "There are no new threads". How do i get rid of the box that holds all the threads because there will be no threads in this, it's just a container for a few subforums. Thanks |
#2
|
||||
|
||||
![]()
To create a category, your settings for the category Forum must be:-
Posting Options:- Act as Forum: No Forum is Active: Yes Forum is Open: No Index New Posts in Search Engine: Yes Hope this helps. If not, create your sub-forums as well and post a screenshot of your problem. |
#3
|
|||
|
|||
![]()
That would make my forum a category.. which would mean a category in a category, which just looks a mess.
I need it looking like a forum but not displaying the box... here is some images: http://img223.imageshack.us/img223/9...bforumssn9.jpg - Thats the forum inside the category which when i click into it i just want to display the sub forums... http://img228.imageshack.us/img228/6...forums2og7.jpg - Thats inside the forum and i've put a big pink square around what i want to disappear. I tried making it a category as you mentioned above but that just makes things look really messy because of the styling difference for categories and forums. |
#4
|
||||
|
||||
![]() Quote:
You should have posted screenshots earlier.. they make understanding easier. anyways.. to get rid of that, you'll have to make that forum a category as I told earlier. It would ofcourse look messy, that is why it is suggested to keep it there. It even contains the Forum Tools menu. However, if you still want to get rid of that.. you'll have to edit a bit of code in the FORUMDISPLAY template with a conditional that checks for the forum ID which is a category. Find this in FORUMDISPLAY:- Code:
<!-- show no threads message --> <tbody> <tr> <td class="alt1" colspan="$foruminfo[bottomcolspan]" align="center"> <div style="padding: 16px"> <if condition="$show['noposts']"><strong>$vbphrase[no_posts_in_this_forum]</strong><else /><strong><phrase 1="$daysprune">$vbphrase[no_posts_last_x_days_forum]</phrase></strong><br /> <span class="smallfont">$vbphrase[try_controls_below_for_older_posts]</span></if> </div> </td> </tr> </tbody> <!-- end show no threads message --> Code:
<if condition="$forum[forumid] != X"> <!-- show no threads message --> <tbody> <tr> <td class="alt1" colspan="$foruminfo[bottomcolspan]" align="center"> <div style="padding: 16px"> <if condition="$show['noposts']"><strong>$vbphrase[no_posts_in_this_forum]</strong><else /><strong><phrase 1="$daysprune">$vbphrase[no_posts_last_x_days_forum]</phrase></strong><br /> <span class="smallfont">$vbphrase[try_controls_below_for_older_posts]</span></if> </div> </td> </tr> </tbody> <!-- end show no threads message --> </if> Use this for multiple forums:- Code:
<if condition="in_array($forum['forumid'], array(1,2,3,6))"> |
#5
|
|||
|
|||
![]()
Sorry about the mix up, thanks i understand the general idea now but it seems the forum id part of it isn't working, it isn't hiding it in the forum.. i put the right ID in, double checked. I tried with other ID's too because my forum has no posts i could test with other forums i've recently made but it didn't work in those either.
|
#6
|
||||
|
||||
![]() Quote:
|
#7
|
|||
|
|||
![]()
I don't know, i haven't got it to work.
By "the forum id part" i ment the condition in the code you gave me, sorry again for not fully explaining.. i was up rather late last night. |
#8
|
|||
|
|||
![]()
Bump!
|
#9
|
||||
|
||||
![]()
if its just a conditional problem.. try this.. should work
Code:
<if condition="in_array($forumid, array(1,2,3,6))"> </if> |
#10
|
|||
|
|||
![]()
That worked great, thanks! Although it would be <else /> then the table inside the else because thats saying "if in this array show this" which is the opposite of what i want lol.
Also needed to put it around the table headers and stuff too aswell as the icons but that was easily figured out. Thanks again |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|