vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Removing Forum Branches (https://vborg.vbsupport.ru/showthread.php?t=116763)

j1mmy 05-26-2006 08:46 PM

Removing Forum Branches
 
1 Attachment(s)
Usually after clicking on a sub forum, there is a box at the top which shows how that forum has branched of the forum homepage.

I have enclosed an image of this box to show you what I mean.

So is this box possible to remove for some or all sub forums?

j1mmy 05-27-2006 10:03 AM

Bumpy Bump

Rich 05-27-2006 11:44 AM

Its possible to remove that, yes. Most people prefer not to remove it because it allows your users the ability to navigate the forum structure easier.

The breadcrumb trail you are referring too can be found and edited/removed in the navbar template.

j1mmy 05-27-2006 03:01 PM

By moving this, would the logon portal also be removed as its part of the same line?

I am actually removing this becasue i plan to display each sub-forum on its own and i wouldnt like the members to know that it was actually part of the main forum. So they would see this as a new forum altogether.

Also, where would i find these scripts responsible for removing it, and how would i edit them?

Rich 05-27-2006 05:13 PM

Any plain text editor can be used for editing html. (Which is what you will find in the templates.) Editing them means you need to open the template, and change the code. If you want specific code to disappear, you remove that code.

j1mmy 05-27-2006 06:16 PM

So what code am i looking out for?

Rich 05-27-2006 11:06 PM

In the navbar template find and remove this:

HTML Code:

        <td class="alt1" width="100%">
                <if condition="is_array($navbits)">
                        <table cellpadding="0" cellspacing="0" border="0">
                        <tr valign="bottom">
                                <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
                                <td>&nbsp;</td>
                                <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
                        </tr>
                        <tr>
                                <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td>
                        </tr>
                        </table>                       
                <else />
                        <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
                </if>
        </td>


j1mmy 05-29-2006 04:23 PM

Just to confirm, shall i remove everything from the first </td> to the last </td>?

Will this apply it to all the forums?

TheProphet 05-29-2006 05:42 PM

Quote:

Originally Posted by j1mmy
Just to confirm, shall i remove everything from the first </td> to the last </td>?

Will this apply it to all the forums?

How hard is this to find out yourselfs, do the edit and check your forums :confused:

bashy 05-29-2006 06:03 PM

A little uncalled for, he is obivosuly a newbie to all this..

Make a copy of the said template 1st before you do any editing.
Just copy and paste into a notepad document, This way you can
always put it back if you go wrong or dont like the way its turned out :)

Quote:

Originally Posted by TheProphet
How hard is this to find out yourselfs, do the edit and check your forums :confused:



All times are GMT. The time now is 02:39 AM.

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.01015 seconds
  • Memory Usage 1,746KB
  • 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