vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Additional Navbar 3.5.3 and up (https://vborg.vbsupport.ru/showthread.php?t=106875)

attroll 07-18-2006 05:28 AM

Quote:

Originally Posted by badblu01
Hello

I am running 3.5.4

I have created my navbar using Sothink DHTMLMenu i have never had a problem in the past with my menu or in 3.5.3 its just very weird.

i dont know can you possible take a look i will give you temp admin access if you like.

I don't know what this program you call Sothink DHTMLMenu is. I do everything in basica HTML.

I just registered on your site and went to reply to a message and I can not simulate any of these problems you are talking about.

aaamaretto 07-21-2006 02:13 AM

great hack...
only thing, i can't get the navbar2 on my cmps homepage... i followed your step:

Go into your ADMINCP-->vBa CPMS-->Default Setting-->Portal Output Global Variables and add navbar2 in the block there and save it.

but still it doesn't show up

check it out: cobbtalks dot com

what can you suggest? any help would be appreciated.

aaamaretto 07-21-2006 02:19 AM

nevermind, i figured it out...
i had to go to each individual cmps page and add "navbar2" to the Portal Output Global Variables too

Draygonia 07-21-2006 03:44 PM

In step one... I know, its kinda newby, but where do I paste the contents exactly? I have no clue, but I have done the rest of the steps :D

Draygonia 07-21-2006 03:50 PM

Srry for double, but anyways, I found out that the navbar thing works in the new navbar2 template I made, but how do I get it to add on to the navbar in the templates I use?

I dont want the navbar2 template to be used either, the directions are so hard to understand :(

attroll 07-30-2006 02:39 AM

Quote:

Originally Posted by Draygonia
Srry for double, but anyways, I found out that the navbar thing works in the new navbar2 template I made, but how do I get it to add on to the navbar in the templates I use?

I dont want the navbar2 template to be used either, the directions are so hard to understand :(

I don't understand what your trying to say here? If you don't want to use the navbar2 template then do not install this hack. Maybe I don't understand what you mean?

Are you trying to install this into your default navbar template? If you are referr to Note#1.

Ncturnal 08-18-2006 08:44 PM

I had a 3.6 question. Do you know if something changed with the global.php? When I tried to add the navbar2 reference under // misc useful, I get a syntax error. Any ideas on what would be causing that?

attroll 08-19-2006 03:07 AM

Quote:

Originally Posted by Ncturnal
I had a 3.6 question. Do you know if something changed with the global.php? When I tried to add the navbar2 reference under // misc useful, I get a syntax error. Any ideas on what would be causing that?

I just installed this in vB 3.6 and it works fine. I also added the command to global.php and had no problem. Maybe your adding an extra character or something. Here is what it should look like in between the two lines in global.php

// misc useful
'navbar2',
'spacer_open',

Ohiosweetheart 09-08-2006 04:14 PM

this works just fine for me in 3.6

SupremeWeapon 10-10-2006 08:27 AM

seeing some issues.


modified things as per post and instructions how ever i get.

Quote:

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/vhosts/subdomains/boards/httpdocs/includes/adminfunctions_template.php(3537) : eval()'d code on line 9

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.

this is what I have.

Code:

<!-- nav buttons bar -->
<div align="center">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
        <tr align="center">       
<td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >$vbphrase[vbimghost_title]</a>
<script type="text/javascript"> vbmenu_register("vbimghost");</script></td>
<td class="vbmenu_control"><a href="jukebox.php?$session[sessionurl_q]">Jukebox</a></td>
<!-- v3 Arcade -->
<td class="vbmenu_control"><a href="arcade.php$session[sessionurl_q]">Arcade</a></td>
<!-- /v3 Arcade -->
                <if condition="$show['popups']">       
<!-- vbPlaza start -->
                        <if condition="$show['member']">
                                <if condition="$vboptions['vbplaza_enabled']"><td id="vbplazamenu" class="vbmenu_control"><a href="$show[nojs_link]#vbplazamenu">$vbphrase[vbplaza_name] $vbphrase[vbplaza_menu]</a> <script type="text/javascript"> vbmenu_register("vbplazamenu"); </script></td></if>
                        </if>
<!-- vbPlaza end -->
<!-- vbPlaza start -->
        <if condition="$show['member']">
        <!-- vbplaza tools menu -->
        <div class="vbmenu_popup" id="vbplazamenu_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">

                <tr><td class="thead"><a href="vbplaza.php?$session[sessionurl]">$vbphrase[vbplaza_name] $vbphrase[vbplaza_main]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=48">$vbphrase[vbplaza_lottery]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=27">$vbphrase[vbplaza_give_gifts]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=118">$vbphrase[vbplaza_give_ribbons]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=13">$vbphrase[vbbux_bank]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=7">$vbphrase[vbplaza_donate]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=16">$vbphrase[vbplaza_thief]</a></td></tr>

                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=richestusers">$vbphrase[vbbux_richest_users]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=userhistory">$vbphrase[vbplaza_history]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=mostsold">$vbphrase[vbplaza_most_sold]</a></td></tr>

                <if condition="is_member_of($vbulletin->userinfo, $vboptions['vbplaza_adminusergroups'])">
                        <tr><td class="thead">$vbphrase[vbplaza_admin_only]</a></td></tr>
                        <tr><td class="vbmenu_option"><a href="vbplaza.php?$session[sessionurl]do=action&amp;itemid=12">$vbphrase[vbplaza_admin_donate]</a></td></tr>
                </if>

                </table>
        </div>
        <!-- / vbplaza tools menu -->
        </if>
<!-- vbPlaza end -->

<!-- / NAVBAR POPUP MENUS -->

<!-- Image Host Popup -->
<div class="vbmenu_popup" id="vbimghost_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">$vbphrase[vbimghost_title]</td></tr>
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/vbimghost.php?do=myimages">$vbphrase[vbimghost_menushimg]</a></td></tr>
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/vbimghost.php?do=upload">$vbphrase[vbimghost_menuupimg]</a></td></tr>
<tr><td class="vbmenu_option"><a href="$vboptions[bburl]/vbimghost.php?do=userlist">$vbphrase[vbimghost_menulistuser]</a></td></tr>
</table>
</div>
<!-- / Image Host Popup -->



I dont even see the navbar either.

ideas?


All times are GMT. The time now is 08:01 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.01372 seconds
  • Memory Usage 1,767KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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