View Single Post
  #63  
Old 04-23-2006, 09:16 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Princeton

Could you help me out here please?

I am trying to add my rules link into the menu but i keep getting

Code:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/bashy/public_html/forums/includes/adminfunctions_template.php(3537) : eval()'d code on line 181
Here is what i have done

Code:
<if condition="$show['popups']">        
        <td id="navbar_tools" class="vbmenu_control"><a href="rules.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[help]</a> <script type="text/javascript"> vbmenu_register("navbar_tools"); </script></td>
<else />
        <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
</if>
And

Code:
<!-- gt custom start -->
 <div class="vbmenu_popup" id="navbar_tools_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead" nowrap="nowrap">$vbphrase[need_help]</td>

        <tr>
            <td class="vbmenu_option" title="$vbphrase[rules]">
            <a href="rules.php$session[sessionurl_q]">$vbphrase[rules]</a>

        <tr>
            <td class="vbmenu_option" title="$vbphrase[faq]">
            <a href="faq.php$session[sessionurl_q]">$vbphrase[faq]</a>
        
        <tr>
            <td class="vbmenu_option" title="$vbphrase[gtcustom_sitemap_header]">
            <a href="goto.php?section=sitemap$session[sessionurl_q]">$vbphrase[gtcustom_sitemap_header]</a>

        <tr>
            <td class="vbmenu_option" title="$vbphrase[gtcustom_privacy_header]">
            <a href="goto.php?section=privacy$session[sessionurl_q]">$vbphrase[gtcustom_privacy_header]</a>

        <tr>
            <td class="vbmenu_option" title="$vbphrase[gtcustom_terms_header]">
            <a href="goto.php?section=terms$session[sessionurl_q]">$vbphrase[gtcustom_terms_header]</a>
            </td>
        </tr>
        </table>
    </div>
<!-- gt custom end -->
Now where have i gone wrong please
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01120 seconds
  • Memory Usage 1,771KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete