vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Additional navbar with dropdowns (https://vborg.vbsupport.ru/showthread.php?t=166136)

MorrisMcD 06-23-2008 11:48 PM

There is one more place I have an issue of the navbar2 not showing up.. When you click new posts and there are no new posts, You get the message

"Sorry, there are no new threads to view.

You may search for threads updated during the previous 24 hours, here."

No navbar2... I tried Mike's plugin to see if it would show up with this.. It didn't work. It also makes my mood manager hack in the navbar disappear. So I removed that

Arcade and cmps work great though by doing what you suggested, tyvm.. Any idea on the 'no new posts' page?

attroll 06-24-2008 04:26 AM

Quote:

Originally Posted by Mike-D (Post 1557037)
Dear attroll :),
I do know that we have several ways to out the $navbar2 variable in the global field of vBA or PhotoPlog. Surely it works also, but a long time before, I put lots of Navbar code into the TMS. Later I noticed that my navbar code was totally overloaded. So I decided to write my own Hack regarding a second navbar. While using TMS I never got any problems regarding the global variables in my navbar. After removing the navbar code of TMS I saw that problem and I solved it with that Plugin I mentioned. That was the reason too after I saw your Thread here so I thought to tell you how I solved that problem at that time :) -Mike

Thank you very much for you help Mike-D. I was in a hurry when I last replied and did not have time to test it out. I have upgraded the hack and made the changes you recommended. They fixed all the missing locations where the navbar2 was not showing up. I can not speak for Arcade and PhotoPlog but I will take your word for it. I thanked you in the mode description.

attroll 06-24-2008 04:29 AM

Quote:

Originally Posted by MorrisMcD (Post 1557301)
There is one more place I have an issue of the navbar2 not showing up.. When you click new posts and there are no new posts, You get the message

"Sorry, there are no new threads to view.

You may search for threads updated during the previous 24 hours, here."

No navbar2... I tried Mike's plugin to see if it would show up with this.. It didn't work. It also makes my mood manager hack in the navbar disappear. So I removed that

Arcade and cmps work great though by doing what you suggested, tyvm.. Any idea on the 'no new posts' page?

I just upgraded the zip file and if you download it and re-import the product and overwrite it then this should fix the problem of the navbar2 not showing up when there are not search results.

attroll 06-24-2008 04:32 AM

Quote:

Originally Posted by Fireproof (Post 1557183)
What controls the height of the additional navbar? My navbar2 is thicker (taller) than my original navbar. Have a look: http://www.clutchfitness.com

I would like to have it the same size. Please help.

It should be the same as your default navbar. Did you change anything in you navbar2 template after you installed it?

MorrisMcD 06-24-2008 04:47 AM

Quote:

Originally Posted by attroll (Post 1557411)
I just upgraded the zip file and if you download it and re-import the product and overwrite it then this should fix the problem of the navbar2 not showing up when there are not search results.

You completely and totally rock...

I know it was minor but one of my forum users in particular complained about it a lot... My wife.. lol

You have scored me points.. Ty again :)

attroll 06-24-2008 05:07 AM

Quote:

Originally Posted by MorrisMcD (Post 1557418)
You completely and totally rock...

I know it was minor but one of my forum users in particular complained about it a lot... My wife.. lol

You have scored me points.. Ty again :)

Glad I could score you some points with your wife.

I really need to thank Mike-D for pointing this out to me and sending me in the right direction to getting it fixed.

Thanks Mike-D.

Poppet 06-24-2008 10:41 AM

Just upgraded and it works with Photoplog now. Excellent work :D

Fireproof 06-24-2008 01:29 PM

Quote:

Originally Posted by attroll (Post 1557412)
It should be the same as your default navbar. Did you change anything in you navbar2 template after you installed it?

Well, I had to tweak it a bit to get the border style to match my other one. I probably screwed something up since I don't quite know XML that well - I'm a copy/paste hack. :p

Here's what I currently have:
Code:

<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
  <tr align="center">


attroll 06-24-2008 03:53 PM

Quote:

Originally Posted by Fireproof (Post 1557772)
Well, I had to tweak it a bit to get the border style to match my other one. I probably screwed something up since I don't quite know XML that well - I'm a copy/paste hack. :p

Here's what I currently have:
Code:

<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
  <tr align="center">


Try this and let me know if it works. I just did it and it worked for me.
Code:

<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
 <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
 <tr align="center">

If it works I will update the XML file again in this hack.

Fireproof 06-24-2008 04:08 PM

Sorry for the trouble, but that didn't work for me. It removed the very thin border on the top edge, so I put it back like I had it.

Here is the code for my ORIGINAL navbar which is remaining thinner:

Code:

<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
        <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">

But if you don't want to mess with this, I understand. :)


All times are GMT. The time now is 08:13 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.01156 seconds
  • Memory Usage 1,751KB
  • 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
  • (4)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete