Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2018, 02:50 PM
Actron Actron is offline
 
Join Date: Mar 2018
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.

Mods:

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

Best regards
Actron
Reply With Quote
  #2  
Old 04-19-2018, 02:56 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are not many vBulletin 5 coders, but maybe Glenn can help you out https://vbmods.rocks/
Reply With Quote
  #3  
Old 04-19-2018, 03:11 PM
Actron Actron is offline
 
Join Date: Mar 2018
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 04-20-2018, 05:53 AM
shimei shimei is offline
 
Join Date: Feb 2015
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 04-20-2018, 01:10 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try vbulletin 4, you'll have more options.
Keep your eyes open for other frameworks as well, who knows the future of vb.
Reply With Quote
  #6  
Old 04-21-2018, 02:18 PM
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 09-21-2018, 06:29 PM
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Jul 2013
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Actron View Post
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;
}
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:47 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.05091 seconds
  • Memory Usage 2,216KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete