Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 03-18-2007, 05:51 AM
Champster Champster is offline
 
Join Date: Mar 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Checking for errors within this popup code

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> 
Attached Images
File Type: jpg error.jpg (7.7 KB, 0 views)
File Type: jpg error2.jpg (10.8 KB, 0 views)
Reply With Quote
  #2  
Old 03-20-2007, 04:50 AM
Champster Champster is offline
 
Join Date: Mar 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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> 
Attached Images
File Type: jpg error3.jpg (4.7 KB, 0 views)
Reply With Quote
  #3  
Old 03-21-2007, 09:01 PM
Champster Champster is offline
 
Join Date: Mar 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any ideas?
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:56 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.03932 seconds
  • Memory Usage 2,228KB
  • Queries Executed 14 (?)
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
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_attachment
  • (3)postbit_onlinestatus
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete