vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - [USML] Staff Application (https://vborg.vbsupport.ru/showthread.php?t=262518)

Alice 03-22-2017 05:15 PM

I am having a hell of a time getting Select Menu's to work properly with the Application. The following is a sampling from the template usml_staff_application:

Code:

<!-- START CHARACTER ARCHTYPE -->

    <tr valign="top">
        <td class="alt1" width="50%">
            <strong>$vbphrase[usml_staffapp_chararchtype]</strong>
        </td>
        <td class="alt2">
            <select name="chartype" value="$vbgpc[chartype]">
                  <option value="Select">(Select One)</option>
                  <option value="Option1">Option1</option>
                  <option value="Option2">Option2</option>
                  <option value="Option3">Option3</option>
            </select>
        </td>
    </tr>

<!-- END CHARACTER ARCHTYPE -->

The "$vbgpc[chartype]" corresponds to the following located in the php source code:

PHP Code:

'chartype'             => TYPE_NOHTML

Any insight would be appreciated.

Thank you,

Alice 03-22-2017 07:44 PM

Okay, after some more code debugging, I developed a fix for this issue. The different option strings need to also have a name string attached. In case anyone else runs into this issue, the changes are highlighted in the follow code sampling, which I have included below:

Code:

<!-- START CHARACTER ARCHTYPE -->

    <tr valign="top">
        <td class="alt1" width="50%">
            <strong>$vbphrase[usml_staffapp_chararchtype]</strong>
        </td>
        <td class="alt2">
            <select name="chartype" value="$vbgpc[chartype]">
                  <option value="Select">(Select One)</option>
                  <option name="chartype" value="Option1">Option1</option>
                  <option name="chartype" value="Option2">Option2</option>
                  <option name="chartype" value="Option3">Option3</option>
            </select>
        </td>
    </tr>

<!-- END CHARACTER ARCHTYPE -->


Alice 03-22-2017 09:50 PM

Okay, here is another issue. When attempting to submit a test application, I got the following series of fatal errors:

PHP Code:

Fatal errorExisting data passed is not an array
Called set_existing in [path]/staff-application.php on line 405
in 
[path]/includes/class_dm.php on line 235 

The rest of the page displays random elements of array code of the entire forum, globally.

Please advise...

Alice 03-29-2017 04:39 PM

Okay, it turns out, its not an issue at all. The error with the data passing not an array was caused by database corruption, which was caused by repeatedly installing and uninstalling the same product. I verified this by reverting the database to a point, priot to ever installing, and then installing everything again. Long story short, everything is now working as intended. :)


All times are GMT. The time now is 11:43 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.01083 seconds
  • Memory Usage 1,728KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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