PDA

View Full Version : How can I hide the "What's Going On?"


giorgioarmani
09-23-2012, 08:21 AM
I want to hide the "What's Going On?" section at the bottom of the homepage to non-registered users.

borbole
09-23-2012, 09:10 AM
I want to hide the "What's Going On?" section at the bottom of the homepage to non-registered users.

Have a look here:

https://vborg.vbsupport.ru/showthread.php?t=237485

giorgioarmani
09-23-2012, 10:16 AM
Have a look here:

https://vborg.vbsupport.ru/showthread.php?t=237485

Cool that worked :)

How about removing this too (from guests):

"Mark Forums Read | View Forum Leaders"

borbole
09-23-2012, 03:23 PM
Cool that worked :)

How about removing this too (from guests):

"Mark Forums Read | View Forum Leaders"

Same template like before. Find 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: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>

And change it to:

<vb:if condition="$show['member']">
<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: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>
</vb:if>

giorgioarmani
09-23-2012, 03:46 PM
Same template like before. Find the following code:

Amazing :)

Thank you!