PDA

View Full Version : Need a little assistance


bhxtyrant
09-23-2005, 02:44 PM
Hey guys,

I am having a bit of a problem which i hope someone can help me with.I created a main catagory with multiple sub catagories.Now everything works fine but i want the "newpost/no newpost" icon to show up beside it like it would on any other forum without sub catagories.See the below screenshot.

http://img347.imageshack.us/img347/4932/problem6qc.th.jpg (http://img347.imageshack.us/my.php?image=problem6qc.jpg)

Now the only way i have managed to solve this is by using the "Act as Forum" option but this is not acceptable because it allows members to post in the parent catagory instead of limiting them to the sub catagories inside it.

I am pretty sure solving this will require modifying vB's code so if someone could tell me how to do this i'd appreciate it :)

Andreas
09-23-2005, 02:46 PM
Act as Forum = Yes
Open for new Posts = No
?

bhxtyrant
09-23-2005, 03:09 PM
Act as Forum = Yes
Open for new Posts = No
?
When you do it this way in your parent forum you see this

http://img329.imageshack.us/img329/4269/problem23ke.th.jpg (http://img329.imageshack.us/my.php?image=problem23ke.jpg)

which is rather annoying and looks un professional.So modding the code is our best option and should be rather simple most likely.Thanks for your reply.

Andreas
09-23-2005, 03:12 PM
Actually it's not that simple.

Edit: Hmm ... maybe it is.
*checking*

Andreas
09-23-2005, 03:25 PM
Is that how you want it?

http://kirbydemos.ath.cx/forum/index.php
http://kirbydemos.ath.cx/forum/forumdisplay.php?f=3

bhxtyrant
09-23-2005, 03:28 PM
Is that how you want it?

http://kirbydemos.ath.cx/forum/index.php
http://kirbydemos.ath.cx/forum/forumdisplay.php?f=3

Yep thats exactly right :D

Andreas
09-23-2005, 03:34 PM
Use the attached Plugin.

bhxtyrant
09-23-2005, 03:36 PM
Is this for 3.5.0 only?or 3.0.7?I use 3.0.7 at the moment so just want to be sure.And thanks for the help :)

Andreas
09-23-2005, 03:47 PM
3.5, as you posted in the 3.5 Forums :)

For 3.0 you can apply the following file edit:

In index.php

FIND

// ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################


BELOW that ADD

$templatecache['forumhome_forumbit_level2_nopost'] =& $templatecache['forumhome_forumbit_level2_post'];

bhxtyrant
09-23-2005, 03:48 PM
omg lol i'm sorry i thought i had clicked 3.0 i didn't even notice :S but i will save that plugin as i plan to upgrade to 3.5.0 as soon as it reaches final.Thanks again

bhxtyrant
10-05-2005, 10:20 PM
Hey Kirby,i was wondering does your plugin work with 3.5 gold?Reason i ask is i installed the plugin you provided about on 3.5 gold and it doesn't seem to be working.I still see the area which says "There are no posts in this catagory" below the subforums list.Thanks

Andreas
10-05-2005, 10:37 PM
<a href="https://vborg.vbsupport.ru/showpost.php?p=778225&postcount=5" target="_blank">https://vborg.vbsupport.ru/showp...25&postcount=5</a>
Is this what you want?
If it is, then it does work on 3.5 Gold.
If not: What does not work like you want it?

bhxtyrant
10-05-2005, 10:44 PM
Yep that is what i want,but i've installed the plugin and have it set to active but it still looks like this http://img374.imageshack.us/img374/9625/errors28ge.th.jpg (http://img374.imageshack.us/my.php?image=errors28ge.jpg)

Have a look at the top portion of that screen shot.

Andreas
10-05-2005, 10:50 PM
Your Main Forum (Forum ID 2) is configured to act as a Forum.
It must be configured to act as a category.

bhxtyrant
10-05-2005, 10:53 PM
Oh i see,Just tried it and it worked.Thanks alot man.Hope my n00b questions aren't to much of a pain lol i've still got alot of learning to do about vB.I do like the new plugin system.i think it's the best feature of 3.5.