vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Checking for errors within this popup code (https://vborg.vbsupport.ru/showthread.php?t=142366)

Champster 03-18-2007 05:51 AM

Checking for errors within this popup code
 
1 Attachment(s)
I can't figure out what I'm missing. I've attached a image to display the error I'm getting.

The first photo is the error I'm getting and the second photo is basically an illustration of where I would like the drop menu to start to list each forum of my site.

Thanks for your help in advance.

PHP Code:

<if condition="$show['popups']">
    <!-- 
start vBMenu control element -->
    <
table class="tborder" cellpadding="4" cellspacing="1">
    <
tr>
        <
td id="ForumMENU" class="vbmenu_control">
            <
a href="#ForumMenu">Forum Menu</a>
            <
script type="text/javascript">
            <!--
            
vbmenu_register("ForumMENU");
            
//-->
            
</script>
        </
td>
    </
tr>
    </
table>
    <!-- 
end vBMenu control element -->
 
    <!-- 
start vBMenu popup element -->
    <
div class="vbmenu_popup" id="ForumMENU_menu" style="display:none">
        <
table cellpadding="4" cellspacing="1" border="0">
        <
tr>
            <
td class="thead">Forums</td>
        </
tr>
        <
tr>
            <
td class="vbmenu_option"><a href="http://www.mysite.com/forums">Main Forum</a></td>
        </
tr>
        <
tr>
            <
td class="vbmenu_option"><a href="http://www.mysite.com/forums/forumdisplay.php?f=5">The  FF Forums</a></td>
        </
tr>
        <
tr>
            <
td class="vbmenu_option"><a href="http://www.mysite.com/forums/forumdisplay.php?f=11">The FF Review Area</a></td>
        </
tr>
        <
tr>
            <
td class="vbmenu_option"><a href="http://www.mysite.com/forums/forumdisplay.php?f=16">Supported FF Sites</a></td>
        </
tr>
        </
table>
    </
div>
    <!-- 
end vBMenu popup element -->
 
<else />
    <!-- 
start alternativenon-vBMenu content -->
    <
table class="tborder" cellpadding="4" cellspacing="1">
    <
tr>
        <
td class="vbmenu_control"><a href="http://www.mysite.com/forums">Main Forum</a></td>
        <
td class="vbmenu_control"><a href="http://www.mysite.com/forums/forumdisplay.php?f=5">The Adult FF Forums</a></td>
        <
td class="vbmenu_control"><a href="http://www.mysite.com/forums/forumdisplay.php?f=11">The FF Review Area</a></td>
        <
td class="vbmenu_control"><a href="http://www.mysite.com/forums/forumdisplay.php?f=16">Supported FF Sites</a></td>
    </
tr>
    </
table>
    <!-- 
end alternative content -->
</if> 


Champster 03-20-2007 04:50 AM

1 Attachment(s)
The "Forums" icon in the menu bar is displaying how I would like with the dropdown arrow for the menu, however the popup menu is not displaying with the menu listed below. What am I missing?

I've included a photo illustration of my problem below. Thanks for your help.

PHP Code:

<if condition="$show['popups']">
           <if 
condition="$show['searchbuttons']">
               <if 
condition="$show['member']">
        <
td id="forummenu" ><a href="$show[nojs_link]#forummenu">Forums Menu</a> <script type="text/javascript"vbmenu_register("forummenu"); </script></td>        
            </if>
        <else />  
            
                <
td class="vbmenu_option"><a href="http://www.mysite.com/forums/" accesskey="4">Main Forums</a></td>
                <
td class="vbmenu_option"><a href="http://www.mysite.com/forums/forumdisplay.php?f=5" accesskey="2">The FF Forums</a></td>
                
                <
td class="vbmenu_option"><a href="http://www.mysite.com/forums/forumdisplay.php?f=11" accesskey="2">FF Review Area</a></td>
                </if>
</if> 


Champster 03-21-2007 09:01 PM

Any ideas?


All times are GMT. The time now is 02:35 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.01003 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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