Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
AjaxQuote
AjaxQuote
0
Comments
I moved the line that adds the CSS to the line before it checks to see if a valid user is logged in...
$Head->AddStyleSheet("extensions/AjaxQuote/ajaxquote.css"); if( $Configuration["AJAXQUOTE_LOGINREQUIRED"]===false or $Context->Session->UserID > 0 ){
That did the trick, not sure if there's a better way but it'll do until it's fixed properly.
Posted: Tuesday, 27 March 2007 at 12:57AM (AEDT)
However, the quote CSS in vanilla is, by default, very basic, and you need to have one of the quote extensions to make it all boxed and pretty. An oversight in the current AJAXQuote extension that I spotted yesterday is that quotes will not be properly formatted unless a user is logged in. Basically, the line that adds the ajaxquote.css file to the header needs to be moved out of the if( $Configuration["AJAXQUOTE_LOGINREQUIRED"]===false or $Context->Session->UserID > 0 && isset($Head)){ condition.
BHR4CE1, I can't make head or tails of your comment as it seems to me to say that it's quoting the comment you're asking it to quote. Could you be a little more clear?