Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Bug - Clashes with "Definitions" javascript/hidden element content

mrptamrpta
edited March 2011 in Vanilla 2.0 - 2.8
Hi @TiGR

We are using the vforg theme and recently added the following code to our .tpl

{asset name="Foot"}

This is breaking the quotes plugin. Without the above asset, however, #conversations do not start correctly. I wonder if you can take a look at this.

Comments

  • Can you provide a URL to real-life example?
  • Well... I don't really want to cripple my live forum's ability to quote for any length of time. I will see if I can get a shadow running for your perusal.
  • mrptamrpta
    edited May 2011
    The following is the content of the definitions div that our {asset} tag is rendering:
    <!-- Various definitions for Javascript //-->
    <div id="Definitions" style="display: none;">
    <input type="hidden" id="SetClientHour" value="0" />
    <input type="hidden" id="AnalyticsTask" value="none" />
    <input type="hidden" id="WhosOnlineFrequency" value="500" />
    <input type="hidden" id="TransportError" value="A fatal error occurred while processing the request.<br />The server returned the following response: %s" />
    <input type="hidden" id="TransientKey" value="XXX" />
    <input type="hidden" id="WebRoot" value="http://XXX" />
    <input type="hidden" id="UrlFormat" value="/vanilla/index.php?p=/{Path}" />
    <input type="hidden" id="ConfirmHeading" value="Confirm" />
    <input type="hidden" id="ConfirmText" value="Are you sure you want to do that?" />
    <input type="hidden" id="Okay" value="Okay" />
    <input type="hidden" id="Cancel" value="Cancel" />
    <input type="hidden" id="Search" value="Search" />
    </div>
    I have XXXed out a couple of details in the above example.
  • mrptamrpta
    edited May 2011
    Hi @TiGR - finally got around to deploying a "sandbox" version of this.

    I've uploaded and installed vanilla, I've uploaded the vforg theme and I've added the {asset name="Foot"} to the default.master.tpl file.

    Have a look below and try to use the highlight to quote:

    http://paulatkinson.co.nz/vanilla/discussion/1/a-topic-of-no-importance-#Item_2
Sign In or Register to comment.