vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Need a little assistance (https://vborg.vbsupport.ru/showthread.php?t=96778)

bhxtyrant 09-23-2005 02:44 PM

Need a little assistance
 
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/4...blem6qc.th.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

Quote:

Originally Posted by KirbyDE
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/4...lem23ke.th.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

Quote:

Originally Posted by KirbyDE

Yep thats exactly right :D

Andreas 09-23-2005 03:34 PM

1 Attachment(s)
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
PHP Code:

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

BELOW that ADD
PHP Code:

$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/9...ors28ge.th.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.


All times are GMT. The time now is 07:57 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.01429 seconds
  • Memory Usage 1,748KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete