vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   invalid_tag_nesting (https://vborg.vbsupport.ru/showthread.php?t=228245)

Mythotical 11-17-2009 10:02 PM

invalid_tag_nesting
 
Ok that has me confused, all I did was update a template to reflect the new changes in vB4 but that keeps coming up when I save the new template.

HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat">{vb:rawphrase bfc_download_edit_file}</td>
</tr>
<tr>
        <td align="center" width="100%">
<form enctype="multipart/form-data" action="{vb:raw vboptions.bburl}/{vb:raw vboptions bfc_download_file_name}.php?do=doedit"  name="vbform" method="post" <vb:if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, {vb:raw vboptions.postminchars})"</vb:if>>
                <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="username" value="{vb:var efile.username}" />
<input type="hidden" name="userid" value="{vb:var efile.userid}" />
<input type="hidden" name="fid" value="{vb:var efile.file_id}" />
                <table width="100%" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder">
                        <tr>
                                <td class="alt1">
                                        {vb:rawphrase bfc_download_title}
                                        <input type="text" name="title" value="{vb:var efile.title}" /><br />
                                </td>
                                <td class="alt1">
                                        {vb:rawphrase bfc_download_version_number}
                                        <input type="text" name="version" value="{vb:var efile.version}" /><br />
                                </td>
                        </tr>
<vb:if condition="is_member_of($bbuserinfo, 5,6,7)" />
                        <tr>
                                <td class="alt2">
                                        {vb:rawphrase bfc_download_categories}
                                        <select name="catid">
                                        {vb:var optionhtml}
                                        </select>
                                </td>
                                <td class="alt2">
                                        {vb:rawphrase bfc_download_usergroup}
                                        <input type="text" name="usergroupid" value="{vb:var efile.usergroupid}" /><br />
                                </td>
                        </tr>
<vb:else />
                        <input type="hidden" name="usergroupid" value="" />
                        <tr>
                                <td class="alt2" colspan="2">
                                        {vb:rawphrase bfc_download_categories}
                                        <select name="catid" />
                                        {vb:var optionhtml}
                                        </select>
                                </td>
                        </tr>
</vb:if>
                        <tr>
                                <td class="alt1" colspan="2">
                                        {vb:var messagearea}
                                </td>
                        </tr>
                        <tr>
                                <td class="alt2" colspan="2">
                                        Current File: {vb:var efile.name}<br />
                                        {vb:rawphrase bfc_download_file_select}
                                        <input type="hidden" name="MAX_FILE_SIZE" value="{vb:raw vboptions.bfc_download_maxfilesize}" />
                                        <input name="userfile" type="file" id="userfile" />
                                </td>
                        </tr>
                        <tr>
                                <td class="alt1" colspan="2" align="right"><input name="upload" type="submit" class="box" id="upload" value="Submit"></td>
                        </tr>
                </table>
                </form>
        </td>
</tr>
</table>

Ignore the table tags and such, not ready to alter the loook as of yet, just want to get it working first.

PitchouneN64ngc 11-17-2009 10:24 PM

Remove the / in the condition with is_member_of() function.

Mythotical 11-17-2009 11:14 PM

TYVM Pitchoune, that fixed it all. Now to just get stuff to show up. LOL


All times are GMT. The time now is 10:23 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.01587 seconds
  • Memory Usage 1,742KB
  • 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_html_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