During debugging, I don't want to deal with the constant messages going out to member_menu_queries.php (which checks for mail, visitors, etc.) How do I turn it off?
Thx,
Tac
During debugging, I don't want to deal with the constant messages going out to member_menu_queries.php (which checks for mail, visitors, etc.) How do I turn it off? Thx, Tac |
Answering my own question, so I'll be able to find it when 7.04 comes out, to turn off the frequent member_menu_queries.php ajax call, add if (0) in front of the
$.get(this.page_url, { action: "get_bubbles_values", bubbles: sQueryParam, _r : _sRandom }, function(sData) on line 290 of \templates\base\extra_top_menu.html
There's probably a more elegant way to do this, by using a custom template, or turning off update_bubbles by commenting out the setTimeout call around line 370.
It seems like the actual call for the $.get could be .getJSON (http://api.jquery.com/jQuery.getJSON/), to save the eval() call, although I don't know enough about what that script returns to be sure that this would be a better approach. Tac |