vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   Mod and other questions for vb5.4 (https://vborg.vbsupport.ru/showthread.php?t=326318)

Actron 04-19-2018 02:50 PM

Mod and other questions for vb5.4
 
Hello
I have installed vb5.4

First question:
Is it possible to hide the full topnav for unregistered users? I can hide all the tabs but the navbar still will be showing.:confused:

Mods:

*edit* watch this: https://vborg.vbsupport.ru/showthrea...72#post2594272

Best regards
Actron

Dave 04-19-2018 02:56 PM

There are not many vBulletin 5 coders, but maybe Glenn can help you out https://vbmods.rocks/

Actron 04-19-2018 03:11 PM

Yes i talked to Glenn... he never has say no to do this... but he also don't say yes. So i try it here. There must be a vb5 coder out there who can do this... i like the vb5 style.
It is a pity that there are so few programmers for vb5.

shimei 04-20-2018 05:53 AM

Seems you are experiencing early warning signs. I don't know why you would go with a product which is end of life (Vb4), or a product which you have to ignore all warning indicators about (lack of 3rd party products Vb5).

If I could do it all over again, I wouldn't be using Vb 5 either. Not trying to throw fuel on the fire, just suggesting that you think this through and don't jump on a product which you know is going to cost you more than if you leave it now for another.

Brandon Sheley 04-20-2018 01:10 PM

Try vbulletin 4, you'll have more options.
Keep your eyes open for other frameworks as well, who knows the future of vb.

delicjous 04-21-2018 02:18 PM

Try this in a template-hook at footer_before_body_end:

HTML Code:

<vb:if condition="$user['userid'] == 0">
<style>
#channel-tabbar {display:none}
#channel-subtabbar {display:none}
</style>
<vb:if>

You could also use a css template and use extracss within the if condition.

noypiscripter 09-21-2018 06:29 PM

Quote:

Originally Posted by Actron (Post 2594268)
Yes i talked to Glenn... he never has say no to do this... but he also don't say yes. So i try it here. There must be a vb5 coder out there who can do this... i like the vb5 style.
It is a pity that there are so few programmers for vb5.

Just read this. I don't remember someone contacted me about this.

The solution is simply to add this custom CSS in css_additional template or in Sitebuilder CSS Editor:

Code:

.logged-out #channel-tabbar,
.logged-out #channel-subtabbar {
    display: none;
}



All times are GMT. The time now is 07:40 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.01640 seconds
  • Memory Usage 1,725KB
  • 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)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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