MyBB Hacks

Full Version: How to block posts in parent forum but allow in sub forums?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Is there a way to block posts in a parent forum but allow posts in a child/sub forum?  I decided to combine my classified forums inito one parent with 2 sub forums for wanted and for sale items.  But I don't want anyone posting in the parent forum.  Any ideas?

http://www.7173mustangs.com/forum-classifieds
In the acp, edit the Classifieds forum.
Change type from forum to Category.
Then when you click "Classifieds", you will only see the two subforums.

Example: http://thefreebieforum.info
(Click "Americana" forum. What you see inside of it are the subforums only)
If you want to use it as a category (nobody can post in it, including administrator), set the parent forum as category, not as forum.

But, if you want some usergroups to be able to post threads in the parent forum, you need to set the parent forum permission.

EDIT:
Oooops... I'm sorry, x-Treme Biggrin
The same time hitting the post reply button Biggrin
Thanks!  That worked but I have another small problem!  I have changed my forum icons from gif to png but now the category parent forum I just made has a gif forum icon.  How can I change that to png to match the rest of my custom icons?

Scroll half way down to see what I mean!
http://www.7173mustangs.com/index.php

Also, do you know how to add banner images to the right of the forum name and descriptions?
(12-14-2010 06:54 AM)RocketFoot Wrote: [ -> ]I have changed my forum icons from gif to png but now the category parent forum I just made has a gif forum icon.  How can I change that to png to match the rest of my custom icons?

You need to edit your forumbit_depth2_cat template.
(12-14-2010 07:07 AM)RateU Wrote: [ -> ]
(12-14-2010 06:54 AM)RocketFoot Wrote: [ -> ]I have changed my forum icons from gif to png but now the category parent forum I just made has a gif forum icon.  How can I change that to png to match the rest of my custom icons?

You need to edit your forumbit_depth2_cat template.
That's what is weird...I already did that edit but the image is wrong.

Code:
<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.png" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong> <a href="newthread.php?fid={$forum['fid']}" title="Post new thread in {$forum['name']}"><img src="images/cnti.png" alt="New Thread" /></a>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>


I converted my png into a decent gif for now, but I still think something is whacked?  LOL
Are you sure the code above comes from forumbit_depth2_cat template, not from forumbit_depth2_forum template?
Haha!  You are absolutely correct!  I was looking in the wrong bit!  Thanks!

How about adding different banners in the forums?  I need to add 2 different banners in the forum index...just to the right of the forum name and description.  I'd actually like them to float right next to the thread count box divider.

[Image: attachment.php?aid=20763]
In forum index only?
Yes,

I devised a work around by adding the images to the forum description in html but it would be nice to float right on the same line as the forum name.

http://www.7173mustangs.com/forum-market-place
Pages: 1 2
Reference URL's