vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Nav bar modification (https://vborg.vbsupport.ru/showthread.php?t=88158)

Jay_K 01-25-2004 01:57 AM

Nav bar modification
 
1 Attachment(s)
Hey guys, I was directed to this spot by the guys over at vb.com

I want to make a change to my nav bar, but when I do, it doesnt work.

Heres a pic of what I want to do:

But when I make the changes, all the links have a horrid red line under them. Heres an example here http://www.realworlds.org/forum/index.php?

I tried editing the forum home template, but the banners go away.

HELP!!

Thanks,
Jay

Edit: Sorry, I'm using VB3 RC2

Zachery 01-25-2004 03:20 AM

open the navbar template near the bottom there should be two <br /> remove one of them

Jay_K 01-25-2004 06:29 AM

Quote:

Originally Posted by Faranth
open the navbar template near the bottom there should be two <br /> remove one of them

Hi,

Thanks for the reply, but towards the bottom, the only two things I see are </if> tags:

"<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>

</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
</if>
<a href=http://www.puretotty.com><img src='CandidBoards2.jpg' border='0'>"

if I choose to get rid of one of the </if> tags it gives this warning:

vBulletin Message
The following error occurred when attempting to evaluate this template:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/virtual/site2/fst/var/www/html/forum/includes/adminfunctions_template.php(2998) : eval()'d code on line 135

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

Zachery 01-25-2004 06:35 AM

try the middle maybe? you dont want to mess with conditionals if you dont know what they are

Jay_K 01-25-2004 06:42 AM

Quote:

Originally Posted by Faranth
try the middle maybe? you dont want to mess with conditionals if you dont know what they are

Got rid of the double ones, still red links
=(

Zachery 01-25-2004 07:36 AM

can you give me a link to your forum?

Jay_K 01-25-2004 03:39 PM

Quote:

Originally Posted by Faranth
can you give me a link to your forum?

The forum I want to do it to is here:
www.thecandidboard.com/forum

the sample is located here

www.realworlds.org/forum

Zachery 01-25-2004 07:51 PM

find

<!-- / nav buttons bar -->
<br />
<br />


remove one <br /> :)

Jay_K 01-26-2004 12:19 AM

Quote:

Originally Posted by Faranth
find

<!-- / nav buttons bar -->
<br />
<br />


remove one <br /> :)

</tr>
</table>
</div>
<!-- / nav buttons bar -->

<br />





<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

removed,

still red underlines.

I'm using vb3 rc2 if that matters

Zachery 01-26-2004 01:45 AM

im hoenstly not seeing a problem


All times are GMT. The time now is 04: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.01043 seconds
  • Memory Usage 1,738KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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