View Full Version : How do I remove 'mark forums read/forum leaders' bar
MAdotcom
06-19-2012, 01:50 AM
http://i126.photobucket.com/albums/p108/volk_37/markforumsread.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&markreadhash={vb:ra w 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:
<!-- <div class="navlinks">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&markreadhash={vb:ra w 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&markreadhash={vb:ra w 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!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.