vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do i remove this? (https://vborg.vbsupport.ru/showthread.php?t=173226)

Andy92 03-16-2008 09:24 PM

How do i remove this?
 
Hey there,

I am launching a new tutorial section on my site using vBulletin. Here is the tutorials section so far...

http://www.kedoa.com/forum/forumdisplay.php?f=46

How would i go about deleting the bit that says forum, last post etc under Sub-Forums : Tutorials at the top? Just that bit?

And instead put a space in the that separates the 2. Like the other categories below.

Any ideas?

snakes1100 03-16-2008 09:40 PM

Seeing as thats a custom template for putting forum, lastpost etc under all categories, i would say you need to remove the subforum one from the forumhome_forumbit_level1_post or level2_post template, not sure what one its in.

Andy92 03-17-2008 03:53 PM

Ok, ive had a look around and i dont have a clue.

Please can someone help?

Lynne 03-17-2008 04:15 PM

If you go to vboptions > General Settings, there is an option to put the Template name in the source code. Turn that on and then go to the page and view the source code. You should then see the template name in there.

Andy92 03-17-2008 04:42 PM

Ok, well it says...

<!-- sub-forum list -->

Then it has the stuff i want to delete there, then underneath it says...

<!-- BEGIN TEMPLATE: forumhome_forumbit_level1_nopost -->

So basically, its under <!-- sub-forum list -->

Where do i find that?

Lynne 03-17-2008 04:46 PM

Quote:

Originally Posted by Andy92 (Post 1467145)
Ok, well it says...

<!-- sub-forum list -->

Then it has the stuff i want to delete there, then underneath it says...

<!-- BEGIN TEMPLATE: forumhome_forumbit_level1_nopost -->

So basically, its under <!-- sub-forum list -->

Where do i find that?

Well, somewhere above <!-- sub-forum list --> it says <!-- BEGIN TEMPLATE: this_is_the_template_you_are_concerned_about --> and that is the template you want.

Andy92 03-17-2008 05:09 PM

Lynne,

I really cant find it.

Can you have a look?

http://www.kedoa.com/forum/forumdisplay.php?f=46

View the source code and search for...

<!-- sub-forum list -->

And its just the stuff below there that i want to delete.

??

Lynne 03-17-2008 05:19 PM

Quote:

Originally Posted by Andy92 (Post 1467168)
Lynne,

I really cant find it.

Can you have a look?

http://www.kedoa.com/forum/forumdisplay.php?f=46

View the source code and search for...

<!-- sub-forum list -->

And its just the stuff below there that i want to delete.

??

It looks like it may be just the main template FORUMDISPLAY

Andy92 03-17-2008 05:33 PM

Ok, got it.

It was in FORUMDISPLAY.

But now what i need to do is put in there something like if sorumid = 46, show nothing, else show this.

How will i go about doing that?

Lynne 03-17-2008 05:41 PM

Try:

HTML Code:

<if condition="$foruminfo[forumid] != 46">
all the html code goes here
</if>



All times are GMT. The time now is 07:56 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.01196 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete