vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How do I remove 'mark forums read/forum leaders' bar (https://vborg.vbsupport.ru/showthread.php?t=284623)

MAdotcom 06-19-2012 01:50 AM

How do I remove 'mark forums read/forum leaders' bar
 
http://i126.photobucket.com/albums/p...forumsread.jpg

I figured out how to delete the text but I want to delete the whole thing. Help will be much appreciated.

TIA!

Lynne 06-19-2012 02:46 AM

There is probably a <div> around where the text was, so you would just delete that whole <div> tag.

MAdotcom 06-19-2012 03:01 AM

Hi Lynne. Thank you for your quick response.

Here's the code I found. I highlighted the areas I deleted to remove the text only. When I deleted the whole code none of my forums showed up.

<div class="navlinks">
<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={v b:raw bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>
<vb:if condition="$vboptions['forumleaders']">|
<a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
<vb:if condition="$vb_suite_installed">
{vb:rawphrase view_site_leaders}
<vb:else />
{vb:rawphrase view_forum_leaders}

</vb:if>
</a></vb:if>
</div>

itzkr0me 06-19-2012 11:32 AM

You want to comment (or remove) the following:

Code:

      <!-- <div class="navlinks">
      <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:raw bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>
        <vb:if condition="$vboptions['forumleaders']">|
        <a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
                <vb:if condition="$vb_suite_installed">
                        {vb:rawphrase view_site_leaders}
                <vb:else />
                        {vb:rawphrase view_forum_leaders}
                </vb:if>
        </a></vb:if>
        </div> -->


MAdotcom 06-19-2012 07:04 PM

I don't understand.. I deleted all of that before but it deleted all of my forums as well.

Lynne 06-19-2012 07:22 PM

Removing that little bit of code should not remove your forums also unless you have a custom template that has stuck the forums into that div also.

MAdotcom 06-19-2012 08:00 PM

Weird. I deleted this and it worked. Not sure what I did before. Thanks for your help Lynne and itzkr0me

<div class="navlinks">
<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={v b:raw bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>
<vb:if condition="$vboptions['forumleaders']">|
<a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
<vb:if condition="$vb_suite_installed">
{vb:rawphrase view_site_leaders}
<vb:else />
{vb:rawphrase view_forum_leaders}
</vb:if>
</a></vb:if>
</div>

DeadApe 01-21-2013 04:16 PM

Hey guys, I'm glad I found a thread dealing with this. I'm not sure which template you are editing though, could somebody tell me?

Lynne 01-21-2013 05:01 PM

FORUMHOME template, I believe.

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

DeadApe 01-21-2013 06:35 PM

Wow thats extremely helpful, thanks a ton!


All times are GMT. The time now is 06:50 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.01012 seconds
  • Memory Usage 1,731KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete