How to block posts in parent forum but allow in sub forums?
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #1
How to block posts in parent forum but allow in sub forums?
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

[Image: gallery_2_628_39582.jpg]
12-14-2010 06:14 AM
Find all posts by this user Quote this message in a reply
x-Treme Offline
Member
***
Posts: 68
Joined: May 2010
Post: #2
RE: How to block posts in parent forum but allow in sub forums?
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)

Forum Freebies
(This post was last modified: 12-14-2010 06:29 AM by x-Treme.)
12-14-2010 06:27 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #3
RE: How to block posts in parent forum but allow in sub forums?
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

(This post was last modified: 12-14-2010 06:29 AM by RateU.)
12-14-2010 06:27 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #4
RE: How to block posts in parent forum but allow in sub forums?
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?

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 12-14-2010 06:55 AM by RocketFoot.)
12-14-2010 06:54 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #5
RE: How to block posts in parent forum but allow in sub forums?
(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
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #6
RE: How to block posts in parent forum but allow in sub forums?
(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:
1
2
3
4
5
6
7
8
9
<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

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 12-14-2010 07:46 AM by RocketFoot.)
12-14-2010 07:38 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #7
RE: How to block posts in parent forum but allow in sub forums?
Are you sure the code above comes from forumbit_depth2_cat template, not from forumbit_depth2_forum template?

12-14-2010 07:47 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #8
RE: How to block posts in parent forum but allow in sub forums?
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]

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 12-14-2010 07:57 AM by RocketFoot.)
12-14-2010 07:54 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #9
RE: How to block posts in parent forum but allow in sub forums?
In forum index only?
12-14-2010 08:02 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #10
RE: How to block posts in parent forum but allow in sub forums?
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

[Image: gallery_2_628_39582.jpg]
12-14-2010 08:07 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: